- 1 Minute to read
- Print
- DarkLight
Request Structure
- 1 Minute to read
- Print
- DarkLight
The tracking script sends a referrer in the pixel URL and the browser itself sends a referrer in the request header.
Structure of the request from the tracking script
http[s]://[track domain]/[track ID]/wt?p=[version],[content ID],[JavaScript],[screen resolution],[color depth],[cookies],[client time],[referrer],[screen size],[Java]
Structure of the minimal request from the tracking script
http[s]://[track domain]/[track ID]/wt?p=[version]
http://track.webtrekk.net/111111111111111/wt?p=500,home,1,1024x768,32,1,1234265433426,0,1000x700,1...&[more information as URL parameter]
Apart from the p parameter, all parameters are sent UTF-8 URL encoded, for example, "Ä" = %C3%84. The p parameter has the following exception: If multiple parameters are passed in the p parameter, the parameters need to be separated by a non-encoded comma (,). The non-encoded comma separates each parameter information so the Intelligence back end can interpret it correctly.
Parameter | Description | Example |
---|---|---|
Track domain | Specify the tracking domain name. Once your Mapp account is created, you will receive this information. | track.webtrekk.net |
Track ID | Enter your tracking ID. You find it in your Mapp Q3 account: " Configuration > System Configuration > Data Collection". |
|
Version | Version of the tracking script. | 300 |
Content ID | Content ID of the page. | home |
JavaScript | JavaScript activation status: 1 = activated, 0 = deactivated. | 1 |
Screen resolution | Screen resolution. | 1024x768 |
Color depth | Color depth. | 32 |
Cookies | Cookies activation status: 1 = activated, 0 = deactivated. | 1 |
Client time | Current client time as timestamp (in milliseconds). | |
Referrer | URL of the previous page. | https%3A%2F%2Fwww.google.de |
Screen size | Screen size. | 1000x700 |
Java | Java activation status: 1 = activated, 0 = deactivated. | 1 |
Non-existing information in the p parameter must be filled with "0". The request would look like this:
http://[track domain]/[track ID]/wt?p=[version],[content ID],0,0,0,0,0,[referrer]