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

Don't instantiate unused analytics client #116

Merged
merged 9 commits into from
Mar 23, 2022

Conversation

kienstra
Copy link
Contributor

@kienstra kienstra commented Mar 22, 2022

Changes

  • Don't instantiate the GA client, as it's not used anywhere. The scope of Allow opting into analytics #101 didn't include using the analytics.
  • The client also uses a GA_ID that's copied from Genesis Blocks. I need to fix that.
  • Update the Copyright year to 2022

Testing instructions

  • Just a sanity-check would be great


// @ts-ignore
window.GcbAnalytics = {
GAClient: new GAClient(),
Copy link
Contributor Author

@kienstra kienstra Mar 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't used anywhere, at least yet.

And I mistakenly kept in the copied GA_ID from Genesis Blocks.

@kienstra kienstra marked this pull request as ready for review March 22, 2022 23:55
echo "Error: Built tag already exists: $built_tag"
exit 2
echo "Error: Built tag already exists: $built_tag"
exit 2
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just changes spaces to tabs to match other file

@kienstra
Copy link
Contributor Author

Hi @johnstonphilip,
Would you have time to review this? Thanks a lot!

@kienstra
Copy link
Contributor Author

@dreamwhisper, thanks a lot for reviewing this, and on your birthday! 🎂

@johnstonphilip
Copy link

Code looks straightforward and fine - smoke test showed no problems that I could see.

@kienstra
Copy link
Contributor Author

@johnstonphilip, thanks a lot for testing this and approving it!

@kienstra kienstra merged commit 82b6d1b into develop Mar 23, 2022
@kienstra kienstra deleted the update/analytics-and-copyright branch March 23, 2022 16:53
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

Successfully merging this pull request may close these issues.

3 participants