Our Affiliate campaign lets you choose a link for your advocates to share, just like the Share campaign, but with the added benefit of conversion tracking.
This means that beyond tracking clicks and views, you can now see how many people took action (e.g., signed up, applied, bought) because of your advocates, and reward them accordingly.
Use case example
Say you want to increase newsletter signups. Your advocates share a signup link. You can already track who shared it and how much traffic it brought in. But without conversion tracking, you won’t know how many actually signed up.
By adding Ambassify’s conversion pixel to your site, you can now track these signups and reward the correct advocate for each conversion.
Setting up the conversion pixel
Create a Share or Affiliate campaign.
Scroll to the bottom and enable conversion tracking by ticking the checkbox.
You’ll now see the conversion pixel script. (It’s the same for every campaign.)
Where to find your pixel again
Go to your campaign overview.
Click "Conversions" in the left-hand menu.
You’ll find the pixel script and a list of all recorded conversions here.
What you need to do now is copy it and paste it on a page of your website inside of the page head tag.
IMPORTANT: Once someone visits this page, a conversion will be tracked in Ambassify, and the advocate whose shared link was last used will be awarded the points. We recommend placing this pixel on a confirmation page or similar to prevent getting too many conversions. (For example, on the thank you page of your newsletter signup.)
That way, it will only track a conversion after someone completes the desired interaction on your page.
If you do not have a dedicated confirmation page that only gets loaded when a conversion should be triggered, you can look into adding custom behavior below.
Adding custom behavior
From this point forward, things get a bit more technical so you might need some help from a web developer.
The conversion pixel as it is available from the Conversions tab of a campaign will track a conversion when it is loaded. This is useful when you have a thank you page on which you can place the pixel and it makes it very low effort to install the pixel.
However if you would like to track conversions when something dynamic happens on your page, such as when a button is clicked, you will need to modify the script slightly.
In most cases this will involve some co-operation of your web developer.
The pixel will generate a conversion within Ambassify every time the ambt('conversion')
line of the script is called. If you would not want to generate a conversion every time the script is loaded, but rather based on some event you can move that line into the event handler for your specific use-case.
An example that will track a conversion anytime a classic form submit button is clicked:
function trackConversion() {
ambt('conversion');
}
document
.querySelector('input[type=submit]')
.addEventListener('click', trackConversion);
Enriching the conversion data
By default the conversion tracking is able to track when something happened and where it happened and we will show this data in the administration panel. Depending on your website's capabilities, it's also possible to tell the conversion tracking script who visited a specific page.
Going back to the newsletter example, you could read the data someone filled in in the subscription form and pass it to our script. This way, the Ambassify backend could also show you who signed up.
To make this possible, you will need to make some changes to your conversion script.
Replace the call to ambt("conversion")
(inside the req square in the image above) With the code outlined below. Replace the givenName
and familyName
With code that fills in the right name, you are ready. If you do not have the first and last names separately, it's also possible to use name
instead.
ambt('conversion', 'ViewAction', {
agent: {
givenName: 'John',
familyName: 'Doe'
}
});
How conversion tracking works behind the scenes
Understanding the logic behind conversion attribution helps interpret results accurately.
When someone (Visitor X) clicks a shared link from a user (User Y):
Ambassify stores referral data (user ID, campaign ID) in cookies for up to 2 years.
If Visitor X returns later and triggers a conversion, Ambassify checks the stored data and attributes the conversion to the original advocate.
Important notes:
If Visitor X later clicks a different advocate's link, the referral data is overwritten.
If the conversion happens on another page, the campaign/user attribution still uses the latest referral info in cookies.
Modern browsers may limit or delete cookies, which can affect tracking reliability.
Example workflow:
You launch Campaign Z for a job opening.
Advocate User Y shares the campaign.
Visitor X clicks and lands on your site.
Ambassify stores User Y and Campaign Z in a cookie.
X applies via your form → a conversion is logged.
Conversion is credited to User Y and Campaign Z.
Edge cases:
Visitor converts on a different page: Attribution still ties back to the original campaign and user.
Delayed conversion: If the cookie remains, Ambassify will still log and credit the conversion correctly, even if days or weeks later. Our Affiliate campaign lets you choose a link for your advocates to shar,e like the Share campaign, but as an extra, it also enables you to track conversions for those shares.