Skip to content

TrackIt Data JSON Example

hikirsch edited this page Sep 14, 2010 · 1 revision

Below are various examples of how to create trackEvent’s using JSON.

The Basics using the CheckUrlMapping plugin:

{
    key: “Homepage Load”,
    type: “pageView”,
    urlMap: “/|/index.html”,
    pageName: "Homepage",
    channel: "Home"
},
{
    key: "About Us Load”,
    type: “pageView”,
    urlMap: “/about_us.html”,
    pageName: "About Us",
    channel: "About Us"
},
{
    key: “Contact Form Submit”,
    type: “click”,
    events: "event1"
}