Jump to Section
- What are cookies?
- First-Party tracking
- The Account Engagement tracking opt-in banner
- Third-Party Cookie Consent Systems and Account Engagement
- Need a hand?
What are cookies?
First Party Tracking
In 2022, MCAE began transitioning from third-party cookies to first-party cookies to keep up with Google’s announcement that they are phasing out third-party cookies. Business Units created after February 13, 2023 will use first-party tracking by default.
You can ensure that first-party tracking is enabled in MCAE by navigating to Account Engagement Settings > Account Settings, and clicking ‘Edit’ in the top right corner. Here you will find a few settings, we recommend enabling the Honor Do Not Track (DNT) Header* and ticking ‘Use first-party tracking’. For existing MCAE orgs who already have third-party cookies ticked, we recommend turning off third-party cookies and tracking, once your first-party tracking is set up.
*DNT is a browser setting that people can enable to indicate to websites that they do not wish to be tracked. However, websites are not obligated to honour this setting. By enabling the ‘Honor Do Not Track (DNT) Header’ in MCAE, users who have enabled this in their browser settings will automatically not be tracked. If the ‘Honor Do Not Track (DNT) Header’ setting is not enabled, and the user clicks ‘yes’ on the MCAE consent banner on your website, the user will be tracked.
First-party cookies are from websites you directly visit, to improve your experience on that particular website, whereas third-party cookies can be used on domains across the internet.
This means that the website tracking code that you set up in MCAE needs to be associated with a tracking domain that is a sub-domain of the website you will place it on.
For example, a tracking domain in MCAE could be go.mywebsite.com, for the website tracking code to be placed on mywebsite.com.
The Account Engagement tracking opt-in banner
What happens for the Yes and No options
- Yes: The user will be tracked
- No: The user will not be tracked
- No selection: The user will not be tracked
This is in alignment with GDPR, the Do Not Track initiative, and the movement towards personal data protection.
It’s important to highlight that no selection results in no tracking. Meaning, you want users to make a selection. You may wish to edit the opt-in banner to make it more noticeable on your website, and explain why choosing ‘yes’ is a prudent choice.
How to edit the opt-in banner
You can edit the message, and the CSS styles for the banner and buttons in MCAE by navigating to Account Engagement Settings > Domain Management, and clicking the ‘Edit Tracking Opt-in Preferences’ button in the top right corner.
Position the banner
Positioning the banner at the bottom of the page and fixing it so that it scrolls with the user is a common approach. To do this, update the Styles section to:
- position: fixed;
Remove the ‘top: 0pt;’ line.
Change the banner colours
In the Styles section, update the background colour and the colour of the font by updating the below entries:
- background: #FFFFFF;
Change the Yes No text into buttons
Use and adapt the below code to your branding, and replace the code in the Link Styles section:
- font-size: 1em;
padding: 10px 20px;
color: #FFFFFF !important;
Edit the visitors who see the banner
In the same Tracking Opt-in preferences, there are two options for who to request opt-in from: all visitors, and visitors from specific countries. A way to disable the banner is to select the latter option, and not select any countries, although we do not recommend this. We recommend requesting opt-in from all visitors, as marketing to people who opt-in builds trust.
Tracking Cookie Duration
Increase or decrease how long the cookie tracks prospects for by navigating to Account Engagement Settings > Account Settings, and clicking ‘Edit’ in the top right corner. The default cookie duration is 3650 days (10 years).
Third-Party Cookie Consent Management and Account Engagement
You can operate a third-party consent management platform (CMP), such as OneTrust or Cookiebot, together with MCAE opt-in preferences. The setup may vary depending on which CMP you choose, however the configuration is often done through a tag management system (TMS) like Google Tag Manager.
The hierarchy of action deployment then looks like:
- The CMP collects the opt-in response with their tracking banner and stores the response.
- The TMS only executes tracking codes if the CMP preferences are affirmative.
Additionally, the MCAE account settings must be updated to allow an external source to change the pi_opt_in field value. This must be done by contacting Salesforce Support.
Use your TMS, like Google Tag Manager, to set up a custom GET request – a server request used to tell MCAE when the visitor opts in or out from tracking with the CMP.
You will then need to disable the MCAE Tracking Opt-In banner, otherwise you would have two consent banners on your site. You can do this by updating the ‘Styles’ section to “display:none;”.
Need a hand?
Our team of experts are ready to help you with all your Salesforce and MCAE (Pardot) needs. Send us a message by filling out the form below.