DavidWells / DavidWells/analytics

GA4 event mapping system

Open
#288 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.7k
Forks
267
PR merge metrics
No merged PRs in 30d

Description

In the segment open-source analytics js they have this funny system for mapping event names over to the GA4 convention. This is because in GA4 they have adopted a new way of naming events that is quite different from prior GA versions and other packages people are sending events to.

It would be nice to have a system in place for this with this package. It may be that all the pieces are already there, so it may be just a matter of adding a bit of documentation explaining how to implement this kind of mapping, and filter out events that cannot be mapped over.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name any files, tests, or entry points to inspect. First clarify the expected GA4 event mappings, how unmappable events should be filtered, and whether the work is documentation or implementation; done should include agreed behavior and validation for the mapping system.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
analytics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.