The Situation
A mid-sized industrial and engineering company in the southeastern US had just bought HubSpot to run its marketing data, while Salesforce stayed its main CRM. Its WordPress landing pages used a third-party form plugin that sent leads straight to Salesforce, so HubSpot missed the tracking cookie and could not tie contacts to paid social, search and other campaigns. The team wanted a small script to pass each visitor's email and tracking cookie to HubSpot, leaving Salesforce to handle the rest.
What They Asked For
How Pros Approached It
The Kind of Pro Who Fits

A HubSpot developer comfortable with WordPress, front-end JavaScript and the HubSpot forms API.
Work Involved
Common Questions
Can HubSpot track attribution for forms that are not HubSpot forms?
Yes. With the HubSpot tracking code on the site, a small script can send the submitted email and the visitor's tracking cookie to HubSpot's forms API, which links the contact to their page views and original source.
Will adding HubSpot attribution break an existing Salesforce form integration?
It should not if done this way. The script sends a copy of the key details to HubSpot while the existing form keeps sending data to Salesforce as before, but it is worth testing both paths after go-live.
What does a Pro need to set this up?
Access to add code to the website, confirmation that every form includes an email field, a test page and form, and confirmation of whether the HubSpot tracking code is already running.