Overriding the consent banner template

Overriding the Geolocation and Translation services.

Osano consent banner overrides

Osano utilizes the end user's IP address to pinpoint their location and displays a consent banner most consistent with privacy laws in their region. You may review a list of regions and consent banner templates that are associated with each region here

You can override this automatic targeting 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 consent banner will revert to serving the automatic banner template 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 template variant TWO for all users. (See below for language options and our Consent Banner gallery for template descriptions). [See Osano Installation Instructions for details on adding the code to your site.]

Note: Utilizing this script override will void the Osano Pledge. Please exercise caution when using overrides. 

Supported Language Options

Afrikaans af Indonesian id
Albanian al Italian it
Arabic

ar

Japanese ja
Armenian hy Kazakh kk
Bulgarian bg Korean ko
Catalan ca Latvian lv
Chinese zh Lithuanian lt
Chinese (Hong Kong) zh-hk Malay ms
Chinese (Taiwan) zh-tw Māori mi
Croatian hr Norwegian no
Czech cs Norwegian Bokmål nb
Danish da Norwegian Nynorsk nn
Dutch (Belgium) nl-be Persian/Farsi fa
Dutch (Netherlands) nl Polish pl
English (Australia) en-au Portuguese (Brazil) pt-br
English (Britain) en-gb Portuguese (Portugal) pt
English (Canada) en-ca Romanian ro
English (United States) en Russian ru
Estonian et Serbian sr
Finnish fi Slovak sk
French (Canada) fr-ca Slovenian sl
French (France) fr Spanish (Mexico) es-mx
Gaelic (Scotland) gd Spanish (Spain) es
German (Austria) de-at Swedish sv
German (Germany) de Tagalog tl
Greek el Thai th
Hebrew he Turkish tr
Hindi hi Ukranian uk
Hungarian hu Vietnamese vi
Icelandic is Zulu zu