How do i track clicks using facebook pixels? - facebook

I've been re-reading this page and it just seems so vague on how to help me. I have a newsletter button I am trying to track clicks on through facebook pixels but facebooks documentation and lack of proper testing is frustrating me.
Here is the documentation I am reading
https://developers.facebook.com/docs/facebook-pixel/events-advanced-use-cases/v2.8
If I read this correctly, to track a single button I have to install code in three different sections? They don't specify the sections either, so I'm assuming they go in the order they displayed it (viewContent goes in the header, button id goes in the body of the page, and the final fbq tracking goes in the footer).
If anyone has a more simple approach to this or can explain this in a better way I would greatly appreciate it. Adding code in three different sections and creating multiple heads just to track different things on different pages seems like a lot more work than I need to be doing.
Thanks in advance

Related

confluence display content by user

I am trying to get specific content on a confluence cloud wiki to display content based on a specific user. The scenario here is that there are links on a page but only 1 should display, the one that displays is based on whom ever is logged in.
I have been told how a macro is the way forward, but I have read the documentation and I am at a loss. I do not understand what I have to do or how to write a confluence macro. could someone help me out with either an example or some links? I have searched like crazy, but maybe i am not asking the right questions but hopfully you can all help me out?
There's a plugin for this:
https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility
But I'm not sure how thoroughly it hides the content. It might still be visible if users view the page source. If you're trying to hide content which needs to be really protected, you'll probably need to do something else.
Depending on how many users are going to be using the page, you could also just make separate spaces for them, add the permissions to those spaces, and then use a page-include on your "main" page to display the content. If they don't have access it shouldn't show up. You might experience some formatting issues with that solution, however.
Finally, you could grab the username with jquery and display stuff based on that. This solution will be pretty easy if you are familiar with javascript/jquery.
Edit: Here are some helpful resources on how to use javascript and jquery within confluence:
https://confluence.atlassian.com/display/CONFKB/How+to+Use+JavaScript+in+Confluence
https://developer.atlassian.com/confdev/confluence-plugin-guide/writing-confluence-plugins/including-javascript-and-css-resources

Page pagination issue in Drupal website

I have an issue in drupal website ( http://www.perfectchoice.ae/properties-browse/ ) when I go to click on 2nd page number then no property comes there.
I don't have knowledge about Drupal. Looking for someone to help me please.
Page parameter is working:
http://www.perfectchoice.ae/properties-browse/?page=3
So some other is causing the problem. When you move to some page and it doesn't show anything try removing URL parameters one by one until you figure out which one is causing the problem. But in any case you will need some Drupal knowledge to solve this.
With the very less information provided in the description, it is difficult to figure out the issue/fix.
One probable reason would be your views is not getting displayed on the URLs other than 'properties-browse'. You need to make the visibility settings of the main block to 'properties-browse*'
Good Luck!!!

How to create a custom button, specifically the exact button from Facebook sign up

First of all, go to Facebook. Then make sure you're not logged in. When you log out of Facebook it will bring you to the log in/sign up page. At the bottom of the Sign Up section, after the user has filled out their information, there is a green button with rounded edges that says "Sign Up".
What I want is to create that exact button on my form in Visual Basic. I've been trying to create a form that looks almost exactly like the Facebook sign up page, just a little different. I have a lot to do still. But so far, this is what I have: http://tinypic.com/r/2zz1cwm/8 (Sorry I can't upload pictures in my posts here yet, requires 10 reputation points. Soon enough though. For now, I have to upload the pictures to tinypic, then get the url and post it here.)
The button I made was very difficult for me to make, I had to go on YouTube to find out how to make a rounded button, and it looks horrible, absolutely horrible. I cannot use a button looking like that. You can see the pixels! :(
So what I'm trying to learn is how to make a button that looks exactly like the Facebook sign up button. Any suggestions? And please, don't just give me the code to do it. Explain it a little so I know what I'm doing exactly. I don't want to just take code and put it in my program and be done with it. I want to know what I'm doing. Thank you very much for reading my question and for lending a hand. I appreciate any and all help. Have a wonderful day.
http://www.vbforums.com/showthread.php?611776-RESOLVED-round-button. hope this helps you out . you should download a few vb pdf's from google that will help you a lot to get the basics .
Solved my own problem.
Use a picture box instead of a button. Double click the picture box and add the code as if you were for a button. For example, when you click my picture box it opens form2. Because I put form2.show() in the button_click section.
Hooray for figuring it out on my own! Took me long enough. Two days..

Is it possible to get the page number and line number in iPhone

Is it possible to get the page number and line number of particular text from doc/rtf/pdf in iPhone sdk?
Can QLPreviewController or UIDocumentInteractionController be of any help?
EDIT:
I am trying to create something like iAnnotate,Sente. Application where in user will be able to select some text and can add comments for selected text.
I have gone through the fastpdfkit api's which seems the only api which can be of some help.
Can you guys guide me in the right direction.
https://github.com/brow/leaves
Go with this link, it will help you for PDF reader and you can see there how I am doing total page and current page.
If you're looking at doing this with PDF, RTF and DOC it might be best to approach it in a different way as they are all very different formats.
Instead - if you consider attaching comments to an area of the page as opposed to a specific text selection then all you need to know about the document is which page you're looking at. A much easier task. Then you get the user to 'drag out' a comments box for an area of that page. Think of them more like sticky-notes.
This way you can add comments to images as well as text and it allows a much more flexible system for support of other file formats in the future.
I realise this isn't I direct answer to the question, but thought it relevant enough to post.

iPhone SDK: Ideas on how to implement a help facility for application

We we wondering what are some ways developers have added a help function to their apps. What are some techniques people have used?
One way we were thinking of is to us UIWebView to display a HTML file with help instructions.
Thoughts appreciated.
I'm using UIWebView right now which pretty much contains all the help in a single page, along with some JQuery things to display popups, etc. But I like the way iCab Mobile (et al.) are doing things which is a sectioned UITableView with each row a separate topic or section within their overall help information (complete with icons...) then in their bundle they have each section in its own html file, organized by localization.
Another thing in my queue for the next release is to provide a dynamic "News" view. The rough idea is as follows... I have on my server a file or CGI where I can place small bits of news I'd like to push out to users. On startup, my app checks for network availability and if present, start a thread to see if anything has changed on the server since last updating the News data. If changes present, post an alert letting user know, and asking if they'd like to read it now. At that point, the latest news is already downloaded and cached, so they can simply read it later if they want, and I won't post anymore alerts until the server file changes again. (And one could add a preference/setting to disable these alerts.)
I'm thinking this would be a good way to let people know that some nasty bug is known and fixed and an update is sitting in the queue, solicit beta testers, promote upcoming features or other apps, etc. I can see where constant alerts everytime I've got something new to promote would get annoying, so having a setting to disable them means the user never has to read them unless they want to. Although some kind of override to warn of recently discovered/fixed bugs seems sensible.
FWIW, the author of Mover+/Mover has just started doing a similar thing, though I think Emanuele is perhaps only showing one Notelet at a time, whereas I envision a bit more of a history (shown in UIWebView) until I decide to age stuff off the bottom of the stack.
I'm using a scroll/page view to show several images containing small notes. Each image then tells the user about the more advanced functions on a specific part of the app.
In my opinion the help should only contain information that isn't a 100% relevant for the use of the application. It should be things the advanced user should use to make more use of the app. It should contain gold for the power users. The "basics" should be so obvious that no help would ever be needed. If that's not the case, I think, you've failed as a developer on the iPhone platform.
(Here's a screen shot from my demo app)
I'm currently creating a fairly complicated app. I'm thinking of doing help as a semi-transparent overlay - help in text form is hard to swallow for users; it's much more helpful to just point at stuff and say "this does that".