GTM Plugin Configuration

Elmo has made a tag template available for Google Tag Manager: let's see how to set it up

Step 1: Template Installation

  • Once inside your Google Tag Manager Container, go to section "Templates"
  • Above the "Tag Templates" section, click on "Search Gallery"
  • From the search gallery list of community templates, search for "Elmo" by Privacylab
  • Click "Add to workspace" and confirm by clicking "Add".
  • Finally, go to section "Tag" and create a new Tag by clicking on "New", select "Elmo" as a template from the "Tag Configuration" screen and "Consent initialization" as the activator

Step 2: Template Configuration

Once the tag model has been inserted, it will be possible to configure its parameters to adapt it to any need: let's see how.
All parameters support integration with user-defined variables, in addition to the default options, to facilitate the management of dynamic cases or existing integrations.
  • Elmo Code: In this section you must enter the unique code of the banner to be shown, which can be found in the Configure section by logging into your account.
  • Banner language: This section allows you to define the language in which the banner will be loaded into the tag manager, either from a list of predefined values or with a variable. In case the chosen value is not an ISO 3166-2 code among the valid ones, the banner will be shown in Italian.
    It is also possible to skip the integration of the banner (e.g. because it is already inserted via external scripts that handle multilingualism): in this case the banner will not be inserted again.
  • Set or not Set Default Consent Mode: Depending on the value chosen, the default parameters of the Consent Mode will be set or not. If the Elmo banner has already been inserted previously, these values will overwrite the default values set by the banner.
  • Areas and “EEA Regions Only”: indicates in which regions the default values of Consent Mode are to be applied. You can enter a list of regions (also from a variable), select the checkbox to apply it to all EEA regions or leave the parameter empty to apply it to all regions
  • wait_for_update: the time in milliseconds to wait between the setting of the default consent mode and the update (in case the user has already provided consent the banner detects it and calls Consent Mode Update)
  • url_passthrough and ad_user_data_redaction: options to be passed during consent initialisation, if selected the true value of these fields is passed.
  • default consent state: the following elements correspond to the default values set for the Consent Mode fields, Elmo by default sets only those required for the site to function, namely functionality_storage and security_storage, while the others will be set to granted only after user consent.
    Alternatively, these can be changed in this section as one prefers.