> For the complete documentation index, see [llms.txt](https://docs.getpurpledot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getpurpledot.com/integrations/analytics/how-analytics-integrations-work.md). Agents can also search and read this documentation through its [MCP server](https://docs.getpurpledot.com/~gitbook/mcp).

# How analytics integrations work

Understand how checkout events reach your analytics and attribution tools.

Your checkout method determines how pre-orders reach analytics tools. With [native Shopify checkout](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#native-checkout), existing tracking also handles pre-orders. With [the Purple Dot checkout](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#purple-dot-checkout), Purple Dot sends events through the integrations you connect.

## Checkout events

Connected tools receive events as the shopper adds items, starts checkout, supplies payment details, and completes a pre-order. Each provider supports its own set of events. The provider reference lists the events that connection sends.

Google Analytics, Meta, and TikTok use server APIs. Their storefront tags or pixels still identify the shopper's browser session. The connection must point to the same property or pixel as the storefront, so checkout events reach the right destination. A successful credential test alone doesn't confirm attribution.

Google Ads and the published Northbeam pixel integration run in the browser. Custom browser listeners can also send events to your own tools. A server-side tracking connection sends JSON to your HTTPS endpoint, including a server container for Google Tag Manager.

## Revenue and release

With the Purple Dot checkout, a purchase event records the pre-order when the shopper completes checkout. Purple Dot exports the order to your e-commerce platform when you [release the pre-order](https://docs.getpurpledot.com/understanding-purple-dot/releasing-and-fulfilling-pre-orders.md#release-export-and-hold). Analytics tools that also read the exported order can record the sale again, depending on how they connect to your platform. See [De-duplicating orders at release](https://docs.getpurpledot.com/understanding-purple-dot/pre-order-timing-and-your-reporting.md#de-duplicating-orders-at-release). Triple Whale requires an order filter to exclude that later Shopify order.

Shopify's built-in conversion funnel misses purchases completed in the Purple Dot checkout at the time of purchase. Those pre-orders appear in Shopify order and sales data after export. External analytics can include the original checkout conversion.

## Affiliate tracking

The Purple Dot checkout supports affiliate tracking and automatic discounts with GoAffPro. This connects pre-order sales to the referring affiliate, including influencers promoting products through an affiliate program.

## Related

* **Concept:** [Choosing a checkout method](https://docs.getpurpledot.com/understanding-purple-dot/choosing-a-checkout-method.md#the-purple-dot-checkout), [Pre-order timing and your reporting](https://docs.getpurpledot.com/understanding-purple-dot/pre-order-timing-and-your-reporting.md)
* **Do this:** [Track pre-order conversion](https://docs.getpurpledot.com/managing-pre-orders/reports-and-data/track-pre-order-conversion.md), [Set up custom client-side tracking](https://docs.getpurpledot.com/integrations/analytics/custom-client-side-tracking.md), [Set up custom server-side tracking](https://docs.getpurpledot.com/integrations/analytics/custom-server-side-tracking.md)
* **Look up:** [Integrations overview](https://docs.getpurpledot.com/integrations/integrations.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.getpurpledot.com/integrations/analytics/how-analytics-integrations-work.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
