-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
582 stonely widget in react header #605
Conversation
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
frontend/src/GoogleTagManager.jsx
Outdated
const gtmKey = window.wildbookGlobals.gtmKey || "changeme"; | ||
|
||
loadScript( | ||
"https://www.googletagmanager.com/gtag/js?id=UA-30944767-7", |
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.
do we know where this id=VALUE
comes from? feels very hard-coded. is this from some kind of wild me dashboard or something? feels like it should be coming from a config setting as well. maybe @holmbergius knows something of this?
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.
one concern regarding some suspiciously hard-coded looking value.
turned this ga_id to a variable in properties file |
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.
looks good!
…_react_header 582 stonely widget in react header
fixes issue #582
add stonely widget to react pages head