Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Update HubSpot contacts integration#62667

Merged
akalia25 merged 8 commits into
mainfrom
ak/update-hubspot-cookie-mapping
May 23, 2024
Merged

Update HubSpot contacts integration#62667
akalia25 merged 8 commits into
mainfrom
ak/update-hubspot-cookie-mapping

Conversation

@akalia25

@akalia25 akalia25 commented May 14, 2024

Copy link
Copy Markdown
Contributor

Based on new cookies added to the GTM script, we are updating our private app integration to capture these values on a signup/sigin flow. The Google Tag Manager script only updates properties on HubSpot when a HubSpot form is completed and not during a regular sign-in/sign-up flow.

Test plan

Test via CI and see if I can test with a local deployment

@cla-bot cla-bot Bot added the cla-signed label May 14, 2024
@akalia25 akalia25 requested a review from dadlerj May 14, 2024 18:41

@dadlerj dadlerj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! This looks great. Just a few comments and then good to go

Comment thread cmd/frontend/hubspot/contacts.go Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think you're missing last_page_seen_url

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There's no last_page_seen_url HubSpot contact property, instead we're updating the last_source_url Contact Property(as its connected to custom workflows) with the new last_page_seen_url Cookie that gets created/set on GTM.

Comment thread cmd/frontend/internal/app/ui/handlers.go Outdated
@akalia25 akalia25 marked this pull request as ready for review May 20, 2024 17:54
@dadlerj dadlerj self-requested a review May 20, 2024 23:39

@dadlerj dadlerj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM thanks!

Comment thread cmd/frontend/hubspot/contacts.go Outdated
@graphite-app

graphite-app Bot commented May 23, 2024

Copy link
Copy Markdown

(Notifying @sourcegraph/source of a change that affects gitserver)

@graphite-app graphite-app Bot added the team/source Tickets under the purview of Source - the one Source to graph it all label May 23, 2024
Comment thread cmd/gitserver/internal/git/gitcli/refs.go Outdated
@eseliger eseliger force-pushed the ak/update-hubspot-cookie-mapping branch from 5853548 to a62613e Compare May 23, 2024 19:56
@akalia25 akalia25 merged commit 95b0ed1 into main May 23, 2024
@akalia25 akalia25 deleted the ak/update-hubspot-cookie-mapping branch May 23, 2024 20:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/source Tickets under the purview of Source - the one Source to graph it all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants