Apps: Web Data Collection: Building Blocks: Event data

'The Browser language' Event data returns the language currently set in the browser configuration. Go to your browser settings if you are unsure which language you have set.


Further reading:

Creating your first events

The Cookie value returns information stored in a cookie.


You will need to specify the cookie name that you would like to fetch information from. Double click on the building block after you have dropped it in the Event data area to enter a cookie name.


Further reading:

Creating your first events


Set variable building block stores data in the visitor’s browser as a cookie or in local storage. It is useful when you want to store data in the visitor’s browser. Collect and store a value on one page, and use it on another page or session. Collect data and use Set variable on the first page, and Get variable on the event you want to use it e.g. next session. One example could be to capture the name of a product a user shows interest in the first session, and re-use the data on the next session to display an ad with relevant content.


Double click or drag the Set variable building block to the event data field. Click on the building block to select your options


  1. Variable name: A name of the cookie or local storage intended to be used. The name used here will also be used to use this data in “get variable”. See “help on get variable
  2. Dynamic data value: The value that will be stored can either be a Dynamic value or a Static value. If you choose to use a “Dynamic data value” you will have specify and connect another data value to the set variable building block.
  3. Type: Specify whether you want one value and overwrite an existing value with another or adding all values in one string (pushed). Note that push will only add the value to values previously stored with the push type.
  4. Storage: Store the data in a cookie or  local storage

Get variable building block stores data in the visitor’s browser as a cookie or in local storage. It is useful when you want to store data in the visitor’s browser. Collect and store a value on one page, and use it on another page or session. The Get variable data returns information previously stored by the Set variable data. Every time the event with Get variable is triggered, it will look for the value in the specified cookie or local storage.


Double click or drag the get variable building block to the event data field. Click on the building block to select your options

  1. Variable name: A name of the cookie or local storage intended to be used. The name used here will be same as used in “set variable”. See “help on set variable
  2. Storage: Store the data in a cookie or local storage


The Javascript variable value returns information stored in a global Javascript variable on the page.


You will need to specify the variable name that you would like to fetch information from. Double click on the building block after you have dropped it in the Event data area to select enter a variable name.


Further reading

Creating your first events


The Number of previous visits value will return the number of visits paid by a visitor to your site


You will need to specify the amount of days to search for visits in. Double click the building block after you have dropped it in the Event data area to specify number of days.


Further reading

Creating your first events


The Page title Event data returns the page title of the current page as defined in HTML.


Further reading

Creating your first events


The Page URL Event data returns the URL of the current page.


Further reading

Creating your first events


The Query parameter value will let you use a query parameter from the URL as a value. Double click the building block after you have dropped it in the Event data area to specify the parameter you would like to use.


Note that you only have to specify the parameter without any additional characters as = or &.


One application of the Query parameter is to capture the value of a tracking link.


Further reading

Creating your first events


The Referrer value returns the referrer of the current page.


Note that referrer can be url encoded. This means that "space" can be converted into %20 and so on.


To be on the safe side it is advisable to only use one word in the phrase you are targeting, when possible.


E.g. Use "Volvo" instead of "Volvo cars" and you avoid the problem.


Further reading

Creating your first events