Stape
Search
Contact salesTry for free

Configure Amazon server-side tracking with Conversions API

Uliana Lesiv

Uliana Lesiv

Author
Published
Oct 9, 2025

The Amazon Conversions API allows advertisers to track data more accurately, ensuring it isn't affected by ad blockers and browser restrictions. In this article, we list the benefits of Amazon Conversions API implementation, compare it with the client-side solution - Amazon Ad Tag, and show how to configure Amazon Conversions API using a GTM tag developed by the Stape team.

Amazon Conversions API overview

The Amazon Conversions API (CAPI) allows you to send conversion events directly from your server to Amazon's servers. Amazon CAPI supports the same events and event parameters as Amazon Ad Tag (client-side solution for data tracking).

It can be conveniently implemented through partner integrations, such as using server Google Tag Manager, for example, by using a Stape's tag. The Amazon Ads tag developed by Stape supports a variety of event types, advanced user identity enrichment, regional consent frameworks, and provides detailed logging to both the Console and BigQuery. In this article below, we show how you can configure the tag.

The Amazon platform adds new features and updates existing ones. For example, Sponsored Products became smarter, optimizing where and how your ads appear based on shopper behavior. Find out Amazon’s updates and best practices in our other post.

Benefits of Amazon Conversions API implementation

Conversions API implementation has the following benefits:

  • More precise conversion tracking. As server-side tracking minimizes data loss due to ad blockers and browser restrictions, you can collect data more accurately.
  • Reduced cost per action by improving both conversion tracking and targeting. Conversions API allows advertisers to collect more data on users' interactions, making Amazon advertising algorithms more effective.
  • High privacy. Unlike client-side tracking, server-side tracking gives you complete control over the data shared with each network, ensuring they only receive the information explicitly defined in your server requests.

Amazon Conversions API vs Amazon Ad Tag

The Amazon Conversions API and the Amazon Ad Tag are both solutions used for tracking conversion events that happen outside of the Amazon platform (e.g., on the advertiser's website or app).

The key differences lie in their implementation method, reliability, and the degree of control advertisers have over collected data:

Amazon Conversions APIAmazon Ad Tag
Tracking methodServer-side (can be configured using GTM tag)Client-side (a JavaScript code snippet added to the website)
Data flowData is sent directly from the advertiser's server to Amazon's server.Data is collected and sent from the user's browser to Amazon.
Data accuracyMore reliable solution. Less prone to data loss due to ad blockers, browser, and cookie restrictions.Less reliable than the API. Some data can be blocked and lost by ad blockers or impacted by browser and cookie limitations.
ImplementationMore complex. It requires configuring server-side tracking and the Amazon Conversions API tag.Easier to implement. You need to add a JavaScript code snippet to the website.
Data controlProvides more control over shared data, which is especially useful while complying with data regulations.Offers less control as it operates within the user's browser environment.

Before starting

To configure the Amazon Conversions API, you will need the following:

How to set up Amazon Ads server-side tracking

1. Add the Amazon CAPI tag to your workspace. To do it, go to your server GTM container → Templates section → Search Gallery → type "Amazon CAPI" → click "Add to workspace".

Add Amazon CAPI  tag to workspace
Add Amazon CAPI  tag to workspace

2. Create a new tag. Go to the Tags section → click "New" → as tag type select "Amazon CAPI".

Amazon CAPI as tag type
Amazon CAPI as tag type

3. Configure the tag.

3.1 Select Event Name Setup Method:

  • Standard - select from predefined Amazon event names from the list.
  • Inherit from client - with this option, the tag maps incoming Google Analytics 4 (GA4) events to Amazon's equivalents.
  • Custom - track your own custom events.

3.2 Add Tag ID - to find the value, go to Campaign Manager → select the Advertiser → click on the section Events Manager → copy Tag ID.

Tag ID
Tag ID

3.3 Specify Region - geographic region of your Amazon Advertising account (EU or North & South America, Japan, Australia).

3.4 Override cookie settings - this option lets you choose the domain where the cookie should be written to, and also if the cookie should be set with the HTTP Only flag that prevents it from being accessed via JavaScript in the browser.

Override cookie settings
Override cookie settings

3.5 Do not set the Measurement Token cookie (amznAref) - select true or false. If a Measurement Token cookie already exists, it will be included in the request but will not be stored again as a cookie. This applies only to North America, South America, Japan, and Australia. In Europe, the Measurement Token is never transmitted.

3.6 Use Optimistic Scenario - if true, the tag will invoke gtmOnSuccess() immediately, without waiting for a response from the API. This improves sGTM’s response time; however, the tag will always report a successful firing status, even if it fails.

3.7 (Optional) User Data Attributes section.

  • Match ID - a privacy-safe, advertiser-generated identifier that connects user interactions across sessions, devices, and channels, without revealing any personally identifiable information (PII).

A persistent Match ID is assigned during the user’s first interaction. This ID is linked to the user in Amazon’s systems (using hashed PII or third-party cookies when available). When a conversion occurs (e.g., a purchase), the same Match ID is included with the event. Amazon connects the conversion back to the initial interaction, enabling full-funnel attribution.

The option is recommended for organizations with strict privacy, those that have multi-step customer journeys, and/or advertisers measuring offline or login-wall conversions.

The field should receive a variable that contains a User ID.

  • Enable Advanced Matching - if enabled, captures a user’s email address and/or phone number as an alternative to traditional browser cookies for ad identification. A first-party cookie, aatToken, is stored in the user’s browser and automatically included with all subsequent events.
User Data Attributes section
User Data Attributes section

3.8 (Optional) TCFv2 Information section.

TCF v2, or the Transparency and Consent Framework v2.0, is a set of policies and technical specifications created by IAB Europe to help digital businesses comply with European data protection regulations like the General Data Protection Regulation (GDPR) and the ePrivacy Directive.

If you target EU countries, you should enable "Include TCFv2 Information".

3.9 (Optional) Event Attributes and Event Custom Attributes sections.

You can add extra attributes to all events or add them specifically to “Off-Amazon Purchases” events. Also, you can set the attributes that will be sent along with events. The attributes are used to include sufficiently detailed information that can be used for monitoring and analysis.

Here is an example of Amazon CAPI tag configuration:

Example of Amazon CAPI tag configuration
Example of Amazon CAPI tag configuration

4. Add a trigger for the tag.

5. Test the setup using Preview mode in both web and server GTM containers. Refer to our guide on debugging and monitoring server-side configuration.

Summary

The Amazon Conversions API (CAPI) provides advertisers with a server-side solution for tracking conversion events. It offers more accuracy and control over the data collection process compared to the Amazon Ad Tag (client-side method to track data).

Implementing CAPI through server-side Google Tag Manager makes it possible to capture visitors’ interactions on the website, enrich user data, and comply with regional privacy regulations.

Want to switch to the server side?Sign-up now!

author

Uliana Lesiv

Author

Uliana is a Content Manager at Stape, specializing in analytics and integration setups. She breaks down complex tracking concepts into clear insights, helping businesses optimize data collection.

Comments

Try Stape for all things server-side