You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:
gtag.specificTrackingEventName
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
The text was updated successfully, but these errors were encountered: