The example application includes a google analytics implementation. Page Views are sent every time the state of the application changes (the path or url parameters update). To view page view information in Google Analytics, navigate to Behavior -> Site Content -> All Pages. The events outlined in this document are also reported. To view event information in Google Analytics, navigate to Behavior -> Events.
Example Application Events
- Event Category: "Triage Option Selected"
- Event Action: "click"
- Event Label: [Triage Option Button Title in English]
This event reports when the user selects a triage option from the alert that is presented when the user makes a symptom selection. This is the primary goal of the application, to connect users to the most appropriate service based on their symptoms.
- Event Category: "Keyword Search"
- Event Action: "request"
- Event Label: [Keyword Search Input Value]
This event reports every Keyword Search that is performed. It reports the search string as the search results are loaded for every search query. The event label shows the search that was performed.
- Event Category: "Search"
- Event Action: "request"
- Event Label: [Keyword Search Input Value]
This event is redundant with the "Keyword Search" event above, its just reported from a different place in the code. I will look into deprecating this event to avoid confusion.
- Event Category: "Body Area Selected"
- Event Action: "click"
- Event Label: [Body Area Title for Selected Body Area]
This event reports when body area selections are made. This event is reported when the user uses either the interactive homunculus or the body area list to select a body area.
- Event Category: "Set Age"
- Event Action: "request"
- Event Label: [Age in days or Age Group]
This event reports when the user sets the age either from the initial screen's input field, or from the age group dropdown on the index screen.
- Event Category: "Set Gender"
- Event Action: "request"
- Event Label: [Gender]
This event reports when the user sets the gender either from the initial screen's button group, or from the gender dropdown on the index screen.
- Event Category: "Topic Viewed"
- Event Action: "click"
- Event Label: [Topic Title]
This event reports when the user views a topic from any index (symptoms, medications, first aid, help).
- Event Category: "Symptom Selected"
- Event Action: "click"
- Event Label: [Symptom Text]
This event reports when the user selects a symptom from the what to do screen in any symptom checker topic.
- Event Category: "Symptom Deselected"
- Event Action: "click"
- Event Label: [Symptom Text]
This event reports when the user deselects a symptom from the what to do screen in any symptom checker topic.
Demo Page Events
- Event Category: "Get Summary"
- Event Action: "request"
This event reports when the user selects the code icon in the tabular navigation tower on the right side of the demo page. This presents the current encounter summary in an alert.
- Event Category: "Set Locale"
- Event Action: "click"
- Event Label: [language Code]
This event reports when the user changes the locale of the demo page.