We have a marketing site (example.com) that we use and then run our signups through a subdomain (platform.example.com). We’re trying to link an account that’s created on the subdomain to the user data (web analytics, referrers, etc) to the account that’s created on our service (where an email is typically entered). We’re using our own form on our subdomain to create the account.
We have access to the utk on both domains through the hubspot cookie. When we capture the user data using our own form, we’d like to take the vid associated with the utk and turn that into a contact with the email address and customer information that we capture.
When we access the vid from the utk using the API call:
The “is-contact” property is returning False. We’ve tried to forcefully update a record through the vid, event though the is-contact property is false, using the following API call:
However, we’re receiving an error:
“Can’t set properties when vid is not a contact.”
Is there a way to create a contact based on a utk (where the associated vid is not yet a contact)?
Or is there a better way to accomplish this?