> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.upsellplus.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to track GTM on the post-purchase page


### Overview
Integrating Google Tag Manager (GTM) into your Shopify store's post-purchase page enables effective tracking of customer interactions, providing valuable insights into post-purchase behavior and the performance of upsell offers.

###### Step-by-Step Guide

1. **Access Shopify Admin Settings**
* Log in to your Shopify Admin panel.
* Navigate to **Settings** > **Checkout**.
        
2. **Locate Post-Purchase Page Settings**
* Within the **Checkout** settings, scroll to the **Post-purchase page** section.

3. **Add GTM Tracking Code**
* Find the **Additional Scripts** field in the post-purchase page settings.
* Paste your GTM container snippet into this field.
* Click **Save** to apply the changes.

This process embeds your GTM tracking code into the post-purchase page, enabling you to track events and conversions effectively.

![Additional scripts](https://storage.crisp.chat/users/helpdesk/website/-/a/b/f/a/abfa0cd47f75e80/screenshot-2025-03-20t16033349_14g6kl2.png)


**Additional Resources**
* [Post-Purchase Scripts in Shopify – Tag Manager Integration](https://community.shopify.com/c/shopify-discussions/post-purchase-scripts-in-shopify-tag-manager-integration/td-p/1742380)
* [Conversion Tracking on Shopify Upsell Page with Server GTM](https://stape.io/blog/conversion-tracking-on-shopify-upsell-page-with-server-gtm)
