Fixed segments are useful if your website’s URL structure does not allow for segmentation based on specific URLs or URL patterns.
- Pages whose URL does not contain unique identifiers
- Certain container tags
How do I create a fixed segment?
Go to the “Audience” section of your dashboard:
1. Determine whether the page defines a visitor type of interest (“Segment Visitors”) or represents a completed goal (“Track Conversions”).
2. Create a segment that will be fixed to the page or pages of interest. Name the segment so that you can easily recognize it—for example, "shoes."
3. Find a link that reads “copy ID to clipboard” below the space where you entered your segment name. This pulls a unique alphanumeric segment ID to be used as the URL rule placeholder for the segment you are creating (and later to prepare your script).
For now, you will use this ID under Segment Type and Rule. Making sure that you’ve selected “URL” as the segment type, enter a “+” and then paste the segment ID number in the corresponding field. Here’s an example:
4. Enter your desired Duration—the number of days that the qualifying visitor should remain an active part of the segment.
Prepare the script
Below is the script, called a segment pixel, that you will need to use to tie the pages in question to your fixed segment. Update the segment pixel by replacing the segment_ID in quotes with the unique segment ID we generated for you.
Using the segment ID from the example above, the completed script looks like this:
Activate the segment pixel
Add the segment pixel to the HTML of the specific page(s) of interest, right after your AdRoll Pixel but before the closing </body> tag.
Track conversions with fixed segments
Fixed segments work really well to track conversions. If you want to use the segment pixel to fix your conversion page to your conversion segment, make sure you choose “Track Conversions.”