Single source of truth for technical integration, Google Tag (GTG) load order rules, banner standards, deployment guides, and Frequently Asked Questions.
CookiePrime provides native support for Google Consent Mode v2 across all four mandatory signals: ad_storage, analytics_storage, ad_user_data, and ad_personalization. Consent Mode is a signal-transport layer and is not intended to replace or solve for any single regulatory requirement on its own.
In Basic Consent Mode, Google tags are completely blocked from loading or executing until the visitor interacts with the banner and provides affirmative consent.
gtag('consent','update'). The corresponding DataLayer event fires.In Advanced Consent Mode, Google tags load immediately with all four signals set to denied.
gtag('consent','update') and signals transition to granted. Tags then collect full analytics and advertising data.wait_for_update: 500ms to prevent data loss on slow connections.Merchants switch between Basic and Advanced or disable Consent Mode commands through the CookiePrime dashboard (Banner > Google Consent Mode). The setting is stored per domain and applied on the next page load.
Execution order determines whether Consent Mode signals reach Google tags in time. This section describes the interaction between GTG, CDN-injected tags, and CookiePrime.
GTG is a first-party tag delivery service that proxies Google tags through the merchant's own domain. It reduces ad-blocker interference and improves measurement reliability.
GTG's default delivery often uses "one-click CDN injection". In that mode, tags are inserted into the page very early — before the CMP's consent mode default command has had a chance to run. The merchant does not control load order in that configuration.
Google requires that the Consent Mode default command is issued before any Google tag executes. If a tag fires before the default, the signal is flagged as "late" and the tag may process data without a valid consent state.
google-analytics.com/g/collect (GA4) or googleads.g.doubleclick.net (Ads).gcs and gcd are present, the tag is enrolled in GTG and echoing the Consent Mode state.GTG enrollment can also be confirmed in the Google Tag admin console for the relevant tag.
When a late signal is detected and GTG enrollment is verified, one of the following remediation paths applies:
denied; the loader sends update when the visitor consents. Advanced Consent Mode is the recommended mechanism for GTG-enabled tags because it is compatible with GTG's early-load pattern.denied in the Google Tag admin console so tags do not transmit data before an update arrives.CookiePrime ships with an interactive debug mode that reports script load order and flags configuration errors.
Add data-dev-mode="true" to the CookiePrime loader script, or append ?cookieprime_debug=true to the page URL. The console will emit structured diagnostic lines such as:
If the debug report or Google Tag Assistant flags a consent command as late (a Google tag executed before the CMP's default command):
Full GTG details and remediation steps are documented in section 2 of this page. If a merchant prefers not to handle this themselves, they should contact CookiePrime support first — see section 6.
CookiePrime deploys across Google Tag Manager, WordPress, Shopify, BigCommerce, and custom HTML setups.
CookiePrime is published in the Google Tag Manager Community Template Gallery. No file download is required.
Consent state is written to SHOP_CONSENT and named bc_consent_* cookies on every consent change. The BigCommerce server-side render on the next page load reads those cookies.
Official plugin: wordpress.org/plugins/cookieprime/
wp_set_consent() on every banner interaction.Scope of the opt-in default: WP Consent API provides a single site-wide consent model. CookiePrime uses per-visitor region detection for its banner, its Google Consent Mode signals, and its consent record API. Because the WP Consent API layer cannot vary its model per visitor, CookiePrime declares strict opt-in at that boundary. Region-specific behaviour is preserved everywhere else.
Integrated with the Shopify Customer Privacy API.
Shopify.customerPrivacy.setTrackingConsent() on every consent change.Deny-by-default state is applied on page load. Stored consent is restored on subsequent loads.
Paste the loader snippet at the top of <head>:
Important: Clients implementing CookiePrime should direct initial troubleshooting inquiries about Consent Mode, missing GTM signals, or banner behavior to CookiePrime Support first, rather than Google. Google Support requires proof of prior contact and escalation with the CMP before investigating tagging discrepancies on client sites.
Answers to common questions about CookiePrime, multi-platform integrations, and the mobile privacy infrastructure.
CookiePrime is a consent management platform with native integrations for Google Consent Mode v2, WordPress, Shopify, and BigCommerce. It handles banner display, category-level consent collection, cookie blocking, and signal transport to Google tags and platform consent APIs. Audit records are stored on the CookiePrime backend for compliance reporting.
The trial runs for 10 days with full feature access. No credit card is required. After the trial, domains remain active on a paid plan or pause until a subscription is added.
Place the loader script as the first element inside <head>:
Replace data-id with the Domain ID shown in the CookiePrime dashboard. The loader handles Consent Mode defaults, banner rendering, cookie blocking, and update commands.
Yes. CookiePrime is published in the GTM Community Template Gallery. Import the CookiePrime CMP template directly from the gallery into your container, create a tag from it, enter your API Key, and set the tag trigger to Consent Initialization — All Pages. The template loads the CookiePrime loader, which then emits region-aware Consent Mode defaults.
The Android SDK is a lightweight native library that scans for known tracking SDK signatures and enforces consent at initialization. It runs at the app level, in Kotlin, and does not depend on network-layer blocking. Android is live. iOS is in beta.
Product page: mobile-sdks.html. Public GitHub repository: github.com/samirmoukhliss-dev/cookieprime_android_sdk.
When a visitor rejects a category, CookiePrime (a) blocks scripts tagged with data-cookie for that category, (b) deletes cookies listed in the domain's policy file under that category, (c) pushes updated signals to Google Consent Mode, and (d) synchronizes the visitor's choice to the platform-level consent API for the site (WP Consent API, Shopify Customer Privacy API, or BigCommerce consent cookies).
Contact CookiePrime support first at support@cookieprime.com. Include the domain, the tag that is flagging the issue, and the CookiePrime debug output if available. Google support requires proof of prior contact with the CMP before opening an investigation on tagging discrepancies.
Shopify and BigCommerce app subscriptions are billed through the platform's native billing API at a flat monthly rate. External payment processing is not used for native app store subscriptions.
Wix requires a Premium plan with a connected custom domain for external script injection to be allowed. Free .wixsite.com frames block external script injection, which prevents the loader from running.