Analytics tracking

Abstract

Identify and track contacts that come to your website.

Analytics tracking enables you to identify and track contacts so you can see all their activities on your website. You can use this information gathered by tracking contacts during current and past web sessions for personalization, reporting and optimizing your website.

The analytics tracker refers to the classes in the Sitecore.Analytics assembly that you use for tracking. When a contact triggers tracked events on a website, they are stored in the tracker during the active session and then saved to the interaction in xDB when the session ends.

To enable tracking, you need to register the activities that you want to track, such as goals, outcomes, or page events. To do this, you need to associate the activity with a content item. For example, you can associate a campaign with a specific page on your website. When a contact visits this page, the campaign is triggered and recorded in the interactions for the contact.

You can enable tracking:

  • Automatically

    You can use the Content Editor to associate goals, campaigns, page events or other activities to be triggered automatically and tracked in the system.

  • Programmatically

    You can associate goals, campaigns, page events or other activities to be triggered programmatically during a web session and tracked in the system.

During each interaction the tracker collects data on all the trackable activities of the contact and holds this data in the current session. The tracked content is held in Tracker.Current.Interaction until the session ends.

You can use data collected during tracking in several different ways:

  • Personalization

    The tracker collects activities such as pages viewed and goals triggered that you can use for personalization during the current web session.

  • Historical personalization

    The Key Behavior Cache and the Contact Behavior Profile enables you to use tracked data from past web sessions to personalize content.

  • Retrieving marketing data programmatically

    You can use tracking data to retrieve data about contacts and the activities they triggered during a session, for example, to get information about all the goals triggered during the current interaction.

    You can retrieve data programmatically for all of the following activities:

    • Page events

    • Goals

    • Campaigns

    • Outcomes

    • Contact Behavior Profile

      Note

      Page events and Goals are both triggered in the same way programmatically.

You can track the following:

Trackable data

System enabled tracking

Content Editor/Programmatically enabled

Contacts

4699C629B19C4F51AC6355A776A48C0F.png

Interactions

54E8070DCC0641F7AF20CB7E7F7AB109.png

Browser information (name and version)

D31F85A089AE450E9929F5CB0D2F4B86.png

Campaigns

F71CD343EAF74D9BB99EF3DE2AB9535F.png

Channels

E8B60840F0574C52955CB8D68137B92A.png

Engagement value

B7663B8749E0487A8E9136EA628020A6.png

Goals

15A73207107F499EA9C797B601843C9B.png

IP Geolocation

131A962B85BA4B5DB06BD086AD3C4AD5.png

Multivariate tests

2AAE049AFCA44F7AA4E15F91CDEF10B4.png

Operating system

ADA495556C0C40669C3F7AD41A4938D1.png

Page events

F71CD343EAF74D9BB99EF3DE2AB9535F.png

Pages viewed

CC92BC8F8AC243DBBD02E3C1E6797826.png

Profile values

094F53E1CE964300BE194174043EE941.png

Referrer

97280E945C6C470CBDB0AF296254AA3E.png

Screen height/width (where available)

26ACF1B1222A4D58BD25CA2097E3199A.png

Search keywords

E5CE1026AE2D4C1AA2417A67EE395A1B.png

Start date/time and end date/time

93A9CCAFB89641A38A33261DCF89DADC.png

User agent

F71CD343EAF74D9BB99EF3DE2AB9535F.png

Outcomes

1490F0514E274CDA87D9F908BA677F2D.png

Engagement automation states

954B3284598B4D38B33EF3873D500F79.png

Note

The system does not track programmatically enabled items by default. You must enable tracking in the code or in the Content Editor to gather information about these items.