Osano and Google Tag Manager

Installing the Osano.js

After creating and publishing your configuration, the "Get Code" button will become active. This button will provide you with the osano.js. 

To install, simply copy and paste the osano.js into the header <head> for all pages you wish to monitor. Ensure that the osano.js is the first script that loads on your site. 

Osano is platform AND Tag Manager agnostic. This means that, in general, the code can be added to the <head> of any site and can be utilized without having to do any additional configuration within Google Tag Manager or other Tag Manager solutions. We recommend that the osano.js be loaded without the use of Google Tag Manager where possible to ensure compliance.

If possible, we recommend testing in a staging/pre-production environment. If your pre-production environment has different tags than your production environment, it will be beneficial to test in "Permissive" mode before switching into "Strict". 

**If GTM must be utilized to deploy the osano.js, ensure that it is the FIRST script to execute on the page (outside of GTM). If scripts load prior to the osano.js, there is no way for those scripts/cookies to be blocked.**

Creating and Publishing your Configuration

Creating a consent management implementation is simple and takes just a few minutes. 

  • Navigate to the "Consent Management" tab in Osano, and create a new site profile. 
  • In the site profile, you'll add at a minimum:
    • The Configuration Name 
    • The Root Domain 
    • The Data Storage and Sharing Policy URL
  • Create Configuration 
  • Publish Configuration

Once published, use the "get code" button to copy your osano.js and paste it into the header <head> for all pages you wish to monitor. 

Ensure that the osano.js is the first script that loads on your site. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.