Overriding the Osano Popup Styling

Overriding the Geolocation and Translation services.

Osano Cookie Popup Overrides

Osano utilizes the end user's IP address to pinpoint their location and displays a consent dialog most consistent with privacy laws in their region. Below is a list of regions and consent dialog formats that are associated with each region. 

You can override this automatic customization by adjusting setting a "language" and a "variant" on the Osano query string. When requesting the osano.js file, the requested variant and/or language will be served. If either entry is incorrect, the popup will revert to serving the automatic styling and translation.


  Example:

In Osano, create a configuration for your site and click the "Get Code" button to retrieve the osano.js.

Copy this code. Before pasting the osano.js in the <head> of your document, edit the query string to include the "language" and "variant."

THIS IS THE DEFAULT SCRIPT

src="https://cmp.osano.com/2skdb1YDRiZvJfB1dPK/9cad7357-aff7-4d9b-8870-369f38b25e50/osano.js"

THIS IS THE SCRIPT EDITED TO INCLUDE THE LANGUAGE AND VARIANT

src="https://cmp.osano.com/2skdb1YDRiZvJfB1dPK/9cad7357-aff7-4d9b-8870-369f38b25e50/osano.js?language=en&variant=two"

Once active and placed on your site, the above script will enforce the language ENGLISH and variant TWO for all users. (See below for variant descriptions and language options). [See Osano Installation Instructions for details on adding the code to your site.]

 


 

Supported Variant Options

Variant Option One: one


Variant Option Two: two

Variant Option Three: three & Variant Option Four: four

*The only difference between variant 3 and 4 is the treatment of the "Analytics" category. Variant 3 has Analytics turned OFF by default. Variant 4 has Analytics turned ON by default. The popup appearance is the same. 

Variant Option Five: five

*Two/Five (Optional)

Variant Option Five: five and Variant Option Two: two

This optional configuration will change the look and feel of the popup for variant 2 and variant 5. This is an option that can be configured in your Osano settings. [See First Layer Categories for more details on this feature]. The popup will behave the same in terms of default values. 


Supported Language Options

 

British English en-gb
Persian/Farsi fa
Arabic ar
Bulgarian bg
Catalan ca
Croatian hr
Czech cs
Danish da
German de
Greek el
Spanish es
Finnish fi
French fr
Hebrew he
Hindi hi
Hungarian hu
Icelandic is
Indonesian id
Italian it
Japanese ja
Korean ko
Malay ms
Dutch nl
Norweigan no
Polish pl
Portuguese pt
Romanian ro
Russian ru
Slovak sk
Serbian sr
Swedish sv
Thai th
Turkish tr
Ukrainian uk
Vietnamese vi
Chinese zh
Chinese Hong Kong zh-hk
Chinese Taiwan zh-tw