About this task
To measure the distance between the beginning or end of
a session and an event, you must add an event condition that is always
triggered on the first or last hit of the session.
To create
a distance event from start to a specific event or from a specific
event to the end of session:
Procedure
- If you do not have a beginning of session/end of session
event, create the event that marks the beginning of the session.
- Set the trigger for the event to be
First Hit
of Session or End of Session.
- Set the condition for the event to be an attribute that
is always present. For example, you can use the Discover system attribute
Session
GUID, which is assigned a value on the first hit of every
valid Discover session by
the Canister.
- Save the event draft.
- Run it through the Event Tester. See Event Tester.
- Commit the changes.
- Create the distance event.
- Specify whether you are measuring distance as time or
pages.
- If you are measuring the distance from the start of
session, add your Start of Session event first. If you are measuring
the distance between your event and the end of session, add your event
first.
- Add the other event:
- Distance from start of session: your event
- Distance from event to end of session: End of Session event.
- Specify the other properties of the distance event as
needed.
- Save the event draft.
- Run it through the Event Tester. See Event Tester.
- Commit the changes.