# Tracking issues with post-purchase

## Overview

When you enable **Post-Purchase Offers** in Platter+, an additional page is added to your checkout flow—one that appears after the initial checkout, but before the thank-you page. This extra page gives brands a powerful way to increase AOV, but it can sometimes cause issues with analytics platforms like **Meta (Facebook)** and **Google Analytics**.

## What’s the issue?

Since the post-purchase page is technically separate from the thank-you page, some tracking setups (especially those using legacy or standard pixels) may not properly capture conversion events. This can result in:

* Inaccurate or missing conversion tracking in Meta Ads Manager
* Incomplete purchase funnel data in Google Analytics
* Mismatched event counts between your store and your ad platforms

## The fix: Use Shopify's custom pixels with Google Tag Manager

To make sure your conversion events fire correctly—including on the post-purchase page—you'll want to use **Shopify’s custom pixels** along with **Google Tag Manager (GTM)**.

Shopify has a full guide here > [Use Google Tag Manager with custom pixels](https://help.shopify.com/en/manual/promoting-marketing/pixels/custom-pixels/gtm-tutorial).

***

## How to set up custom pixels with Google Tag Manager

1. **Create a Google Tag Manager container**\
   If you haven’t already, set up a GTM container for your store.
2. **Add GTM to your Shopify store using a custom pixel**
   * Go to **Shopify Admin > Settings > Customer events**
   * Click **Add custom pixel**
   * Paste the GTM code snippet into the pixel editor as shown in the [Shopify guide](https://help.shopify.com/en/manual/promoting-marketing/pixels/custom-pixels/gtm-tutorial)
3. **Configure GTM to handle key conversion events**\
   Within your GTM workspace:
   * Create tags for platforms like Meta (Facebook Pixel) or Google Analytics
   * Set up triggers based on Shopify's custom event names like `checkout_completed`, `post_purchase_page_viewed`, etc.
   * Be sure to fire these tags not just on the thank-you page, but on any page where the conversion event could happen (like the post-purchase offer page)
4. **Test your setup**\
   Use the **Preview** mode in GTM and Shopify's **Customer Events** test mode to ensure events are firing correctly.

***

## Why this works

Using Shopify’s custom pixel framework ensures that your analytics tools can properly listen for all relevant events across the checkout flow—including on custom pages like those added by Platter+. This helps maintain accurate reporting, attribution, and campaign optimization.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.platter.com/resources/faqs/tracking-issues-with-post-purchase.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
