Fixed Audience

A Fixed Audience allows you to define an audience without relying on your website's URL structure. Instead of matching a URL pattern, you place a specific snippet of code on the pages you want to track. When a visitor loads a page with this snippet, they are added to your Fixed Audience.

This method is useful when a page's URL is not unique or when you want to track actions that don't correspond to a specific page view.

 

How It Works

The process involves two main parts:

  1. Create an Audience in AdRoll: You'll generate a unique ID (a segment_id) for your audience.
  2. Implement a Code Snippet: You'll place a small piece of JavaScript containing that unique ID onto the specific pages or actions you want to associate with this audience.

Before you start

Your AdRoll Pixel must be active. The Fixed Audience snippet works in conjunction with your main AdRoll Pixel. Ensure the base Pixel is installed and active on all pages of your website.

 

When to Use a Fixed Audience

Use a Fixed Audience to track visitors in situations where URLs are not reliable identifiers. This is ideal for:

  • iFrames: An HTML element (<iframe>) that embeds another webpage or document within the current webpage.
  • Pages whose URL does not contain unique identifiers: Webpages whose URLs lack distinct identifiers to uniquely differentiate them from other pages.
  • Certain container tags: HTML elements with opening and closing tags that group other elements, such as <div> or <section>.
  • Track conversions: The process of monitoring user actions or goal completions on a website to measure marketing effectiveness.

 

How to Set Up a Fixed Audience

Part 1: Create the Audience in AdRoll and Get the ID

  • Log in to AdRoll and click Audiences in the left navigation menu.
  • Click New Audience.

    Formatted and Fitted (26).png
  • Under Audience Type, select URL Visited. (Note: This seems counterintuitive, but it's the correct type to generate the necessary ID for a Fixed Audience)
  • Click Copy ID to clipboard - this will copy a unique alphanumeric audience ID.

Screenshot 2025-05-30 at 11.51.31 AM.png

  • In URL Visited field, type a plus (+) and then paste the copied ID.

copypaste.png

  • Enter your desired Audience Name.
  • Enter your desired Audience Duration - the number of days that someone remains an active part of the audience. If you aren't sure, read this article.
  • Specify if this is a Conversion Audience. If you aren't sure read this article.
  • Click Create Audience.

 

Part 2: Implement the Audience Snippet 

Now, you'll place a snippet of code on your website. This code must fire after your main AdRoll Pixel. Choose one of the following methods.

 

Option A: Add the Script Manually to Your HTML

Below is the script that you'll need to use to tie the pages you choose to your fixed audience. Update the audience pixel by replacing the segment_ID in quotes with the unique ID we generated for you.

  • Create the following script to tie the pages you choose to your Fixed Audience.
  • Replace segment_ID with the unique Audience ID generated in AdRoll.
  • Add the audience pixel to the HTML code of the specific website page(s) you want to track through this Fixed Audience. This code should be added immediately after your Pixel but before the closing </body> tag.
  • Adding the Audience Pixel to your HTML code will activate your audience pixel.

 

Option B: Implement with Google Tag Manager (GTM)

We can utilize Google Tag Manager (GTM) to implement tracking for a Fixed Audience in AdRoll. The first step is to create a "Fixed Audience" segment on the dashboard from the "Website" tab where a unique ID for the segment is generated. Then follow as stated below:

  • Navigate to your GTM account.
  • Go to Tags > New > Custom HTML.
  • Paste the provided code snippet:

  • Replace the segment_ID in quotes with the unique Audience ID generated in AdRoll.
  • Set up a trigger that fires only on the relevant page where you want to track the audience segment.
  • Save the tag and publish the changes in GTM.

Code firing order

This code only fires after the AdRoll base code, and once the above steps are completed, we will track the users who visit the URL and see the data on the respective segment.

 

Troubleshooting

  • Ensure that your Pixel is active and fires on every page of your website. The Pixel can only detect activity on a page if it is active on that page. Learn more about how to troubleshoot your Pixel in this article.
  • Verify that you added the correct Audience ID to your Audience Pixel javascript snippet code.
      • Go to Audience > Website and find the audience that isn't populating.
      • Click Copy ID to Clipboard to copy the unique ID that identifies this Audience.
      • Find your Audience Pixel in the HTML code of your website page(s) and paste the ID after adroll_segments.
  • Verify if the Audience Pixel is capturing audiences properly: Use our Chrome Extension PixelPal to view if the Audience Pixel is firing correctly while you visit the pages that are part of your Fixed Website Audience.
Was this article helpful?
2 out of 3 found this helpful

Articles in this section

See more
Chat with a support agent
Monday to Friday 24/5 UTC
Send a support email
Monday to Friday 24/5 UTC