Skip to main content

Use Dotdigital Personalization with cookie management tools

Manage how Personalization respects your visitors' cookie preferences when using a cookie management tool.

Personalization doesn't have a native integration with cookie management platforms. Instead, you control consent by configuring your cookie management tool to load the Personalization script only when visitors give permission.


Before you start

  • You must have a cookie management platform or tool already implemented on your website.

  • You need admin access to your cookie management platform's settings.


How Personalization uses cookies

Dotdigital Personalization uses first-party cookies to track visitor behaviour and enable personalization. The tracking script loads using JavaScript on your website, captures visitor activity, and then uses this data to display personalized content.


Configure your cookie management tool to control the Personalization script

To respect your visitors' cookie preferences, you must configure your cookie management platform to conditionally load the Personalization script tag.

The script should only load when visitors accept the appropriate cookie categories. Typically, these are marketing or personalization cookies.

When the script doesn't load, Personalization functionality is completely disabled for that visitor.

Configure conditional script loading

To prevent the Personalization script from loading until visitors provide consent:

This is an all-or-nothing approach

When the Personalization script doesn't load, all Personalization functionality is disabled. This includes both activity tracking and web personalization. You can't load Slots while preventing activity capture using this approach.

  • Find the script management or tag blocking settings in your cookie management platform.

  • Add the Personalization script tag to your platform's script inventory.

    For example:

    <script async type="text/javascript" src="//ls.dycdn.net/[your account ID].js"></script>

    or

    <script async type="text/javascript" src="//d81mfvml8p5ml.cloudfront.net/dc2jylfs.js"></script>

  • Assign the script to your marketing or personalization cookie category.

  • Configure your platform to block scripts in that category until consent is given.

  • Test the implementation to ensure the script loads correctly when consent is granted and remains blocked when consent is denied.

The exact method for configuring conditional script loading is different between cookie management platforms. Make sure to read your cookie management system's documentation for specific instructions.


Alternative: Use server-side personalization

If you want to show personalized content on your website without loading the Personalization script, you can use server-side personalization.

Server-side personalization requires development work

Server-side personalization requires development work on your web server and may involve additional implementation costs. Consider whether this approach suits your requirements before proceeding.

With server-side personalization, your web server requests content from Personalization and renders it before the page reaches the visitor's browser. This approach gives you more granular control over which Personalization features are active.


Further information

Learn more about the cookies Personalization uses in Understand Personalization cookies and their duration.

Did this answer your question?