How to add tracking to a campaign (custom HTML)

Modified on Thu, 05 Jan 2023 at 08:36 PM

A tracking pixel is an HTML code snippet, which tracks a user's behaviour on a webpage.

  • You can add HTML tracking to Audience Republic campaigns
  • Audience Republic does not support floodlight tags


Before you get started

  • You'll need the full HTML code to input the pixel on the campaign. Facebook calls this the 'pixel base code'. Example of Facebook pixel code below:
<!-- Facebook Pixel Code -->
<script>
  !function(f,b,e,v,n,t,s)
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  n.queue=[];t=b.createElement(e);t.async=!0;
  t.src=v;s=b.getElementsByTagName(e)[0];
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  'https://connect.facebook.net/en_US/fbevents.js');
  fbq('init', 'INSERTPIXELID');
  fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
  src="https://www.facebook.com/tr?id=INSERTPIXELID&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->

 How to add tracking pixels to your campaign

  • Navigate to the Campaigns menu
  • Find the campaign you want to add the pixels to and select Edit campaign
  • In Step 1, scroll to the bottom of the page and click Custom HTML to expand this section and reveal 2 text boxes: HMTL Head and HTML Body.
  • Insert the code into the HTML Head text box
  • You can insert more than one pixel into the HTML Head, simply add the second pixel code to the next line of text.
  • Once all code has been inserted to the box, click Next for Steps 2 - 6 to save your changes.



Still need help?

Contact us at support@audiencerepublic.com 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article