One of the features of Salesforce’s Marketing Cloud Account Engagement (MCAE, formerly Pardot) is website tracking – you can see the pages a prospect has visited in the Engagement History component on their record. There are a few elements that go into this feature – including the website banner that pops up on your website, your privacy policy, and the visitors consent preferences. Let’s take a closer look at each of these concepts.
Jump to Section
- What are cookies?
- First-Party tracking
- The importance of a Privacy Policy
- The Account Engagement tracking opt-in banner
- Third-Party Cookie Consent Systems and Account Engagement
- Need a hand?
What are cookies?
Aside from the delicious treat, cookies are a small text file used to identify you and provide a smooth and personalised browsing experience. When you visit a website that uses cookies, it gives your browser a cookie to save within your browser’s folder on your device. When you visit the same website again, the browser will access the cookie file and identify you to the site. The cookie file also saves personal information such as your name, email, phone number, and any other information you have provided to the website.
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.
Read our article here about Tracking Domains to learn more.
The importance of a Privacy Policy
Organisations operating in Australia may require a privacy policy, according to government regulation. It’s important to keep up to date with your responsibilities by checking the Office of the Australian Information Commissioner (OAIC) website for accurate, up-to-date information, which you can do here.
The MCAE tracking code includes an opt-in banner with the words ‘please see our privacy policy for details and any questions’ by default.
If not for these reasons, a business should provide a privacy policy to promote trust with its users by informing them about how their personal data will be collected, used, and protected.
The Account Engagement tracking opt-in banner
After adding the MCAE tracking code to your website, you will notice a new pop up that asks users if we may use cookies to track their activities, with a Yes or No option.
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;
bottom: 0pt;
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;
color: #000000;
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;
background: #000000;
display: inline-block;
padding: 10px 20px;
margin-left: 20px;
margin-right: 10px;
color: #FFFFFF !important;
Link the privacy policy text
We recommend linking the privacy policy text in the Message to your privacy policy page. You can do that by updating the Message section with the below, ensuring you update the URL and colour to suit you:
- May we use cookies to track your activities? We take your privacy very seriously. Please see our <a style=”color: #CCCCCC” href=”https://mywebsite.com/privacy-policy/”>privacy policy</a> for details and any questions.
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.