Top
Events for Dynamic Flow
  • 11 Dec 2023
  • 1 Minute To Read
  • Dark
    Light
  • PDF

Events for Dynamic Flow

  • Dark
    Light
  • PDF

Article Summary

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,

dynamic_flow

START

dynamic_flow_start

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"
}

Search page (if flow_opt_in)

dynamic_flow_search

element_seen
You can 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, you can track the interaction of this element using actionEventValue , that is, anchor_click. You can 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"
}  

Restaurant Page

dynamic_page_restaurant_page

element_seen
You can 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, you can track the interaction of this element using actionEventValue. You can 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"
}


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.