As part of the original Facebook Pixel, Facebook gives their advertisers the option to add additional "events" to the pixel. 


Have a look here to see what "events" are. 


Since our PowerPixel is essentially the same as your Facebook Pixel along with an extra data layer (you can read more about this here), you can include custom events into the PowerPixel as well.


Please note: This guide is for advanced users only. We do not recommend setting this up if you're not sure what you're doing.


First off, here's an example of a standard PowerPixel code:


 

<!-- ConnectRetarget PowerPixel -->
<script>
var CRConfig = {
    'pixel_id':'PzVik09vk0xij6Kk5G4jNvDaKTdY25sPXTMhc64UaLUgNJycN8BzWZwzvPO3PGf/u8asL3R4kj2v8reuXPzaSQQTLHpejtef9JLh6l5lVzjctJGLwfGmuzNY5iBfwJmL|qFGnPC 0HwjNJ9 VkM9OlonMxNhSohutGdrFhSXmMTM=',
    'init_fb':false,
    'fb_pixel_id':'323756101117134'
};
</script>
<script src='//connectio.s3.amazonaws.com/connect-retarget.js'></script>
<noscript><img height='1' width='1' style='display:none' src='https://www.facebook.com/tr?id=323756101117134&ev=PageView&noscript=1' /></noscript>
<!-- End ConnectRetarget PowerPixel -->

 

In order to add your own custom events to the PowerPixel (things like "Purchase" etc), you'll need to add the following code AFTER the PowerPixel.

 

<script>
   <!-- Facebook's custom events would be added here ->
</script>

 

So, let's say you want to add a Purchase event to your PowerPixel. That would mean you'd add the following code AFTER the PowerPixel:

 

<script>
    fbq('track', 'Purchase', {value: '17.00', currency: 'USD'});
</script>

 

Altogether, the code would look like this:


 

<!-- ConnectRetarget PowerPixel -->
<script>
var CRConfig = {
    'pixel_id':'PzVik09vk0xij6Kk5G4jNvDaKTdY25sPXTMhc64UaLUgNJycN8BzWZwzvPO3PGf/u8asL3R4kj2v8reuXPzaSQQTLHpejtef9JLh6l5lVzjctJGLwfGmuzNY5iBfwJmL|qFGnPC 0HwjNJ9 VkM9OlonMxNhSohutGdrFhSXmMTM=',
    'init_fb':false,
    'fb_pixel_id':'323756101117134'
};
</script>
<script src='//connectio.s3.amazonaws.com/connect-retarget.js'></script>
<noscript><img height='1' width='1' style='display:none' src='https://www.facebook.com/tr?id=323756101117134&ev=PageView&noscript=1' /></noscript>
<!-- End ConnectRetarget PowerPixel -->

<script>
    fbq('track', 'Purchase', {value: '17.00', currency: 'USD'});
</script>

 

It's really important that you add the custom events to the bottom of the PowerPixel. If you would do it the other way around (first the custom events, then the PowerPixel) it would not work.



How to get your support tickets resolved faster


Statistics have shown us that the more you tell us when you report an issue, the faster we solve that ticket. So...


1 - If you have screengrabs, please include them. A picture is worth a thousand words.

2 - If you have recorded a video showing the issue you're having, please include that as well. A video is worth a million words.
We recommend a free service called Loom for creating these videos. (this is a link to https://www.useloom.com/)

3 - To speed up ticket resolution, follow these useful tips How to Write the Perfect Support Ticket (That Gets Results Fast)