department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
283 stars 204 forks source link

Analytics & Insights: Optimize GA4 Events to Reduce Billable Hit Count #85525

Open johnny-jesensky-adhoc opened 5 months ago

johnny-jesensky-adhoc commented 5 months ago

Epic Description

Our team manages our GA4 Account, and Properties. We only have a set amount of prepaid hits for our GA4 account, which is 6 Billion.

With Mobile's growth, which accounts for over 1/3 of our monthly hit count, and with more tracking added to our VA.gov Properties -- we are running through these hits at a much faster rate than anticipated.

The cost for every million events that we are over is $20, ($20,000 for every billion).

This epic is to account for both identifying where certain events are firing when they don't need to be, or in some cases firing twice for the same event. We need to optimize our tracking to ensure we aren't incurring billable events when we don't need to be.

This epic also includes some cost projections and analysis our team is running.

Status:

Date Status Launch Date Notes
8 November 2024 In Progress On Track Our team performed some work optimizing header events this past sprint -- we are going to continue building out projections for Mobile and Web's growth.
17 October 2024 In Progress On Track Our team does not manage hits/events set-up by the Mobile Team -- this gives us limited ability to directly optimize, and plan for their GA4 hits/events.

High Level User Story

As a member of the Platform Analytics & Insights Team, I want to make sure our GA hits and events are set-up in a way that is optimal, so that we aren't generating unnecessary, or redundant events, and we don't run through our prepaid amount of hits too quickly.

OKRS

  1. Our platforms are the best way to deliver products at VA
    • Our platforms power twice as many interactions compared to last year

Hypothesis or Bet

If we devote time to remediating our GA4 events, we won't incur hits when we don't need to be, making us more efficient against our prepaid amount.

We will know we're done when... ("Definition of Done")


Launch Date

September 2024

Projected End Date

Ongoing -- targeting January 2025

How to configure this issue

raywangoctova commented 4 months ago

@johnny-jesensky-adhoc Can we narrow the scope of the work for this issue to only GA4? How about the other two bullets on BigQuery and Domo as separate issues?

johnny-jesensky-adhoc commented 4 months ago

@raywangoctova -- Yes, I agree this one should be further broken out. I'll clean this up so it's just focused on our GA4 optimization, and create separate epics for (1) our work to optimize BigQuery and its costs, as well as (2) the same for Domo.