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

582 stonely widget in react header #605

Merged
merged 5 commits into from
Jun 12, 2024

Conversation

erinz2020
Copy link
Contributor

@erinz2020 erinz2020 commented Jun 12, 2024

fixes issue #582
add stonely widget to react pages head

@erinz2020 erinz2020 requested a review from naknomum June 12, 2024 14:54
@erinz2020 erinz2020 linked an issue Jun 12, 2024 that may be closed by this pull request
@erinz2020 erinz2020 requested a review from TanyaStere42 June 12, 2024 14:56
Copy link
Contributor

@holmbergius holmbergius left a comment

Choose a reason for hiding this comment

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

LGTM

const gtmKey = window.wildbookGlobals.gtmKey || "changeme";

loadScript(
"https://www.googletagmanager.com/gtag/js?id=UA-30944767-7",
Copy link
Member

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?

Copy link
Member

@naknomum naknomum left a 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.

@TanyaStere42 TanyaStere42 requested a review from holmbergius June 12, 2024 17:25
@erinz2020
Copy link
Contributor Author

one concern regarding some suspiciously hard-coded looking value.

turned this ga_id to a variable in properties file

Copy link
Member

@naknomum naknomum left a comment

Choose a reason for hiding this comment

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

looks good!

@erinz2020 erinz2020 merged commit 9a66e0a into master Jun 12, 2024
2 checks passed
@erinz2020 erinz2020 deleted the 582_stonely_widget_in_react_header branch June 12, 2024 19:42
Rodhlann pushed a commit to Rodhlann/Wildbook that referenced this pull request Dec 6, 2024
…_react_header

582 stonely widget in react header
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.

stonely widget enablement through react header
3 participants