3rd party integrations
...
Purple Tracking
Tracking Events

View events

22min

Getting started

In the graphic below you can see the part that is covered in this chapter:

Document image


A purple application technically consists of a native part and an experience part that runs within a web view.

The view events in this documentation are listed under the Native app or Experience subchapters based on the origin they occur.

Native app

APP_MENU

Trigger
Placeholders
Examples

Android / iOS:

Whenever the app menu becomes visible.



APP_SHARING

Trigger
Placeholders
Examples

Android: Does not exist. iOS: When the sharing screen becomes visible.



ISSUE_CONTENT

Trigger
Placeholders
Examples

Every time an issue inside the issue pager is visible.



ISSUE_PAGE

Trigger
Placeholders
Examples

Every time a page of an issue inside the issue pager is visible



PRESENTER_CONTENT_TOC

Trigger
Placeholders
Examples

Android / iOS:

When the table of contents pop-up is opened for an issue.



Experience - Dynamic composed view events based on views.json

The view event name is composed on a template as follows: STOREFRONT_${transformed_name_of_view} The full view event name is composed at runtime and the value of "name_of_view" is based on the view name field for the corresponding view in the views.json.

The value of name_of_view * will uppercased and * hyphens are replaced with underscores.

Only the standard views are documented in this chapter. The event names can differ based on the configuration ("views.json") of the specific project.

STOREFRONT_BOOKMARKS

Trigger
Placeholders
Examples

The bookmark view has been opened.



STOREFRONT_FEED

Trigger
Placeholders
Examples

The feed view has been opened.



STOREFRONT_HOME

Trigger
Placeholders
Examples

The home view has been opened.



STOREFRONT_ISSUE_DETAILS

Trigger
Placeholder
Examples

The issue details view has been opened.



STOREFRONT_LOGIN

Trigger
Placeholders
Examples

The login view has been opened.



STOREFRONT_NEWSSTAND

Trigger
Placeholders
Examples

Newsstand view has been opened.



STOREFRONT_SEARCH

Trigger
Placeholders
Examples

Search view has been opened.



STOREFRONT_SUBSCRIPTIONS

Trigger
Placeholders
Examples

Subscriptions view has been opened.