User consent and privacy

Managing user consent on Nyla and third party platforms

This article walks you through how to configure user consent on Nyla, and how can be managed  according to different third party vendors.

It covers: 

Nyla and Shopify

Nyla uses the same Consent Categories as Shopify's Privacy API and, provided that the Shopify Privacy API is enabled, forwards user consent to Shopify (both for Page Views tracking of Shopify Analytics within Nyla, as well as Shopify Checkout). 

In order to activate the Shopify Privacy API you should go to Apps > Shopify and switch on the boolean "Enable Privacy API" 

Nyla/Shopify categories Description
preferences Customer preferences such as language, size, and more.
analytics Customer analytics about how the storefront was used and interactions made on the storefront.
saleOfData Sharing data with third parties, usually for behaviorial advertising.
marketing Marketing, attribution and targeted advertising from the merchant.
required These cookies are necessary for the site to function properly, including capabilities like logging in and adding items to the cart.

Setting up privacy consent on Nyla

Provided you have a consent banner activated on your site, customers will have the option to provide consent to tracking when they are in a region that has been configured to require customer consent.

We strongly recommend you set up a consent banner. If no consent banner is installed, all pixels will load and events will fire for all visitors to your site.

Nyla and third party platforms

Nyla supports Google's v2 Consent Mode following their updates in 2024, and will forward the user consent to GTM/GA4/Elevar if configured to do so, using the following mapping of categories. 

Nyla/Shopify category Google Category
marketing ad_storage
saleOfData ad_user_data
marketing ad_personalization
analytics analytics_storage
required functionality_storage
marketing personalization_storage
required security_storage

 

Depending on your analytics setup on Nyla, you may need to configure consent mode on third party platforms in order to ensure that you are respecting customer consent preferences.

Below you can find a summary of how consent mode is managed across different third party vendors:

Google Tag Manager

In the Google Tag Manager (GTM) app, there's a setting to enable/disable Google Consent Mode integration: 

If the Google Consent Mode Integration is enabled, then the GTM library loads and events are sent to it regardless of consent. Nyla will forward the default user consent and any further updates onto GTM's dataLayer. 

Important: If you have this setting enabled you should ensure that your tags in GTM load if the correct consent category has been granted so that you respect customers' consent preferences.

If the Google Consent Mode Integration is disabled then no events are sent unless consent is granted for all Nyla Consent Categories. 

Nyla's Native GA4 integration

  • All events are sent regardless of consent.
  • Nyla forwards the user's consent to Google Consent Mode for GA4. 

Elevar

  • All events are sent regardless of consent.
  • Nyla forwards the user's consent to Google Consent Mode for GTM. 

If you are using Elevar with Nyla, you will need to work with the Elevar team to ensure that consent preferences are respected base on the consent mode sent onwards to the Elevar data layer. 

Attentive & Klaviyo

  • Events do not load unless the Analytics category is granted.
  • You can customize these pixels to require specific consent categories within the relevant apps in Nyla. 

Facebook, Impact, Pinterest, Snapchat & TikTok

  • Do not load unless the Marketing & Sale of Data categories are granted.
  • You can customize these pixels to require specific consent categories within the relevant apps in Nyla.