How to create and set up a retargeting pixel

To set up retargeting you first need to generate your pixel from the top menu Advertisers -> Tracking & API

Once the pixel is created, replace YOURRETARGETINGPIXEL in the following pixel image and place it on all pages where you would like the pixel to fire.

<img src="//tsyndicate.com/api/v1/retargeting/set/YOURRETARGETINGPIXEL" height="1" width="1"/>

For example if the tracker we generate for you is :
5e2521eb-fffc-4e75-ac81-1c72e4770ga9

Your pixel tracker should look like this :
<img src="//tsyndicate.com/api/v1/retargeting/set/5e2521eb-fffc-4e75-ac81-1c72e4770ga9" height="1" width="1"/>

How to create a campaign using Positive and Negative retargeting

Our retargeting allows you to positively or negatively retarget users.

Once the pixel is set up, you will first need to create a new campaign. Once the campaign is set up, during campaign editing you can retarget all the users you previously captured. Select your retargeting pixel in Retargeting:

To set up negative retargeting (meaning you will target only the users you have not yet captured), just select your retargeting pixel and add “-” in conditions :

How to set up advanced multi-event retargeting

Our advanced multi-event retargeting allows you to track users based on up to 5 dynamic parameters of your choice and you can populate them with any value.

You will first need to create the parameters, then place the pixel tracker on your website where you want the pixel to fire. Simply add up to 5 custom parameters when creating your tracking pixel.

Then append them to your pixel tracker using a query string (? for the first one and the & between all the others).

<img src="//tsyndicate.com/api/v1/retargeting/set/YOURRETARGETINGPIXEL?pageview=<value>&lead=<value>&addtocart=<value>&conversion=<value>&upsell=<value>" height="1" width="1"/>

You will need to dynamically populate the <value> parameters, and you may need help from a developer for this.

Practical example

For e-commerce websites you could track :

  • All users who visited your page :&pageview=<value>
  • All users who registered : &lead=<value>
  • All users who added a product to the cart :&addtocart=<value>
  • All users who converted:&conversion=<value>

You could then create a campaign targeting all users who added a product to the cart but did not convert. Or you could create a campaign targeting all users who converted, and sell a different product to them. 

The possibilities are endless!

If you populate them with “1” or “0” for “yes” or “no” when creating a campaign, then: select your tracker, add the parameter that the retargeting should take into account, and add ==1 or ==0 in the conditions field.

But you also can populate the parameters with any value you want, if you have this information you could populate an &age=<value> parameter, and then only target users over or under 40.

 

How to set up retargeting for an event based conversion

It's possible to set up our TrafficStars pixel tracking for on-page single events such as buttons. 

Here is an example of how you can use pixel tracking on a button: 

var buttonClick = document.querySelector('.buttonClick');
document.addEventListener('click', createTrackingPixel);
function createTrackingPixel() {
var img = document.createElement('img');
img.width = '1';
img.height = '1';
img.src = '//tsyndicate.com/api/v1/retargeting/set/YOURRETARGETINGPIXEL?parameter=[value]';
}

Every website being different we recommend having a developer implement this feature on your website or landing page.

 

Best practices

For retargeting to be successful you need have had the pixel set up on your website or landing page for at least 30 days, in order to ensure that the pixel triggers a minimum number of times for the TrafficStars algorithms to be effective.

Did this answer your question?