Skip to content
This repository has been archived by the owner on Aug 21, 2018. It is now read-only.

Hubspot adds url parameters making them invalid #17

Open
slowtokyo opened this issue Mar 22, 2018 · 1 comment
Open

Hubspot adds url parameters making them invalid #17

slowtokyo opened this issue Mar 22, 2018 · 1 comment
Labels
migrated The issue has been migrated

Comments

@slowtokyo
Copy link

slowtokyo commented Mar 22, 2018

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

@SegmentDestinationsBot
Copy link
Contributor

Hi @slowtokyo, as part of the monorepo migration, this issue has been moved to new issue. Our engineers have been notified and will prioritize and work on it ASAP. Thank you!

For more information, see README.md.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
migrated The issue has been migrated
Projects
None yet
Development

No branches or pull requests

2 participants