Shopify Consent API controls the behavior of all Shopify apps including ProfitMetrics. Follow the steps below in order to check if your Consent Management Platform (CMP) is connected with the Shopify Consent API .
Part 1: Check "Customer privacy" settings in Shopify
Part 2: Connect your third-party Consent Management Platform (CMP) with the Shopify Consent API
Part 3: Confirm your Consent Management Platform (CMP) is connected with the Shopify Consent API
Part 1: Check "Customer privacy" settings in Shopify
- Login to admin.shopify.com for your website
- Click "Settings"
- Click "Customer privacy"
- Click "Cookie banner"
- Identify if the "Cookie banner" is enabled and how
- If you see "Activate cookie banner" button - the Cookie banner is not enabled
- If you see the "Region visibility" and "Appearance" section - The native Shopify Cookie banner is enabled.
- If you only see the "Visibility" and "Region visibility" sections- A Third Party Cookie Banner is expected
- If you see "Activate cookie banner" button - the Cookie banner is not enabled
- Ensure the settings are as desired.
If you use the Shopify native Consent banner, then it should look like option "b" above. If you use a third-party app or Consent Management Platform like CookieInformation.com or cookiebot, it should look like option "c" above.
Part 2: Connect your third-party Consent Management Platform (CMP) with the Shopify Consent API
Cookieinformation
Cookiebot
CookieYesPart 3: Confirm your Consent Management Platform (CMP) is connected with the Shopify Consent API
- Visit your website and make sure you grant consent in your Consent Management Platform (CMP)
- Right-click and Inspect the page
- Click on "Console"
- Copy and paste the following code in the console and hit Enter
window.Shopify.customerPrivacy.currentVisitorConsent();
Depending on the result, you will know if everything is working or not.
-
Uncaught TypeError
Cookie banner is not enabled in Settings > Customer privacy > Consent banner.
Click here to read Part 1 of this guide -
Empty values
Your Consent Management Platform (CMP) is NOT connected to the Shopify Consent API. Click here to read Part 2 of this guide
- All show 'no'
Your Consent Management Platform (CMP) is NOT connected to the Shopify Consent API. Click here to read Part 2 of this guide - All or some show 'yes'
Your Consent Management Platform (CMP) is connected to the Shopify Consent API.
-