The event scope is opposed to the visit scope for several aspects of Piano Analytics.
Properties
A property with an event scope may vary for each event of the visit. For example, the "Page" property is at event scope, with each new page loaded the property value can change.
A visit scope property retains the same value throughout a visit. For example, the "Source" property is a visit scope property. The value assigned to this property does not change regardless of the event analyzed in the visit. If we receive multiple sources from a visit, we will always keep the first one.
IMPORTANT: The properties you create in the Data Management interface are event-range, so it isn't possible to create visit-range properties. This behaviour can be changed with the method described in these documents:
Piano Analytics SDK: https://developers.atinternet-solutions.com/piano-analytics/data-collection/how-to-send-events/send-events-via-sdks#add-one-property-to-subsequent-events
Smarttag Library: https://developers.atinternet-solutions.com/as2-tagging-en/piano-analytics-tagging/tagging-custom-properties-sdk-en/#tagging-methods_2
Metrics
The operation is similar for metrics, the visit scope does not change within a visit and the event scope can change with each event of the visit.
For example, the "Page Views" metric counts the page loads made during the visit and will vary in function of the analyzed element.
While the "Visits" or the "Bounce Rate" metrics are calculated on complete visits and not event by event.
Segments
In order to offer you all the flexibility, the segmentation offers you 4 types of scope:
- The visit scope corresponds to identifying a criterion (or several) and reporting all the events carried out during the visit corresponding to the criterion.
- The visitor scope corresponds to identifying one (or more) criteria and reporting all the events carried out by the visitor corresponding to the criterion.
- The user scope corresponds to identifying one (or more) criteria and reporting all the events carried out by the user corresponding to the criterion.
- The event scope corresponds to identifying one (or more) criteria and reporting all the events corresponding to the criterion. This segmentation is comparable to a filter.
The different scopes of the segments are covered in this article of our documentation.