Pixel Activation Guide through your website header

What is the RollWorks Pixel?

The RollWorks Pixel is a JavaScript code snippet that is uniquely generated for your RollWorks account when you sign up.

This JavaScript code snippet should be placed in the header of your website to track all visitor traffic on all your website pages. The Pixel is designed to load asynchronously without interfering with any other elements on your website, and without slowing down the performance of your website.

Alternatively, the Pixel can be activated using Google Tag Manager (GTM). Go to this Google Tag Manager Activation Guide if you are going to activate your Pixel using this method.

Do I need multiple Pixels if I have multiple websites?

If your company has multiple websites, you should create an additional advertiser profile for each website. RollWorks will provide you with an individual Pixel code for each of your advertiser profiles. 

How do I activate my Pixel?

Step 1. Find and copy your Pixel code

To find your Pixel code login to the RollWorks platform:

      1. On the left side navigation bar go to 'Identify' > 'Ad Audiences'
      2. A 'Pixel Setup Required' red banner will appear at the top, click 'Setup Pixel'
      3. If you haven't yet, select a cookie consent banner and click 'Save'
      4. If the red banner does not appear go to 'Identity' > 'Ad Audiences' > 'View Pixel'
      5. Click 'Copy' to retrieve your unique Pixel code

Once you find and copy your Pixel the next step is to add it to your website.

How_to_find_your_Pixel.gif

Step 2. Activate the Pixel by adding it to your website header

Once you have copied your Pixel code from the RollWorks platform you will be able to activate the pixel so that it starts tracking your website traffic. Once you activate the Pixel it may take a few hours to start firing.

How do I activate my pixel by adding it to my website?

After you copy your unique Pixel code from the RollWorks platform you can go ahead and add it to your website. 

Paste the code snippet in your website's HTML code in the global header like in the example below.

<!DOCTYPE html>
<html>
<body>
<header>
< Insert Your Pixel Code here >
</header>
<main>
</main>
<footer>
</footer>
</body>
</html>

Alternatively, you can paste the code right above the end </body tag>, however, we strongly recommend adding the Pixel to the global header to ensure it fires across all the pages of your website.

After you add the Pixel to your website's global header, it should fire across every page on your website. We strongly suggest that after placing the Pixel on your website you confirm with your web developer that the Pixel is firing on all pages to ensure that the RollWorks platform is capturing all the traffic and activity on your website.

If your website has content that takes visitors to different domains (for example yourdomain.com vs content.yourdomain.com), make sure that all those pages are tagged with the Pixel as well. If this scenario applies to you, you may need to add your RollWorks Pixel to those pages separately. 

How can I troubleshoot if my Pixel is working?

If you are encountering issues with your Pixel or your Pixel is not active, go to this Pixel troubleshooting article to find some tips and troubleshooting steps you can take.

How can I pass additional visitor data to the RollWorks Pixel?

If your site collects visitor cookie data, you can pass this additional information along to your RollWorks campaigns.

Place the following JavaScript after your RollWorks Pixel. In the following example, unique_internal_visitor_id represents your code for your cookie data. 

We recommend testing the code in different browsers by executing the JavaScript in your developer console.

To make sure it is working correctly, test adroll_custom_data.unique_internal_visitor_id in the developer console. This should then export the same cookie value as the original cookie. 

Once you've successfully set it up, you'll soon see this value in your Granular Conversion Reports. 

Was this article helpful?
0 out of 0 found this helpful