> For the complete documentation index, see [llms.txt](https://docs.adpage.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.adpage.io/integrations-websites/shopify/disabling-order-note-population-in-shopify.md).

# Disabling order note population in Shopify

By default, the AdPage Tagging app writes marketing and user information into the order notes of your Shopify orders

By default, the AdPage Tagging app writes marketing and user information into the order notes of your Shopify orders. This data underpins the AdPage backend webhook functionality, which is what reliably forwards conversion data to your server-side tracking setup.

**We strongly recommend leaving this enabled.** Switching it off will affect the stability and completeness of your tracking. Read the alternatives below before you do.

### Why you might want to switch it off

Some shops print their Shopify orders in full as a packing slip or invoice, order notes included. In that case the marketing data AdPage adds becomes visible on documents your customer receives, which is obviously not what you want.

That is a real problem, but disabling order notes is the heaviest possible fix for it. Try these two options first.

#### Option 1: exclude order notes from your print layout

Check whether your packing slip or invoice app offers control over which fields get printed. Many Shopify print apps let you exclude order notes from the layout entirely, which solves the problem without touching your tracking.

#### Option 2: filter out the tracking attribute only

If you are using Shopify's built-in notification and packing slip templates, you can filter the AdPage data out of them in Liquid while leaving everything else intact. This is the preferred solution, because it hides the technical data from customers and keeps your webhook delivery complete. See our guide on optimising webhooks for Express Checkout for the exact template code.

### What you lose by disabling it

If neither option is workable and the order notes genuinely have to stay empty, you can switch the setting off. Be aware of the trade-off first.

Order notes are how marketing data reaches the webhook for orders placed outside your normal checkout flow, Shop Pay, PayPal Express, Google Pay and Apple Pay. With the setting disabled, those orders arrive without client ID, session ID, UTM parameters or GCLID. Depending on how many of your customers use Express Checkout, that can affect a substantial share of your orders, and the attribution data for them is not recoverable afterwards.

If Express Checkout is disabled in your store, the impact is considerably smaller.

### How to disable it

1. Open your Shopify admin.
2. Go to **Online Store**.
3. Click **Customize** on your theme.
4. In the left-hand menu, select **App embeds**.
5. Expand the **Tagging Head** app embed from AdPage Tagging.
6. Uncheck **Use order notes for webhook delivery**.
7. Save using the button in the top right.

<figure><img src="https://1274044937-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA65KwL1NwewlJbtCXsXd%2Fuploads%2F2dQ8Jh7eQcj3oTUq3TlZ%2Fimage.png?alt=media&amp;token=0fc44ed2-4337-43bc-9960-e04f90e24c05" alt=""><figcaption></figcaption></figure>

The change applies to new orders only. Orders already placed keep the data that was written to them.

### Turning it back on

Follow the same steps and re-check the box. Marketing data will start being written to order notes again from that moment, but nothing is backfilled, orders placed while the setting was off stay incomplete.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.adpage.io/integrations-websites/shopify/disabling-order-note-population-in-shopify.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
