There are 3 site events to track users’ activity, that are not “ecommerce” specific:
Referer
Used to track users coming from referring websites. Those can be used in segmentations like:
- users coming from Facebook … (and add more events to subsegment later)
_vteq.push({"referer":{"url":"http://facebook.com/your-page.html"}})
Pageview
Used to track generic site pages, that are not category, product or search pages in an online shop. For example track pageviews from a blog.
The url passed to the pageview event will replace any ” (double quote) with a ‘ (single quote)
_vteq.push({"pageview":{"url":"http://facebook.com/your-page.html"}})
Generic
This is a special event that can be used to track any custom activity of the user: For example: open menu, click a specific button, submit a form etc. This event supports a name and any other attributes.
_vteq.push({ "event": { "event_name": "Event name", // required "attribute" : number, //optional, add any attributes of type: string, number, float "another_attribute": "string value" }});