Associate custom id on query string with contact on page visit

willvv
Member

Hi,

 

I'm generating an internal user id after a user installs our software. 

During the installation process I launch a "getting started" page  in our site.

I was thinking on attaching the id to the url to the getting started page (e.g. http://mysite.com/getting-started?userId=123) and then have that userId attached to the contact's record in Hubspot.

 

Is there any way to do this?

I know the visited URLs are automatically tracked for every contact, but is it possible to add it to a custom field in their record?

 

Thanks for the info

 

 

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Employee

Hey @willvv ,

 

It's not possible for this to happen out-of-the-box, but it's possible to take advantage of the identify function of the Tracking Code API to identify visitors as contact records and update contact properties:

https://developers.hubspot.com/docs/methods/tracking_code_api/identify_visitor

0 Upvotes