Google urchin settings: How to set up event tracking

Source: Internet
Author: User
Tags numeric value

Using event Tracking (trackevent), you can record user interactions with site elements, including elements in the Flash site, embedded video players, embedded AJAX page elements, Web gadgets, file downloads, and more. The interaction is tracked by attaching the method call (provided in the Urchin.js trace code) to the specific user interface element to be tracked. The event tracking report is organized in the Content optimization \ Event Tracking Reporting section:

Hosts and Web pages (host pages and events, unique events, values, average values)

Category (Category action label vs. event, unique event ("Number of visits to category related access"), value, average value)

Action (Action label category and event, unique event ("Number of visits to the category/operation"), value, average value)

Tags (label action category and event, unique event ("Number of visits to category/operation/label related Access"), value, average value)

Trends (total number of events, number of visits that bring multiple events)

Unique Event Metric

"The only event" indicator should read "Bring ... Number of visits ", which indicates the number of visits that users bring when they click on each unique category/action/tag combination. This metric is calculated as a session, for each level in the event hierarchy. For example, the following sessions that bring multiple events generate the following statistics:

Visit 1

Videos/play/movie1

Videos/play/movie2

Trailers/play/movie1

ads/Click/ad1

Ads/click/ad1

Visit 2

Videos/play/movie1

Ads/click/ad1

Ads/click/ad2

Visit 3

<no events>

2 Unique Events Total (2 visits with events)

Categories

2 Unique Events in ' videos ' category

1 unique event in ' trailers ' category

2 Unique Events in ' ads ' category

Actions

3 Unique Events for "play" action (2 visits with "play" action in ' videos ' category and 1 visit in ' Trailers ' category)

2 Unique Events for ' click ' Action

Labels

3 Unique Events with ' Movie1′label (2 visits with ' videos/play ' action and 1 visit with ' trailers/play ' action)

1 unique event with ' Movie2′label

2 Unique Events with ' Ad1′label

1 unique event with ' Ad2′label

 Setting up event tracking

Make sure that the Web site is configured to track with updated urchin.js tracking code. For more information, see the Installation Guide ("Using Urchin for UTM tracking" section).

Invoke the __utmtrackevent () method in the source code of each site element (object) that you want to use event tracking for tracking. __utmtrackevent () Method specification: Utmtrackevent (CAT, Action, label, value, page), where

Cat (category, required) – The name of the group of objects to be tracked (for example, video and Audio, etc.)

Action (required) – An operation attached to an object that represents an action performed on an object (such as play and Stop)

Label (optional) – additional information about the event (for example, the title of the video, the result of the action (change View-> satelite), and so on)

Value (optional)-numeric value of the operation

Page (optional) – Used to overwrite the pages attributed to the event (the default is the current page). For example, the events are grouped by a virtual page level.

Example: The script section used to track the video "Play" Event:

<a href= "Javascript:document.movie1.Play ();" onclick= "__utmtrackevent (' video ', ' play ', ' I video Title ');" >Play</a>

Google urchin settings: How to track E-commerce transactions

Google Urchin settings: Tracking all subdomains in a site in a configuration file

Google urchin settings: How to customize audience audiences

Original: http://www.searchmarketingart.com/urchin-event_tracking-settings.html



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.