Affiliate marketing is an excellent way to generate revenue for your business. On the other side, it is also a great way to monetize a website for affiliates and can be highly profitable if done correctly.
Due to tracking restrictions and ad blockers, affiliate conversion tracking has become challenging. Affiliates can lose up to 40% of their sales because of client-side tracking. It happens because browser tracking is no longer reliable. Apple’s Intelligent Tracking Prevention (ITP), Firefox's Enhanced Tracking Protection (ETP), ad blockers, restrict the use of third-party cookies.
That is why you might need to consider implementing server-side affiliate tracking. Some well-known affiliate networks, like Awin, already made server-side tracking mandatory for all their partners.
In this blog post, I want to discuss how server-side affiliate conversion tracking works and how to set it up using server Google Tag Manager.
All affiliates have a unique identifier in the affiliate network. They receive an affiliate link with their ID for every offer they work with.
When a user clicks on the affiliate link, a cookie with the unique identifier is set in a user’s browser. This cookie stores the information about the affiliate and is responsible for reporting back if a user converted.
In some cases, client-side tracking won’t set third-party cookies with the information about the affiliate. For example, if a user clicks on the affiliate link in Safari, a cookie is not created because Safari’s ITP doesn’t allow setting third-party cookies; hence, user conversion won’t be assigned to the affiliate. Even when the affiliate network uses your domain to set cookies and make it first-party, Safari will still recognize it and decrease the lifetime of such a cookie to 1 day.
Server to server affiliate conversion uses first-party cookies. These cookies are directly communicated from the partner server to the affiliate network server.
Let’s say you are using a server Google Tag Manager container with a configured custom subdomain. Using server Google Tag Manager, you configure affiliate tags that set first-party cookies. These cookies can not be blocked because they have first-party status.
Some affiliate networks do not recommend switching to server-side tracking only. They say that browser tracking is more robust but less reliable for now. That is why a hybrid approach is the best solution.
Server-side tracking is becoming more popular, and the biggest analytics and advertising platforms already support server-side tracking. We have a blog post that lists all platforms that support server-side tracking. Improved data tracking is not the only benefit of using server-side tagging. It can also help you increase the page speed, positively affecting organic ranking.
More conversions will be tracked, meaning more revenue for affiliates. Awin's research analyzed 150,000 tracking calls and saw 12,6% more cookies were set with the server-side implementation. Most of the time, client-side cookies were blocked by browsers that restrict the use of third-party cookies (like Safari or Firefox), and the rest by AdBlockers.
Improved page speed.
Better data security.
A better understanding of results from affiliate marketing.
You will be able to track all conversion that comes from affiliates. It has two positive affect:
Stape created an affiliate conversion tracking tag for the Google Tag Manager server container. With the help of this tag, you can track affiliate page views and conversions server-side.
You can select to clear stored parameters when a conversion occurs. In this case, you will see additional settings to specify what parameters you want to remove.
Query parameters: You can add parameters and use any server GTM variables here.
4. Click three dots in the top right corner -> Click Import -> Select Affiliate conversion tag template you’ve recently downloaded from GitHub -> Click save.
5. The first step would be to set cookies with the affiliate ID when the user visits your site. Create a new tag with type Affiliate tag -> Type PageView -> Add URL parameter that you would like to store in cookies -> set cookie lifetime -> Add trigger.
6. Test Affiliate PageView tag. You should see that this tag triggered successfully in the server Google Tag Manager Preview mode, and the cookie was set. The cookie name will start with the affiliate.
7. The next step would be to set up a conversion event. Each affiliate network has a list of required fields that should be sent when a user converts. Create a new tag with the tag type Affiliate Conversion -> Select type Conversion -> Add a destination URL (you will find this destination URL in the affiliate network you with) -> Select Request method (depends on your affiliate network requirements) -> Add parameters -> Add trigger.
8. Once you’ve done setting up and testing, do not forget to publish server container changes.
If you consider affiliate marketing as one of your business's traffic and conversion sources, now is the best time to start improving conversion tracking by implementing server-side integration. Third-party cookies and client-side tracking are no longer reliable. And it will get even less reliable when Chrome phases out of third-party cookies.
I hope this blog post helped you set up server-side affiliate conversion tracking. If you need help setting up server-side tracking for your site, stape’s agency can help. Just send an email to firstname.lastname@example.org.
By the end of 2024, Chrome and Chrome-based browsers will be done with third-party cookies. Safari and Firefox already implemented Intelligent Tracking Algorithms that can block trackers. That leads to the next point: digital advertising methods that rely on third-party cookies to target consumers might become ineffective or even stop working altogether. This change in how advertisers track users will hurt many publishers and ad networks that rely on these third-party companies to display ads and collect data from site visitors to understand their audience. In this blog post, I will explain what a third-party cookie is, why it matters, and how server-side tracking can help businesses transit to the world without third-party cookies.Edited Oct 24, 2022
Find out how to use server-side tracking with Google Tag Manager and avoid being blocked by AdBlocker.Edited Oct 24, 2022
Server-side tracking technology is a growing trend in website analytics. It allows for improved data analysis, faster website page loads, and more secure user information storage while maintaining accurate tracking. The most popular implementation of server-side tracking so far has been server Google Tag Manager (GTM). More and more vendors have started to support server-to-server tracking and released tags for sGTM. Using these tags, you can share website or app events and user data directly from your server GTM container to the vendor’s server.