Question
You have a site with two tabs Tab A and Tab B, Tab A contains process model with start form and Tab B contains interface report. How would you track the history of all the clicks of user?
A
Anonymous
January 8, 2026
109
Answer
To track user clicks between TabA and TabB using the Google Analytics Utility plugin, follow this simple approach:
1. Track Tab Switches (Page Views)
Treat each tab as a separate page. In the interface for each tab, include the utility's page-view rule to trigger whenever the tab loads:
- On TabA: Call rule!GA4_trackPageView(pageTitle: "Process Form").
- On TabB: Call rule!GA4_trackPageView(pageTitle: "Report Interface").
2. Track Clicks (Event Tracking)
To log specific clicks (like a "Submit" button or a grid link), add the tracking rule to the saveInto parameter of the component:
appian
a!buttonWidget(
label: "Submit",
saveInto: {
rule!GA4_trackEvent(category: "Button", action: "Click", label: "Submit Process"),
/* ... your existing logic ... */
}
)
Use code with caution.
3. View the History
- Real-time: Use the Google Analytics Realtime Dashboard to see clicks as they happen.
- Full History: Use the Path Exploration report in GA4 to see the chronological sequence of every tab switch and button click performed by users.
Why use this? It provides a full audit trail of user behavior without writing a single row to your Appian database.
SeniorJuniorAdmin Console#plugin
Loading comments...