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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor Segment improvements (custom proxy domain and updated snippet) #436

Merged
merged 2 commits into from
May 5, 2022
Merged

Minor Segment improvements (custom proxy domain and updated snippet) #436

merged 2 commits into from
May 5, 2022

Conversation

GabrielCousin
Copy link
Contributor

Hello 馃憢
Segment is about to ditch Analytics.js Classic and appears to need a most recent version of the snippet https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/upgrade-to-ajs2/ which is the purpose of that PR.
I also took the liberty to add a new option which would allow to use a custom proxy domain: https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/custom-proxy/
Let me know if I can help in any way :)
Thanks!

@GabrielCousin
Copy link
Contributor Author

Hi @jherdman! Is there anything I could do to make the test suite run? And hopefully got a review from yours 馃檹 Thanks a bunch!


// Load Analytics.js with your key, which will automatically
// load the tools you've enabled for your account.
// load the tools you've enabled for your account. Boosh!
Copy link
Contributor

Choose a reason for hiding this comment

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

lol @ boosh

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Haha yeah I kept the funny parts

@jherdman
Copy link
Contributor

jherdman commented May 4, 2022

Apologies, I'm not getting notifications on this repo for some reason. Thank you for tagging me. I've kicked CI, let's see what happens.

@GabrielCousin
Copy link
Contributor Author

No worries at all! Thanks for this

@jherdman jherdman merged commit 89ee2a4 into adopted-ember-addons:master May 5, 2022
@jherdman
Copy link
Contributor

jherdman commented May 5, 2022

Many thanks for your contribution!

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.

None yet

2 participants