Skip to content

TrackIt Data XML Example

hikirsch edited this page Sep 14, 2010 · 1 revision

Below are various examples of how to create trackEvent’s within an XML file.

The Basics using the CheckUrlMapping plugin:

<trackEvents>
   <trackEvent key=“Homepage Load” type=“pageView” urlMap=“/|/index.html”>
       <pageName>Homepage</pageName>
       <channel>Home</channel>
   </trackEvent>

   <trackEvent key=“About Us Load” type=“pageView” urlMap=“/about_us.html”>
       <pageName>About Us</pageName>
       <channel>About Us</channel>
   </trackEvent>

   <trackEvent key=“Contact Form Submit” type=“click”>
       <event>event1</event>
   </trackEvent>
</trackEvents>