Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GA implementation review #338

Closed
davidsmejia opened this issue May 7, 2024 · 3 comments
Closed

GA implementation review #338

davidsmejia opened this issue May 7, 2024 · 3 comments
Assignees

Comments

@davidsmejia
Copy link
Contributor

Context

I was reviewing the open GA issues and wanted to comment on more than one of them so I am opening this issue to ensure that these notes are addressed in each of them. Note this is not the entire review and each PR may have their own changes or explanations requested.

Problem or idea

We should ensure that the current GA PRs adhere to the following:

  • No static strings or values are defined outside of the function.
  • No data is pre-formatted before passing to a gtag.specificTrackingEventName function.
  • Every tracked metric will have a unique function. Data will be unformatted and be mutated in the function.

If two or more functions are very similar but do not track the same event, write functionality that can be shared between them but distinguish them by their function name.

Solution or next step

  • Ensure all open PRs related to GA adhere to the above principles
@davidsmejia
Copy link
Contributor Author

Lets start with the first 5 start with the oldest and I will review those and we can move forward from there.

@nozomione
Copy link
Member

nozomione commented May 10, 2024

Epic: GA4 Integration

This issue is to revise the following PRs for the GA custom events.

Step 1: Refactor the gtag script and adjust implementation of the first 5 PRs in chronological order for code review:

Step 2: Once the 1st step is completed, refactor the gtag script for the remaining PR:

@nozomione nozomione self-assigned this May 10, 2024
@nozomione
Copy link
Member

Completed the items listed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants