Track Facebook Pixel on a Thank You Page of the Offer

With Zeustrak it is possible to add an iframe to the offer "thank you page" when you need to track one or more Facebook pixels and/or currency and event value after the conversion happens.


When using a lander before the offer page you need to do the following:

  1. Create more lander parameters for additional Facebook pixels and parameters for currency and event value in your Traffic Source template:
  2. Update lander links to https://{trackingdomain}/click/?origin={origin}&domain={trackingdomain}&fbpixel1={lander.param:fbpixel1}&fbpixel2={lander.param:fbpixel2}&currency={lander.param:currency}&value={lander.param:value}
  3. Update the offer link. You should use 5 additional parameters to make this work, so add something like ?sub1={click.var:domain}&sub2={click.var:fbpixel1}&sub3={click.var:fbpixel2}&sub4={click.var:currency}&sub5={click.var:value}
  4. When creating a campaign and choosing the traffic source template from step 1 as a traffic source; at the bottom of the General tab, you will find the Lander parameters section, where you can type the values for the Facebook pixel IDs, currency code and the value
  5. Paste this iframe pixel code on "thank you" page of the offer

    <iframe src="https://{sub1}/__thankspage?pid={sub2},{sub3}&cur={sub4}&value={sub5}&ev=Purchase" style="width: 0; height: 0; border: 0; border: none; position: absolute;"></iframe>


If you run your campaign directly to the offer you need to do the following:

  1. Create a new offer template or edit an existing one.
  2. Update your offer URL with the two additional parameters and tokens https://offerurl.com?domain={trackingdomain}&pid={var1}
  3. Edit your traffic source template or create a new one.
  4. In that traffic source specify the Var1 variable with the following:
    Parameter: fbpixel
    Name: FB pixel
    Placeholder: type in your Facebook pixel id
  5. Choose that traffic source template and the offer template when setting up the campaign.
  6. Paste this iframe pixel code on "thank you" page of the offer

    <iframe src="https://{domain}/__thankspage?pid={pid}&ev=Purchase" style="width: 0; height: 0; border: 0; border: none; position: absolute;"></iframe>