There is no tracking until the page visitor consents if GDPR mode is activated. This also means that no Mapp-related cookies are set.

This should be used with the following setting (Shopify store under Online Store > Preferences):


The Mapp Cloud script will not be executed until there is a cookie with the name '_tracking_consent'. The value of this cookie has to be a URL encoded object, like this:

{"v":"2.0","lim":["GDPR"],"reg":"GDPR","con":{"GDPR":"1"}}
CODE

The encoded value looks like this:

%7B%22v%22%3A%222.0%22%2C%22lim%22%3A%5B%22GDPR%22%5D%2C%22reg%22%3A%22GDPR%22%2C%22con%22%3A%7B%22GDPR%22%3A%221%22%7D%7D
CODE

For the Mapp Cloud script to run, the GDPR value inside the "con" property needs to be set to "1", as shown above.

You can use your own consent tool to set this cookie or, if you don't have one, Shopify provides an app called Custom Privacy Banner.

This app will set the cookie for you, and the tracking will start right after the visitor clicks the "accept" button of the Privacy Banner.