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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • 3
    • True
    • False
    • None
    • HAC Console Sprint 244
    • Red Hat OpenShift Cluster Manager (OCM)

      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.

        1. Screenshot 2023-10-11 at 9.45.12 AM.png
          444 kB
          LAKSHMI SHIVANTHI AMARACHINTHA
        2. Screenshot 2023-10-11 at 9.46.07 AM.png
          367 kB
          LAKSHMI SHIVANTHI AMARACHINTHA
        3. Screenshot 2023-10-12 at 9.49.17 AM.png
          421 kB
          LAKSHMI SHIVANTHI AMARACHINTHA
        4. Screenshot 2023-10-12 at 9.50.16 AM.png
          249 kB
          LAKSHMI SHIVANTHI AMARACHINTHA
        5. Screenshot 2023-10-16 at 1.38.26 PM.png
          200 kB
          LAKSHMI SHIVANTHI AMARACHINTHA
        6. Screenshot 2023-10-16 at 1.38.43 PM.png
          170 kB
          LAKSHMI SHIVANTHI AMARACHINTHA
        7. Screenshot from 2023-10-11 18-11-48.png
          155 kB
          Roberto Emanuel

              robertoemanuel Roberto Emanuel
              jlucky@redhat.com Jacob Lucky
              Archiver:
              rhn-support-sthamilt Stacey Hamilton
              LAKSHMI SHIVANTHI AMARACHINTHA LAKSHMI SHIVANTHI AMARACHINTHA

                Created:
                Updated:
                Resolved:
                Archived: