-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add analytics global key #37
Conversation
28910d0
to
4a11107
Compare
.mise.toml
Outdated
@@ -0,0 +1,5 @@ | |||
[env] | |||
NODE_OPTIONS = "--openssl-legacy-provider" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unrelated to this PR but needed to build the browser dist by running npm run build
. I can remove it from this PR if the reviewer prefers.
@@ -0,0 +1,5 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are lots of seemingly unrelated changes. This PR is simply the result of:
$ git cherry-pick 7f4232cbdb60a4475c565e5d262b25182e47baf4
$ git cherry-pick 5c1511fe1e1d1df94967623b29ec12ffe770aacf
And the fixing merge conflicts.
4a11107
to
e4d7cdc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm not best at js, but if i understood whats happening is basically allowing using any name for the analytics
and introduces the getGlobalAnalytics
func that replaces the window.analytics
in the rest of the code
Pull changes from: