Why isn't Google Analytic reporting matching AvantLink reporting?


There are several reasons why Google Analytics numbers may not match Avantlink's reporting.

1. Affiliates are able to use affiliate links on a number of different outlets, not just their websites. Therefore, if Google Analytics is using referrer URLs to track click-throughs they wouldn't be able to know whether all of those click-throughs are from the affiliate channel.

2. We track sales based on an associated cookie that is set on our domain as well as the Merchant's domain. Therefore, if a customer clicked an affiliate link (which we redirect to the merchant website) and then closes the browser or navigates away from the merchant website and then returns weeks later to make a purchase that sale would still be an affiliate sale (as long as the affiliate cookie is still live). Therefore, I am not sure how Google Analytics associates a click through to a sale, but if it isn't based on a cookie that sale might not be attributed to the an affiliate sale.

3. Affiliate links are first directed to avantlink.com before we redirect to the Merchant. This may throw Google Analtyics off if they are associating click-throughs with the referrer URL.


1. We can add 'utm' parameters to incoming affiliate links that might be helpful for Google Analytics to track sales more accurately. If you would like to do this please email support@avantlink.com.

2. Use "forward" reporting period (aggregate / longer reporting periods) -- e.g. if you looked at the data for the week, you would see the Avantlink click from tuesday and the sale on Sunday as within the same period and have more closely aligned data.

3. Setup GA to track AvantLink conversions as a custom event tracking, then you'll have that data right in your dashboard. There are a number of ways to do that; see Google Analytics how-to guide here to get started:  https://support.google.com/tagmanager/answer/6164990?hl=en

Specifically: "Set custom dimension values from the data layer"

It's complicated, but for 100% accuracy, you'll want to change that to basically listen for our 'ptcfp' pixel in your DOM which is, basically the callback to our server which reports the sale. If you capture that and report to GA each time, it should be 100% matching.

// start psuedocode

//set flag to 0
var isAvantLinkSale = 0;

//iterate through imgs
var imgs = document.querySelectorAll("img");
for(var i = 0; i < imgs.length; ++i){
var img = imgs[i];
//check for ptcfp if img.indexOf("ptcfp") > -1) {
// set flag to 1
var isAvantLinkSale = 1;

// Here: hook to GA per their instructions
// may require push to datalayer etc.

// end code


Have more questions? Submit a request