Track Dashboard Usage with an External Tracking Tool
This article describes how you can track usage of your workspace’s dashboards with an external tracking tool (for example, Google Analytics).
To track the usage, you intercept certain actions so that your application can send events to your tracking tool.
This article describes how you can track the following dashboard-related events:
- A user opens a dashboard or a dashboard tab.
- A user sets or changes a dashboard filter.
For information about other events you can track, see Embedded Dashboard Events.
In GoodData, terms workspace and project denote the same entity. For example, project ID is exactly the same as workspace ID.
Steps:
Create a custom navigation menu pointing to individual tabs of the dashboards. Each dashboard tab has a URL in the following format:
https://secure.gooddata.com/dashboard.html#project=/gdc/workspaces/{workspace_id}&dashboard=/gdc/md/{workspace_id}/obj/{dashboard_id}&tab={tab_identifier}
For example:
https://secure.gooddata.com/dashboard.html#project=/gdc/workspaces/e863ii0azrnng2zt4fuu81ifgqtyeoj21&dashboard=/gdc/md/e863ii0azrnng2zt4fuu81ifgqtyeoj21/obj/4321&tab=b11c61fa380a
Set up your tracking tool to track the events generated every time a user clicks the custom menu.
Hide the default tab navigation menu with the
nochrome
parameter (see Hide the Header of an Embedded Dashboard).Thenochrome
parameter hides the print and edit icons. If you need them, you can implement custom print and edit icons (see Embedded Dashboard Methods).Use the application state event ‘Dashboard attribute and date filters changed’ to track changes in the dashboard filters (see Embedded Dashboard Events).