Page / Screens
Page (web) and Screen (app) calls record every page load and screen view.
Status: sent today
The mobile app, TV apps, and web embeds send screen and page views.
Page / Screens
Description: Fired whenever a page is loaded or a screen is viewed in the application.
Destinations: BigQuery, HubSpot (selective), Amplitude.
| Property | Type | Required | Description |
|---|---|---|---|
title | String | Yes | Friendly page/screen name. |
category | String | Yes | Category of the page/screen. |
referrer | String | No | URL of the previous page (when applicable). |
referrer_title | String | No | Name of the previous page/screen (when applicable). |
path | String | No | Page path (web, page only). |
url | String | No | Page URL (web, page only). |
user_id | String | Yes | Internal unique identifier for the individual performing the event. |
group_id | String | Yes | Internal unique identifier for the organization of the individual performing the event (church slug). |
email | String | Yes | Email for the individual performing the event. |
is_logged_in | Boolean | Yes | If the user was logged in when performing the event. |
Page implementation example:
javascript
analytics.page({
type: "page",
title: "Berk's Dragon Training Academy",
category: "dragon-training",
referrer: "https://www.berkdragons.com",
referrer_title: "Berk's Home",
path: "/berk/dragon-trainer-3/",
url: "https://www.berkdragons.com/dragon-trainer-3",
user_id: "97980cfea0067",
group_id: "hiccup-astrid",
email: "hiccup@berkdragons.com",
});Page payload:
json
{
"type": "page",
"properties": {
"title": "Berk's Dragon Training Academy",
"category": "dragon-training",
"referrer": "https://www.berkdragons.com",
"referrer_title": "Berk's Home",
"path": "/berk/dragon-trainer-3/",
"url": "https://www.berkdragons.com/dragon-trainer-3",
"user_id": "97980cfea0067",
"email": "hiccup@berkdragons.com",
"group_id": "hiccup-astrid"
}
}Screens implementation example:
javascript
analytics.screens({
type: "screens",
title: "Berk's Dragon Training Academy",
category: "dragon-training",
referrer_title: "Berk's Admin",
group_id: "hiccup-astrid",
user_id: "97980cfea0067",
email: "hiccup@berkdragons.com",
});Screens payload:
json
{
"type": "screens",
"properties": {
"title": "Berk's Dragon Training Academy",
"category": "dragon-training",
"referrer_title": "Berk's Admin",
"user_id": "97980cfea0067",
"email": "hiccup@berkdragons.com",
"group_id": "hiccup-astrid"
}
}