
The Shopify Customer Privacy API tag by Stape is a free web GTM tag designed to pass consent preferences from your consent banner or GTM setup to Shopify’s Customer Privacy API. It comes in handy when your consent management platform does not natively integrate with Shopify, or doesn’t support the options you need. Instead, the tag sends consent preferences directly from your Google Tag Manager web container to Shopify's Customer Privacy API, helping ensure customer choices are consistently respected.
The tag supports both Google Consent Mode and manually configured consent states for analytics, marketing, and personalization. It also supports custom metafields and headless Shopify storefronts, making it a flexible solution for both standard and custom Shopify implementations.
In this guide, learn what consent mode is, why it’s crucial to implement it, and how to use consent mode in the server Google Tag Manager container.