FAQ Webpage Tagging
FAQ
How does a tracking request look like?
The Kantar Media requests are HTTP-GET-requests. They contain all the information required for measurement.
GET 302 Redirect to: /blank.gif http://test.tns-cs.net/j0=,,,r=https%3A%2F%2Fwww.google.com;+,cp=test+url=www.test.com;;;?lt=ig36v70v&x=1600x900x24 GET 200 image/gif http://test.tns-cs.net/blank.gif
See the explanation of the request elements in the below table.
Element of the request | Description |
---|---|
http://test.tns-cs.net | call to counting domain |
r=https%3A%2F%2Fwww.google.com | r-variable = referrer |
cp=test | cp-variable = content path set to unify content |
url=www.test.com | url-variable = URL where the content is placed |
lt=ig36v70v | lt-variable = random parameter to avoid browser-caching |
x=1600x900x24 | x-variable = screen resolution |
How can I control those requests?
Step-by-step Instructions for running an HTTP-Request-Analyser:
Why is a 302 redirect used?
When a request hits our servers, it is measured and then answered back with a http-302-redirect response (“temporarily moved”).
This 302-redirect forces caching mechanisms such as proxies or browser-cache, to request the resource anew from the server.
However, the related RFC2616 is not completely implemented here. In replying the redirect-URL to the client, only the URI-part is sent (host name of the server omitted).
This leads to a higher performance of the system and a reduction of the transfer volumes.
For repeated requests, the saving is about 10 bytes per response compared to full responses.
Additionally in the local client, only one copy of the blank.gif is allocated and processed.
How to define a page view?
A PageImpression/PageView describes the call of one Webpage by the user.
The following requirements have to be met before a PageImpression/PageView can be counted and referred to a special counting-ID:
- The page has to meet the FQDN (https://en.wikipedia.org/wiki/Fully_qualified_domain_name) for the website (or alias/redirect).
- The page has to belong to the site, either in look and feel or by a clear and obvious optical ID.
- Each call of the page may be counted only once.
- The call of the page has to be user-induced.
The following examples describe user-induced actions and substantial changes, which could either be counted or not counted.
User-induced actions: (counted)
- Call of a new page or new parts of the page, caused by mouse click or keyboard entry.
- Call of same page or same parts of the page (reloads), caused by mouse click or keyboard entry.
- Open a browser.
Non user-induced actions: (not counted)
- Call of a new page or new parts of the page by automatic forwarding (beside redirects and alias).
- Call of the same page the same parts of the page by automatic reload (e.g. news ticker).
- The call of a page by closing a window.
- The call via robots/spiders and similar.
Substantial change: (counted)
- Changes of text passages, whose context is in the main focus of the page.
- Changes of visual, multimedia contents, whose context is in the main focus of the page.
- Asking a new question in quiz games/surveys.
- Loading of new picture within a picture gallery (slide-show).
Non substantial change: (not counted)
- Changes of the page by crossing with the mouse (mouse-over)
- Shift of monitor contents by aid of mouse or keyboard
- Entry of single signs, whereas the content change is to represent the input characters
- Selection of monitor contents by aid of mouse or keyboard (e.g. select box)
- Scrolling with mouse or keyboard within one page
- Change of color (text, picture, background etc.)
- Change of layout of the page, without changing the content
Conclusion: User-induced means every action of a user which geared to call a page, in order to cause a substantial change of the site content.
How is the last page view handled?
When a client has more than one activity within a session, the "duration" (page viewtime) of the current activity is assumed to be ended by the next.
So the viewtime is not computable for all activities, because the last activity in a session has no successor in time.
To display figures for all activities in the system, a projection is used:
- the average duration of all measurable activities (i.e. with successors) is computed
- and that average duration is projected to all activities.
Assumption: the missing viewtimes are well represented by the existing ones.
Example:
- a certain webpage has 100 pageviews and a measurable viewtime for 90 pageviews is counted
- for 10 pageviews the vietime is missing
- the system collected 180 seconds for those 90 pageviews
The average viewtime per measurable pageview is them 180/90 seconds = 2 seconds.
Which is - by assumption - the average of all 100 pageviews too.
Conclusion: The total viewtime (sum) for the 100 pageviews is then 200 seconds.
How is a client defined?
In the first step, the presence of a cookie in the request is checked. Two types of cookies are possible, either a conventional, third-party http-cookie (i00) or
a cookie passed via URL-Parameter. The i00-cookie has a higher priority, i.e. it will always be used when present while the cookie set via URL is intended
to cope with low third-party cookie acceptance. It will be set if possible (e.g. html5 cookie) and used if no i00-cookie is available.
If no cookie can be set an "ident" as browser-"fingerprint" (combination of IP-address and user agent info) is created.
Two session containers are created, one for "idents" without cookies and one for those with a cookie. A client may move between the two types.
Keywords in this context are the evolving of a session (first contact without cookie, following by contacts with set cookie) and session uniqueness.
- If no valid cookie is contained, a new session is established.
- If a session that is assigned to a certain "ident" can be found, the event is added to this session.
- Otherwise a new session is created and returned.
Conclusion: Client = the same cookie or same browser "fingerprint" (combination of IP-address and user agent info)
How is a session defined?
The metric “session” is used in our measurement system.
Difference to other system that count “visits”: The metric "session" is counted every single hour, whereas the metric "visit" is counted only once for the certain hour when the usage begins.
A session is a collection of events (like page impressions) with the same cookie or fingerprint (combination of IP-address and user agent info), if the cookie is missing.
Sessions can be computed:
- Within a single web site (the standard)
- Across all web sites (networks)
There is no logout, so a timeout is used. In a single session the time between two events is less than 30 minutes.
So after an idle time of 30 minutes a new session is initiated. (following international standards)
The following information is provided for every session
- the start time of session,
- the time of the last event in the session,
- the signature of the session, formed as an MD5 hash of the user agent and the IP-address,
- the cookie of the session, if available
- the number of page impressions
- the external referrer at beginning of the session
- a list of (dimensional) properties of events (such as the pixel code)
- a list of properties of the session (references to dimensions, which are stored once per session only, such as user agent, geo-location, screen resolution)
- a list of dates of events
Conclusion: The session context is kept over the switch of the hour as long as the idle time between user interactions is not longer than 30 minutes
How to block the survey call?
QDS (Questionary Dispatching Server)
springconfig
variable before loading the JS library: var springconfig = {"survey":false};
Synchronous Tagging (Supported since version 1.6.3 of the sensor library):
<html> <head> </head> <body> <script type='text/javascript'> var springconfig = {"survey":false}; </script> <script src="spring.js"> </script> <script type='text/javascript'> var sp_e0 = { "s":"testsite", "cp":"Path/to/your/page", //Please go to Chapter ContentPath(cp) "url": document.location.href }; spring.c(sp_e0); </script> </body> </html>
The synchronous mode will still support the spring.ns
setting (which was introduced with version 1.6.0 of the sensor library, so full downward compatibility is given):
<html> <head> </head> <body> <script src="spring.js"> </script> <script type='text/javascript'> spring.ns = true; var sp_e0 = { "s":"testsite", "cp":"Path/to/your/page", //Please go to Chapter ContentPath(cp) "url": document.location.href }; spring.c(sp_e0); </script> </body> </html>
Asynchronous Tagging (Supported since version 1.6.3 of the sensor library):
<html> <head> <script type="text/javascript"> var springq = springq || []; springq.push({ "s":"testsite", "cp":"Path/to/your/page", //Please go to Chapter ContentPath(cp) "url": document.location.href }); </script> </head> <body> <script type="text/javascript"> // some other script </script> <!-- some stuff goes here --> <!-- end of page --> <script type="text/javascript"> (function() { springconfig = {"survey":false}; var scr = document.createElement('script'); scr.type = 'text/javascript'; scr.async = true; scr.src = 'spring.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(scr, s); })(); </script> </body> </html>
How will Adblock or similar tools influence the tracking?
What it is and how it operates:
Ad-blocker predominantly affects web browsers and runs as an extension in this environment:
http://en.wikipedia.org/wiki/Adblock_Plus
We can of course not be completely aware of every browser-addon or privacy-list out there that is blocking website tracking.
The most important question in the context of Adblock Plus is if there is a domain entry in https://easylist-downloads.adblockplus.org/easyprivacy.txt which corresponds to your counting domain used for a project.
Hence, if there is an entry that serves to block everything to and from the domain that you use for counting no tagged data will be returned to the measurement system.
What can we do about this?
There is not currently a way to circumvent this issue, and all tracking systems will be affected similarly.
We do not have a feel for the levels of usage although we can point out, awareness of such programs is on the rise.
The most practicable solution to this would be changing to another domain name (to which we would send requests).
However, this might prove only temporary because the new domain may also be added to the list very quickly again.
In conclusion: we are aware that it happens, but there is very little we can do about it.