By Barnaby Skinner+
Really simple question: where would I add code to a specific page header? I can see in the settings I can add code to the global header, but can't see how to do it for a single specific page. It's related to facebook pixel tracking
If I'm using PL5 with PL5 Framework, what is the best way to include Google Analytics code?
I know we have an Advanced section in Settings but that just allows for Header scripts. Should we also have a footer (after body) section to place scripts like GA.
I would like to add Google Analytics click tracking to the buttons on my site. I use the Pagelines shortcodes for the buttons. I was able to add the necessary header script easily using Custom Scripts.
How can I insert the following onclick option to my buttons?
onclick=”trackOutboundLink(‘http://www.domain.com’); return false;"
If not, where should I add it?
I found this solution initially to this problem of placing tracking pixels on an individual page.
However, the Pagelines Customize plug suggested does not work. I've already designed nearly my entire site with content and I don't know what installing a base theme is going to do to everything I've done.
Is there another solution or an update to the Paglines Customize plugin that I'm not seeing?
Just for Information, the initial problem is:
The ability to place a tracking pixel on an individual page to track a paid media buy. It can't be placed in the <head> of all pages or all the data will be worthless. It just needs to site on one single page.