Skip to content

Deeplink Top Pages URLs in the Behavior dashboard

Elwyn Benson requested to merge 406815-dashboard-deeplinks into master

What does this MR do and why?

Adds the ability for dashboard visualizations to define two dimensions as links, one used as text and the other as href:

"options": {
    "links": [
      {
        "text": "TrackedEvents.docPath",
        "href": "TrackedEvents.url"
      }
    ]
  }

When configured, only a single dimension will be displayed (text) but the other will be used as href as a link. This currently only applies to the DataTable.

This is configured on the product analytics Behaviour dashboard, for the Top Pages panel.

Screenshots or screen recordings

before after after (with external link)
image image image

How to set up and validate locally

Note: This feature has a lot of setup steps. If you need help please ask me or I can step through these during a call with you.

  1. Follow these instructions to setup Product Analytics in GDK and configure a project.
  2. View the behaviour dashboard at Project -> Analytics -> Dashboards -> Behaviour
  3. Verify the Top Pages data table links are clickable

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #406815 (closed)

Edited by Elwyn Benson

Merge request reports