OneTrust integration

Enhance your Guideflows with robust data privacy management by integrating OneTrust's consent banner. This integration ensures that your data collection practices comply with user consent, aligning with global privacy regulations & your company's policies.

If the user doesn't give consent from the OneTrust banner, analytics on the demo won't be tracked on Guideflow. We can adapt this integration & behavior based on your needs; don't hesitate to reach us to discuss it if needed.

How to configure OneTrust

Step 1: Configure OneTrust integration

  • Navigate to 'Integrations' within your Guideflow dashboard.

  • Find OneTrust and click on "Configure" to initiate the setup process.

Step 2: Insert your OneTrust SDK Script

  • Copy the OneTrust SDK script from your OneTrust account and paste it into the designated field.

Step 3: Embed behavior

If your Guideflow is embedded on your website, on which you already use the OneTrust cookie banner, you don't need to get a double consent. If the integration is activated, OneTrust will send the consent event to the Guideflow iframe and will track or not track the session based on the consent event received.

For this, toggle off the "Banner display on embed" option and add the following script to your website's header.

<script type="text/javascript">
  function OptanonWrapper() {
    OneTrust.OnConsentChanged(function (e) {
      const settings = {
        essential: e.detail.includes('C0001') || e.detail.includes('1'),
        performance: e.detail.includes('C0002') || e.detail.includes('2'),
        functional: e.detail.includes('C0003') || e.detail.includes('3'),
        targeting: e.detail.includes('C0004') || e.detail.includes('4'),
      document.querySelectorAll('iframe').forEach((iframe) => {
        iframe.contentWindow.postMessage({ cookieGuideflowSettings: settings }, '*');
</script><!-- Insert supplemental script here for handling consent events -->

If you are not using the OneTrust consent banner on the place where your Guideflow is embedded, you can toggle on the option to "Display OneTrust banner on embed." This ensures that the consent banner appears on your embedded Guideflows.

Leveraging OneTrust Integration

Integrating OneTrust ensures that your Guideflows adhere to privacy laws and user consent preferences. This integration boosts user trust and safeguards your data collection methods against non-compliance risks.

  • Manage consent efficiently: Automate the consent management process across your Guideflows, ensuring user preferences are respected.

  • Stay compliant: Align your data collection practices with GDPR, CCPA, and other privacy regulations.

  • Enhance user trust: Demonstrate your commitment to privacy and transparency, creating a trustworthy relationship with your audience.

The OneTrust integration with Guideflows is a step towards enhancing privacy compliance and user consent management in your interactive content.

By following these configuration steps, you can ensure a seamless integration process, maintaining the integrity of your data collection practices while respecting user privacy preferences.

Last updated