Implementing the Banner Script with Drupal 8

To integrate banner for a Drupal 8 website

  1. Go to CookiePro by OneTrust for Drupal webpage: https://www.drupal.org/project/cookiepro.
  2. Download the plugin for Drupal 8.


  3. Go to the Manage section, select the Extend tab.


  4. Click the Install New Module button.


  5. Choose the Drupal=8.7.3.zip


  6. Click the Install button.
  7. Select the Configuration tab.
  8. Select the Development tab, click the CookiePro by OneTrust.
  9. Publish and copy the script from the Script tab in Cookie Consent.
    Note:

    For the integration to work, you must have a published script. For information on how to publish a script, see Getting Started with Cookie Consent.

  10. Paste the script in the Main Script Tag field.