Title: tracking conversion events
Last modified: September 10, 2016

---

# tracking conversion events

 *  Resolved [twhitaker](https://wordpress.org/support/users/twhitaker/)
 * (@twhitaker)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/tracking-conversion-events/)
 * Hi – I’m trying to understand how the plugin tracks conversions. If I have the
   pixel installed on my /cart page for example. When I go to create an add select
   conversion “add to cart” I get the following error message:
 * “We haven’t received any activity from your pixel yet. You must properly install
   the pixel base code and at least one event code to optimize ads for conversions.”
 * Do I still need to add the event code on the cart page? I thought the plugin 
   took care of listing all potential events within the base code of the pixel?
 * Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Kellen Mace](https://wordpress.org/support/users/kellenmace/)
 * (@kellenmace)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/tracking-conversion-events/#post-8247333)
 * twhitaker,
 * This plugin inserts the code you enter into the metabox fields, nothing less 
   and nothing more. So you could start with a block of code like this: [http://jonloomer-nrwebdevelopment.netdna-ssl.com/wp-content/uploads/2015/07/Facebook-Upgraded-Pixel-Structure.jpg](http://jonloomer-nrwebdevelopment.netdna-ssl.com/wp-content/uploads/2015/07/Facebook-Upgraded-Pixel-Structure.jpg)
 * That’ll track the basic PageView event. If you also wanted to track the AddToCart
   event, underneath the fbq(‘track’,’PageView’); you can add this line:
    `fbq('
   track','AddToCart');`
 * …and the same goes for adding any of Facebook’s other standard events to the 
   page.
 *  [Kellen Mace](https://wordpress.org/support/users/kellenmace/)
 * (@kellenmace)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/tracking-conversion-events/#post-8247346)
 * One more note:
 * Just be sure you’re using your own pixel ID in the code above – see the two highlighted
   areas in this image: [http://jonloomer-nrwebdevelopment.netdna-ssl.com/wp-content/uploads/2015/07/Facebook-Upgraded-Pixel-Base-Code.jpg](http://jonloomer-nrwebdevelopment.netdna-ssl.com/wp-content/uploads/2015/07/Facebook-Upgraded-Pixel-Base-Code.jpg)
 *  [marcoviy](https://wordpress.org/support/users/marcoviy/)
 * (@marcoviy)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/tracking-conversion-events/#post-8344239)
 * Hello Kellen,
 * I was testing your plugin and it actually inserts the pixel code inside the <
   head> section of a page. But I am a little confused here, perhaps you can please
   help me: The Pixel Code Base, which should be in all head section of every page.
   I installed it through Insert Headers and Footers plugin.
 * Now, if I want to install the Event Code on a Thank You page, I can add the Conversion
   Tracking code as shown in your image. My question is: if the base code is already
   on that Thank You page, will your plugin copy again another base code (along 
   with the Conversion Tracking code)? Will that be ok having two repeated codes(
   one with the base code only, and the other the base code with the conversion 
   tracking) in the head?
 * For Event codes, there is another way Facebook gives us, which is adding the 
   event code e.g. [fbq(‘track’, ‘Search’);] just below the <head/> tag of the Thank
   You page (or any other page). Your plugin would be even better if we could have
   an option to choose the method to use for adding event codes.
 * Thanks,
    Marco
 *  [Kellen Mace](https://wordpress.org/support/users/kellenmace/)
 * (@kellenmace)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/tracking-conversion-events/#post-8402516)
 * Hi Marco,
 * Facebook Conversion Pixel is built to output one block of code (base code and
   any page-specific code) per page. If you’re interested in a plugin that inserts
   the base code site-wide allows you to insert standard event code on specific 
   pages, I would recommend using this one: [https://wordpress.org/plugins/pixelyoursite/](https://wordpress.org/plugins/pixelyoursite/)
 * Hope that helps out. Take care,
 * Kellen

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘tracking conversion events’ is closed to new replies.

 * ![](https://ps.w.org/facebook-conversion-pixel/assets/icon-256x256.gif?rev=2922077)
 * [Pixel Cat - Conversion Pixel Manager](https://wordpress.org/plugins/facebook-conversion-pixel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook-conversion-pixel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-conversion-pixel/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-conversion-pixel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-conversion-pixel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-conversion-pixel/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Kellen Mace](https://wordpress.org/support/users/kellenmace/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/tracking-conversion-events/#post-8402516)
 * Status: resolved