Apps: Web Data Collection: Building Blocks: Event data

The Sample rate randomizes true or false and returns true in a specified rate.


Double click on the building block after you have dropped it in the Event data area to specify a rate in percentage.


Specifying "50" as Sample rate in percent will mean that this Event data will be true 50 percent of the times it is being used.


 

Further reading

Creating your first events


The Score value is used to work with scoring models in your Events.


You will have to specify three parameters in order for the value to work. Double click on the building block after you have dropped it in the Event data area to select enter the required information.


First parameter is the Counter name. This is the name that is used if you would like to fetch this information with the same building block later on.


The Score value is the score that will be added to the counter.


Specifying "write" as Type will add the score to any previously saved score for the counter and return the new score. You can also use "read" to fetch previously saved score.


The Type "reset" will set the score back to 0 and return the new score.


Note that this value is saved individually for each visitor.


Further reading:

Creating your first events


The Screen height Event data returns the total height of the user's screen in pixels.



Further reading

Creating your first events


The Screen width Event data returns the total width of the user's screen in pixels.



Further reading

Creating your first events


The Search engine query value returns the query used in a search engine to reach the current page.


Note that this value will only be applicable on the landing page after using a search engine.


Queries from Google, Yahoo, Bing, Ask and dozens of other search engines are captured. Please note however that since 2012 Google doesn't allow capturing search queries made by users who are signed in on Google.


Further reading

Creating your first events


The Technology value returns information about the visitor’s technical platform such as operating system, device, browser and browser version.


You will need to specify the type of information that you would like to use. Double click on the building block after you have dropped it in the Event data area to select a type.


1. OS: if you select OS, you will get a value indicating what operating system the visitor uses.

The possible values for OS are:
- Mac OS X
- Windows
- Linux
- iPhone
- iPad
- Android

2. Device: if you select Device, you will get a value indicating which device the visitor used to browse the site.


The possible values for Device are:
- Mac OS X Desktop (Mac desktop system)
- Windows Desktop (Windows hardware, also called PC)
- Linux Desktop
- iPad Tablet (iPad 10 inches device)
- iPhone Phone (iPhone less than 5 inches device)
- Android Tablet
- Android Phone (Android Phone less than 7 inches screen)


3. Browser:


The possible values for Browser are:
- Explorer (Internet Explorer)
- Firefox
- Chrome
- Safari
- Opera
- iCab
- OmniWeb
- Netscape
- KDE
- Mozilla

4. Browser Version: It will return the version of the browser. i.e 9, 10 etc.


Further reading

Creating your first events


The Time on page Event data returns the amount of seconds spent by the visitor on the page since the page was loaded.



Further reading:

Creating your first events


The Time since last visit Event data returns the number of seconds since the last visit to the site (since the start of the last visit).


For instance: a user enters your site at 4.48 pm, visits a few pages, then leaves. He returns again an hour later, at 5.48pm. The Time since last visit is 1 hour (3600 seconds).


Further reading

Creating your first events


The Time spent in visit Event data returns the current visit's length in seconds.



Further reading:

Creating your first events


The User agent Event data returns the whole user agent string of the visitor browser.


Example of user agent string:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
  • The user agent application is Mozilla version 5.0, or a piece of software compatible with it.
  • The operating system is OS X version 10.2.2 (and is running on a Mac).
  • The client is Chrome version 51.0.2704.84.
  • The client is based on Safari version 537.36.
  • The engine responsible for displaying content on this device is AppleWebKit version 537.36 (and KHTML, an open source layout engine, is present too).


Further reading

Creating your first events