Qualifio data layer

Olivier de Lamotte -

In the header of every page of a Qualifio campaign is a small script. This script is Qualifio data layer (qlfDataLayer).

It gives the opportunity to call it to know exactly at which stage of a campaign the participant is at, mainly for reporting purposes.

This datalayer (= QlfDatalayer) is composed by the following components:

  • ‘title’ = Title of the campaign 
  • ‘campaign_id’ = Identifier of the campaign (= 6 numbers)
  • ‘campaign_guid’ = Globally Unique Identifier of the campaign (= String of 36 characters, divided by 4 hyphens, specific per campaign)
  • ‘channel_guid’ = Globally Unique Identifier of the channel (= String of 36 characters, divided by 4 hyphens, specific per channel)
  • 'parentURL' = URL of the campaign (or URL where the campaign is integrated for an iframe)
  • 'domain' = Domain of the campaign (given in Qualifio)
  • ‘device’ = Device used
  • ‘lg’ = Language of the campaign
  • ‘pg’ = Page in the global flow of the campaign (eg: Welcome screen = 1, 1st question = 2, etc.)
  • ‘step’ = Name of the step the user is in (eg: intro = welcome screen, questionset = questionnaire, identityset = form, exit = exit screen)
  • ‘pgi’ = Internal page of the game flow (eg: Question 2 = 2, although it can be the third screen)
  • ‘page_path’ = Path of the page of the user (replacing data from the session).
    Standard path is: /‘campaign_id‘/‘lg’/‘pg’/’step’/’pgi’


<script>var qlfDataLayer = [{'title': 'Funnel of Qualifio Campaign','campaign_id': '471501','campaign_guid': '7521D29E-9090-E6BC-D603-EE8C9B6C8338','channel_guid': '7521FCC2-E78C-7B99-7584-56A3C1301DB5','parentURL': 'https://www.mywebsite.com/game','domain': 'subdomain.website.com','device': 'desktop','lg': 'en','pg': '1','step': 'intro','pgi': '1','page_path': '/471501/en/1/intro/1'}];</script>


This data layer can be used by any JavaScript (for instance the ones of GTM or GA).

Powered by Zendesk