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

[hubspot] Hubspot adds url parameters making them invalid #44

Open
SegmentDestinationsBot opened this issue Aug 20, 2018 · 2 comments
Open

Comments

@SegmentDestinationsBot
Copy link
Contributor

Migrated from #17 by @slowtokyo

I am having the issue as detailed in here: segmentio/analytics.js#504 when I try to add a url parameter to a query string hubspot puts its queries in front of the existing queries thereby creating an invalid URL. I have found a way around this that doesn't impact my analytics, but shouldn't the Hubspot query strings be appended to the end of any existing query strings?

The URL I want to create:
https://foo.bar.co/#/register?__hstc=6222316.1d2b332e80357701bf2ef394e3a88e1b.1508536177681.1521725761504.1521729618139.158&__hssc=6222316.4.1521729618139&__hsfp=1692073022&plan=professional

The URL that I get:
https://foo.bar.co/?__hstc=6222316.1d2b332e80357701bf2ef394e3a88e1b.1508536177681.1521725761504.1521729618139.158&__hssc=6222316.11.1521729618139&__hsfp=1692073022#/register?plan=professional

@AlexCppns
Copy link

So what's the fix for this?? Our urls are polluted by those parameters.

@erikakalar
Copy link

Is this still being worked on? We have this issue, too.

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

No branches or pull requests

3 participants