BULLET POINTS
- UTM tracking
- After people landing on the landing page, here is where the magic happens.
- Before we changing the Amazon URL, we need different Amazon Tracking IDs for different Channels as the below image is shown.
- It is the time to dynamically attach the Amazon tracking ID at the end of the Amazon URLs on your landing page.
- Checking report is the final step to evaluate your paid ads performance.
Tracking Amazon Revenues Generated by Paid Ads
Last week, I went to Las Vagas to attend a super big event called CES. This is pretty much the first time that I can talk with the clients in person. It was great that I can understand what is the confusions and questions they are facing right now.
Some of them expressed that they are not 100% trusting marketing agencies. They told me that the traffic from paid ads to the Amazon page might be fake people (bot) and they have no way to track the revenues generated by these traffics. This is why I am here to fix it!
So…
Today’s topic is tracking Amazon revenues generated by paid ads
Note: This solution is still in beta, it might have some drawbacks or limits. Just let you know, the coding part won’t share in this blog because it is just too complicated.
So here is the process:
Alright, let’s dive into this process.
1.UTM tracking:
Most people know it and are using it. If you don’t know it, please Google it, there are a bunch of information about UTM tracking out there.
“A UTM code is a snippet of simple code that you can add to the end of a URL to track the performance of campaigns and content. There are 5 variants of URL parameters you can track – source, medium, campaign, term and content. “ – AgencyAnalytics
2. After people landing on the landing page, here is where the magic happens.
When people landing on the landing page, the URL should look like this: www.yourwebsite.com?utm_source=facebook&utm_medium=CPC&utm_campaign=newYearPromotion&utm_term=marketingLovers&utm_content=copy1Img2
Pay attention to the bold part in this above URL. This is the one could tell you where is the traffic come from.
With the help of GTM(Google tag manager), I wrote a code which could do the below things:
- Check the URL if it has the referring snippet
- If it has, extract this value and push it to the data layer
- If it doesn’t have one, push “other” as its value to the data layer
- Making this data layer to be a variable in GTM. In this way, we can use this value in the following steps.
Have you see that utm_source has shown in the variable? Yes, we have successfully push the referring value into the data layer and make it be a variable.
3. Before we changing the Amazon URL, we need different Amazon Tracking IDs for different Channels as the below image is shown.
As you can see, I created 4 different Amazon tracking ID. One for Google, one for email, one for Facebook and the last one is for other channels. If we attach this tracking ID at the end of the Amazon URL, Amazon and we would know which channels bring the sales. We can check this information in Amazon report.
4. It is the time to dynamically attach the Amazon tracking ID at the end of the Amazon URLs on your landing page.
With the help of GTM lookup table function, we can complete this task.
- If the utm_source is Facebook, then the output is ?facebookads06f-20
- If the utm_source is Google, then the output is ?google0578-20
- If the utm_source is Email, then the output is ?email02a-20
- If the utm_source is undefined, then the output is ?imwhoim-20
The below is the code for attaching Amazon tracking code at the end of any Amazon links on your landing page. You need to put this code in your custom HTML Tag.
<script>
(function () {
var links = document.querySelectorAll(‘a[href*=”amazon.com”]’)
var attachmentTrackingId = “Your lookup table variable name “
links.forEach(function(link){
var original = link.getAttribute(“href”);
link.setAttribute(“href”,original+attachmentTrackingId)
})
})();
</script>
After finishing all the stuff above, you are able to change the Amazon URL on your landing page to the one with your Amazon tracking ID.
5. Checking report is the final step to evaluate your paid ads performance.
See, we just finished!!!!
If you are interested in this solution or you have any thoughts about it, please leave comments below.
If you like it this article, please like this article.I really appreciate it.
Thank you so much to stay with me. More valuable articles are on their way!