How It Works Edit the file on GitHub
Table of Contents
The Tracking Script
The source of the tracking script is hosted on GitHub.
The tracking script, registers a new global function named skroutz_analytics
, and then
asynchronously loads the analytics.js
library onto the page.
The skroutz_analytics
global function is the main way you interact with the Analytics library.
It accepts a sequence of parameters, that represent:
- Category
- The API category
- Command
- The Command of the API category you want to be executed
- Data
- The Data to be reported by the Command
Note
Categories and Commands are case-sensitive.