Uploaded image for project: 'Hybrid Application Console'
  1. Hybrid Application Console
  2. HAC-2479

Track when a docs link is clicked on Add-ons tab of OCM cluster details

XMLWordPrintable

    • 3
    • True
    • False
    • None
    • HAC Console Sprint 244
    • Openshift Cluster Manager

      When a user clicks on an add-on card on the Add-ons tab on the OCM cluster details page, we want to track if the user clicks on a docs link:

      analytics.track('Link Clicked', {
        current_path: '/openshift/details/s', // static shortened path to remove dynamic part
        link_name: 'external-link',
        link_url: '<url of link to docs>',
        tab_title: <this.tab.title>,
        tab_id: <this.tab.id>,
        card_type: 'addon',
        addon_id: <this.addon.id>,
        ocm_resource_type: <Subscription.plan_id.toLowerCase()>,
        resource_id: <Subscription.external_cluster_id>,
        ocm_cluster_id: <Subscription.cluster_id>,
        module: 'openshift'
      });
      

      Acceptance Criteria

      • Send metadata requested above. 
      • Confirm doc link click event shows up in our Sentry portal.

            robertoemanuel Roberto Emanuel
            jlucky@redhat.com Jacob Lucky
            LAKSHMI SHIVANTHI AMARACHINTHA LAKSHMI SHIVANTHI AMARACHINTHA
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: