Integrating OneTrust Embedded Web Form Collection Points

After you've finished publishing your OneTrust Embedded Web Form Collection Point, you can integrate it within your websites to begin collecting consent from site visitors and consumers. As part of the publish process, OneTrust Embedded Web Forms can be deployed automatically for existing cookie domains via a cookies script published from the Cookie Consent module. Alternately, the web form script can be manually integrated within your website using the script available on the Integrations tab.

To access the Integrations tab

  1. On the Universal Consent & Preference Management menu, select Interfaces > Collection Points.

    The Collection Points screen appears.

  2. Click the link in the Name column for an Active OneTrust Embedded Web Form Collection Point.

    The Collection Point Details screen appears.

  3. Navigate to the Integrations tab. The Production and Test buttons can be used to select between Production and Test scripts. If you used the Publish button, integration details will populate within the Production view. If you used the Test button, integration details will populate within the Test view.
    Note:

    The Integrations tab only appears if the OneTrust Embedded Web Form has been published. For more information, see Publishing OneTrust Embedded Web Form Collection Points.

Integrations Tab Reference

Web Form Display URLs



Field
Description
Ready to deploy via your Cookies Script

URLs that appear within this field indicate that a matching domain was found within the Cookie Consent module, and the domain currently uses a script on a supported version.

Needs some work to deploy via your Cookies Script

URLs that appear within this field indicate that a matching domain was found within the Cookie Consent module, but the domain currently uses a script on a version that is not supported.

To deploy the web form via your cookies script, you can click the Go to Cookie Consent button to navigate to the Cookie Consent module and publish the script to the most recent version. The URL will then display under the Ready to deploy via your Cookies Script field.

Ready to deploy via manual integrating our script

URLs that appear within this field indicate that no matching domain was found within the Cookie Consent module.

You can manually integrate the web form on these URLs using the script and details found in the Integration Settings and Integration Scripts sections.

Integration Settings



Field
Description
Consent Script Load Time

Indicates the applied option for when the web form will load on your website.

The following options are available:

  • Manual - set externally on website (default): For the web form to appear, you will need to use the InstallCP method. For more information, see InstallCP for Manual Loaded Web Forms.

  • Instant

Layout

Indicates the applied layout for the web form.

The following options are available:

Modal

: The web form appears in a separate modal.

In-line

: The web form appears in-line on an existing page.

Container Id

Indicates the HTML ID for the container where the web form will be displayed on the website. For the web form to appear, there must be a <div> tag with the specified Container Id.

Note:

This field only appears if the In-line layout is selected for the web form.

Production or Test Integration Scripts

Note:

The name of this section and the respective fields will vary based on whether you selected the Production or Test button.



Field
Description
Production Website Integration

Click the Copy Script button in this field and paste the code at the top of the <head> section of your website on which you want to include the OneTrust Embedded Web Form.

Test Website Integration
Production Button Trigger

Click the Copy Script button in this field to integrate an Open web form button on your website to provide users with access to the OneTrust Embedded Web Form. This code can be placed wherever you want users to open the web form on your website.

Test Production Trigger

Additional Resources