Thrift module: source

ModuleServicesData typesConstants
source Source

Enumerations

Enumeration: Source

The means by which the user arrived at a page.

As well as the capitalised versions listed below, these values
can be supplied in json as camelCase, e.g. inAppLink


FRONT_OR_SECTION0
User clicked an link on a front or section page


FIXTURES_PAGE1
user clicked a link on a fixtures page

SWIPE2
User swiped across the screen


IN_ARTICLE_LINK3
User clicked a link within an article


EXTERNAL_LINK4
Whether the user clicked on a Guardian link (anywhere on the device) and chose to open it using our native app.

RELATED_ARTICLE_LINK5
Whether the user clicked on a link in the 'More on this story' component.

PUSH6
DEPRECATED - please use one of the other values begining with PUSH_
Whether the user came to the page via a push notification.
The id can be stored in Event.pushNotificationId.

HANDOFF_WEB7
meaning tbc


HANDOFF_APP8
meaning tbc


WIDGET9
user clicked a link from a notification centre / home page widget


RESUME_MEDIA10
meaning tbc


BACK11
user clicked the back button


SEARCH12
meaning tbc


SPOTLIGHT13
Wheter the user clicked in iOs Spotlight and open the article in native app


STATE_RESTORATION14
Indicates that the article was displayed automatically by the system during the state restoration process.

PUSH_BREAKING_NEWS15
Whether the user came to the page via a breaking new push notification.

PUSH_FOLLOW_TAG16
Whether the user came to the page from a push notification that the user received because of following a contributor.

PUSH_OTHER17
Whether the user came to the page from a push notification that user received because of some other events.

DISCOVER18
Whether the user came to the page from the Discover feature.

MEMBERSHIP19
Whether the user came to the page from Membership content in their profile.

HOME_SCREEN20
Whether the user came to the page by opening the app from their own home screen.

NAVIGATION21
Whether the user came to the page by clicking on the navigation menu of the app