Facebook Conversion Pixel Tracking Question

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
spyjournal's picture

I'm looking for some info on how to add the JS script supplied by Facebook for pixel conversion tracking but I cannot find anything about how to implement it on a page by page basis

basically the pixel conversion tracking is a piece of script that needs to be inserted between and of a page
I need the ability to modify it per node not in the php.tpl file so that each page can have its own code as required.

The site in question is D6. are there any modules like Nodeword for meta tags that allow the insertion of a script on a per node basis?

Thanks in advance

Comments

I'd normally put it in the

8thom's picture

I'd normally put it in the node tpl but you could try https://drupal.org/project/cpn

it has to be able to be different for every node

spyjournal's picture

so the node.tpl wont work unfortunately
the code per node looks good - thanks a lot!

For anyone that may find this

Perignon's picture

For anyone that may find this thread from a google hit, there is a module for Facebook Tracking pixels now. https://www.drupal.org/project/facebook_tracking_pixel

Australia

Group categories

Location

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week