AlexsLemonade / refinebio-web

Refinebio Web
https://staging.web.refine.bio
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

GA4 Integration #302

Open nozomione opened 9 months ago

nozomione commented 9 months ago

Context

Slab: refine.bio Analytics Strategy Google sheet: Custom Event List

This epic is to track the following issues for GA integration:

  1. https://github.com/AlexsLemonade/AdminItems/pull/899
  2. https://github.com/AlexsLemonade/refinebio-web/issues/209
  3. https://github.com/AlexsLemonade/refinebio-web/issues/303
  4. https://github.com/AlexsLemonade/refinebio-web/issues/310
  5. https://github.com/AlexsLemonade/refinebio-web/issues/309
  6. https://github.com/AlexsLemonade/refinebio-web/issues/312

Problem or idea

The integration steps are as follows:

  1. Create a checklist for the analytics event tracking strategy
  2. Set up GA4 script in our project (initial config)
  3. Implement required events for GA4 (implement custom events script)
    • Add the events to DOMs
    • Debug and test the implementation locally
  4. Set up GA4 properties (for dev, staging, production) in analytics
    • dev: CCDL > Refine.bio Web - Dev
    • staging & production: CCDL > Refine.bio Web
  5. Perform QA test on staging and review GA4 reports before the production deploy
  6. Production deploy