- 11 Oct 2024
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
Events for Dynamic Flow
- Updated On 11 Oct 2024
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
Events are generated whenever a user interacts with any Whatfix Mobile content. These events can then be used to generate Insights about the engagement rate.
The following are the events which are generated when a project with a Dynamic Flow is run on an app,
flow_start
To group analytics events for this project, use projectName
.
{
"id": "8b8bbc83-79bf-4948-beff-75be9df8bcf1",
"timestamp": "2021-07-02T01:18:56Z",
"eventName": "flow_start",
"projectName": "Search Restaurant",
"deploymentVersion": "3",
"language": "ang",
"deploymentName": "Search Restaurant"
}
flow_opt_in
or flow_opt_out
The flow_opt_in
event is fired when the user clicks the Explore button (that is, if opt-in is configured to the button). If the overlay is clicked, then the flow_opt_out
event is fired.
{
"id": "bf77b357-bb53-4d77-b4f2-3e15820d173d",
"timestamp": "2021-07-02T01:19:13Z",
"eventName": "flow_opt_in", //or flow_opt_out
"projectName": "Search Restaurant",
"deploymentVersion": "3",
"language": "ang",
"deploymentName": "Search Restaurant"
}
element_seen
Track this element using elementName
in combination with pageName
and projectName
.
{
"id": "f274dbdb-1e7f-4c91-86a7-017df7a0a4a3",
"timestamp": "2021-07-02T01:19:14Z",
"eventName": "element_seen",
"projectName": "Search Restaurant",
"deploymentVersion": "3",
"language": "ang",
"pageName": "Search Page",
"elementName": "Tap on Search",
"deploymentName": "Search Restaurant"
}
element_action
Whenever the user clicks on the Search bar, track the interaction of this element using actionEventValue
, that is, anchor_click
. Use the combination of projectName
and elementName
to identify this element uniquely.
{
"id": "b1296055-8c18-4717-bf01-cba8337226f5",
"timestamp": "2021-07-02T01:36:14Z",
"eventName": "element_action",
"projectName": "Search Restaurant",
"deploymentVersion": "3",
"language": "ang",
"pageName": "Search Page",
"elementName": "Tap on Search",
"actionEventType": "anchor_click",
"deploymentName": "Search Restaurant"
}
element_seen
Track this element using elementName
in combination with projectName
.
{
"id": "aa496d41-ed05-491a-9a45-d22ca306f89c",
"timestamp": "2021-07-02T01:35:55Z",
"eventName": "element_seen",
"projectName": "Search Restaurant",
"deploymentVersion": "3",
"language": "ang",
"pageName": "Restuarant Page",
"elementName": "Last Element Congrats",
"deploymentName": "Search Restaurant"
}
element_action
Whenever the user clicks Ok, track the interaction of this element using actionEventValue
. Use the combination of projectName
, elementName
and pageName
to identify this element uniquely.
{
"id": "b1296055-8c18-4717-bf01-cba8337226f5",
"timestamp": "2021-07-02T01:36:14Z",
"eventName": "element_action",
"projectName": "Search Restaurant",
"deploymentVersion": "3",
"language": "ang",
"pageName": "Restuarant Page",
"elementName": "Last Element Congrats",
"actionEventType": "close",
"actionEventValue": "Ok",
"deploymentName": "Search Restaurant"
}