Email Retargeting for Advertisers - Inclusion Pixel
Overview
Our tag is the preferred integration method. If for some reason, you can’t use this, you may integrate using our inclusion pixel.
Calling our pixel
To include a user in a campaign using our pixel, load the following pixel in the user’s browser, with the parameters replaced:
<img border="0" width="1" height="1" src="https://api.traversedlp.com/retargeting/v1/include.gif?advertiserId=YOUR-ADVERTISER-ID-HERE&campaignId=YOUR-CAMPAIGN-ID-HERE"/>
Advanced users may use the advertiserProperties
property to pass additional data. It should be a URL-encoded, serialized JSON object or have each property set like advertiserProperties.foo
. If your advertiserProperties are {foo: 'bar'}
, passing it in the URL would look like one of these:
Using serialized, URL-encoded JSON:
<img border="0" width="1" height="1" src="https://api.traversedlp.com/retargeting/v1/include.gif?advertiserId=YOUR-ADVERTISER-ID-HERE&campaignId=YOUR-CAMPAIGN-ID-HERE&advertiserProperties=%7B%22foo%22%3A%22bar%22%7D"/>
Using advertiserProperties.propertyName
:
<img border="0" width="1" height="1" src="https://api.traversedlp.com/retargeting/v1/include.gif?advertiserId=YOUR-ADVERTISER-ID-HERE&campaignId=YOUR-CAMPAIGN-ID-HERE&advertiserProperties.foo=bar"/>
Exclusion Pixel
To exclude the user, you can call our exclusion pixel with the same advertiserId
and campaignId
parameters you called the inclusion pixel with. The exclusion pixel does not support advertiserProperties
.
<img border="0" width="1" height="1" src="https://api.traversedlp.com/retargeting/v1/exclude.gif?advertiserId=YOUR-ADVERTISER-ID-HERE&campaignId=YOUR-CAMPAIGN-ID-HERE"/>
Short Urls
If you are trying to be wary of adblockers, you can use our short-url syntax, using the path /s1ri.gif
and replacing advertiserId
, campaignId
and advertiserProperties
with a
, ca
and ap
, respectively.
Please note that short URLs only accept URLencoded JSON for advertiser properties. They do not let individual properties to be set using the long form ap.propertyName
syntax.
<img border="0" width="1" height="1" src="https://api.traversedlp.com/s1ri.gif?a=YOUR-ADVERTISER-ID-HERE&ca=YOUR-CAMPAIGN-ID-HERE&ap=%7B%22foo%22%3A%22bar%22%7D"/>