Skip to content

Commit

Permalink
chore: added analytics readme (#2436) (#2442)
Browse files Browse the repository at this point in the history
* chore: added analytics readme (#2436)

* docs: updated readme-analytics.md (#2436)
  • Loading branch information
jpaten authored Nov 8, 2024
1 parent 98db59b commit 2aba3ec
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/utils/dp-gtm/readme-analytics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## HCA Portal Analytics Config

The HCA Portal reports various events using Google Analytics 4 tags. Most of these events are defined in [findable-ui](https://github.com/databiosphere/findable-ui), and are documented in its [analytics readme](https://github.com/DataBiosphere/findable-ui/blob/main/src/common/analytics/readme-analytics.md). Custom events and ids that are defined in this repo specifically are below.

#### Custom Events

There are no custom events configured in this repository.

#### IDs used for tracking

| Component | Id name | "All Elements" or "Just Links"? | Purpose |
| --------------------------------------------- | ---------------------------------- | --------------------------------- | --------------------------------------------- |
| -`SectionHero`, in the "Explore Data" button- | -`button-explore-data`------------ | -"All Elements"------------------ | -To track submitted support requests--------- |

0 comments on commit 2aba3ec

Please sign in to comment.