Implementing Cookie Consent in Campaigns

  • Updated

Campaigns is available to customers with the ABM Package. If you are not on this plan and would like to learn more, please reach out to your Mutiny Rep for assistance.  If you are unsure who your rep is, our support team can help you out by submitting a ticket at the bottom of the page! 

If you’re Campaign is distributed to users in CCPA or GDPR regions, you may be responsible for requesting user consent before setting any cookies other than those deemed strictly necessary.

There are two ways to collect customer consent - opt-out or opt-in. The preferred method is opt-out to ensure that Campaign analytics are identified and not anonymous.

Opt-out

The default implementation of the Mutiny script on your Campaign will automatically opt users in to tracking. The opt-out method of implementation keeps this default in place, but allows the customer to opt-out of tracking if they wish. Any opt-out action will be handled by your internal cookie consent tool, but Mutiny gives you the tools to ensure a user is opted out if they choose to be.

To opt out a user, you'll want to call the below method whenever a user chooses to opt out via a cookie consent tool:

window.mutiny.client.optOut();

Opt-in

If you choose this option, Campaign analytics will remain anonymous. To enable the opt-in method, you'll need to take 3 steps.

  1. Navigate to your Campaign settings:

    Settings__Campaign-settings.png

  2. At the bottom of the Campaign settings, check the Disable Default Cookie Opt-in checkbox:

    Settings__Campaign-settings__Disable-default-cookie-opt-in.png
    This ensures that the user is opted out of cookie tracking by default. 

  3. Call this method whenever a user chooses to opt-in via your cookie consent tool:
    window.mutiny.client.optIn();

 

Important Note: If you check the Disable default cookie opt-in, but don't configure your consent tool to run the above method when the user opt's in, Mutiny tracking will be severely impeded. 

How to Install Cookie Consent Tooling

Typically, cookie consent tools are installed via script tags and are required to be placed in the header or the body of the page. You can add script tags to your Campaign pages via the Campaign settings in the Additional code snippets section

 

Settings__Campaign-settings.png

Settings__Campaign-settings__Additional-code-snippets

FAQ

Do session replays still work if the visitor has opted out?

Yes, even in an opt-out state, Mutiny will still have session replays and page view time.

What data is lost when a user opts out of tracking?

When opted out, Mutiny tracks no identifier cookies, meaning Mutiny will not identify that user to integrations. Each page refresh/load will generate a new visitor, as Mutiny won't know if it is the same visitor coming back. Any form inputs on the page are redacted from session recordings. 

 

Need Help?

If you have questions or need help, the Mutiny Support team is here for you!  You can submit a support ticket at the bottom of this page or reach us at support@mutinyhq.com.

Related to

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.