Skip to content

hubspotutil: separate request for firstsourceURL property

Administrator requested to merge fa/fsu-unchanged into main

Created by: attfarhan

First source URL is a property that should only be set once and never changed. HubSpot unfortunately does not provide a setting that enforces this, so we have relied on the cookie being set to not expire to ensure the value doesn't get updated.

This PR adds a separate request that only fires when the user is a new contact in HubSpot, and if so, updates the first source URL for that contact. This further safe guards against the edge cases (browser cookies being cleared, logging in from a different computer, etc.) that may update the first source URL property unwantedly.

Merge request reports

Loading