Daijiro Yokota: Portfolio

Web Tracking

End of Pixel tracking and transition to Server-side tracking

Updated on Dec. 5, 2023

Summary

As some of you may know, the end of the third-party cookies and pixel tracking era is approaching. Google announced that its browser Chrome will disable third-party cookies starting next year (Q4 of 2024). To stay ahead in this change, let’s familiarize ourselves with what this transition means for advertisers and what you need to do to prepare.

Pixel tracking has been the gold standard for web advertisers to track and attribute marketing results. This method tracks user behaviors with a tracking pixel, an invisible HTML code snippet on a website. The transmission of the user’s IP address also makes it possible to match their information with other information on the Internet, such as social media accounts. These data are stored in the browser’s cookies (storage) and can be shared with websites for an improved user experience. Cookies are called third-party cookies when they are generated by websites different from the ones users are currently surfing, usually because they're linked to ads on that webpage. Third-party cookies allow advertisers and analytics companies to track users' browsing history on any sites that contain these ads.

However, due to increasing privacy concerns and regulations like the EU’s GDPR, major browsers started blocking the storage of web users’ data in cookies and allowing users to turn off cookies. On the user side, free tools like AdBlocker and browser settings allow users to disable third-party cookies, making pixel tracking less reliable.

In this new world of web tracking, server-to-server tracking with API replaces browser-side tracking pixels. Here, a unique identifier (click ID) is created for a user’s behavior such as a click or impression. If that user later converts, the event ID is matched back to the individual via the server so you can see how your marketing campaigns performed. Because of this process, server-side tracking has the following benefits compared to pixel tracking:

  1. Accuracy: Tracking is done on the server side, and there is less randomness in results. Users can’t affect tracking by simply deleting their cookies or enabling ad-blockers on the browser.
  2. Security: It is less exposed to fraud, and there are various options to prevent postback fraud.
  3. Flexibility: There are more options for sending a signal about a successful event, instead of firing a conversion at a thank-you page with a pixel. This can be helpful, for example, when the client wants to register a conversion after shipping an order or a successful call, etc.
  4. Transparency: It can be used to verify if there are any differences or distinctions in the number of conversions because tracking platforms get all the information about users’ sessions with every click.
Implementation of Sever-side Tracking

So how do we implement server-side tracking? You have some options depending on your need and available resources. Let’s look at some examples:

Google Tag Manager:

Google Tag Manager offers server-side tracking in Beta. When setting up a new container, there is an option to choose “Server” as the target platform. This enables server-side tracking within GTM. This option requires a Google Cloud account and billing information.

Publisher (Meta):

Publishers such as Meta offer multiple Conversion API setup options. Follow these guidelines to find the setup that works best for your needs and available resources. Meta’s setup options include:

  1. Commerce platform partner integration (Shopify, BigCommerce, etc)
  2. Conversion API Gateway integration (for AWS users)
  3. Other Partner integrations - Integration guide with GTM
  4. Direct integration with coding - Implementation guide
Other third-party Tools (Segment):

Third-party tools like Segment also allow advertisers to set up server-side tracking. In Segment, click Catalog > Destinations from their web app. Search for “Facebook API (actions)” or other publisher API destinations. For specific guidelines on different channels, see documentation below:

  1. Facebook API documentation - Segment
  2. TikTok API documentation - Segment
  3. Snapchat API documentation - Segment