Hi,
In an attempt to improve attribution we implemented a new user registration workflow.
On our pages we have a “try it free” button to register for a trial. We’ve set this button up to pop up a form requiring the email from the user in the hopes that since this will all occur on the same page with the URL containing the UTM parameters we will have better attribution. Upon submission of the email they are re-directed to our primary registration page which contains an iframe (I know, not ideal) of the non-hubspot form that captures all the rest of the data.
As they progress through the non-hubspot form each button click (Next, to move to the next “page” of the form) we submit a custom event to track progress through the form and finally upon completion we utilize Hubspots form scrapping AND submit the results to an actual Hubspot form via the Hubspot Form API (we were testing out if we got better attribution results with the form API and it appears safe to layer them, at least nothing broke as far as we can tell).
So far in our testing this appears to be working quite well, however we aren’t quite sold on the UX of this approach and we wanted to explore that idea of just directing the user to our primary registration page and when they first submit their email in the first step of the form we would call the Form API to submit that entry along with the hubspot utk and original page uri (we record these in a first party cookie). I was testing this out in the following steps:
- Go to registration page with UTM parameters.
- Enter email, hit next.
- In Python fire a form submission with the extracted hubspot utk and pageuri.
- Complete registration like normal.
In my initial tests everything was great, all the data was captured and the attribution worked. Until around 20 minutes later Hubspot updated the original traffic source to Direct Traffic.
What gives!?
I’ve seen in some google searching that Hubspot can change the original traffic source:
FROM AI:
HubSpot will automatically update the Original Source of a contact retroactively if they submit a form and match with an earlier, previously anonymous tracking cookie
I wouldn’t have expected situation to apply since the form submission via api is what created the contact, and I assumed this basically mimicked the behavior of have the form pop up from the try it free button.
However, I’m wondering if the presence of the custom event is mucking up the works? When I submit the email, the custom event fires and is Hubspot retaining that somewhere, so later one when its processing everything it connects that custom event to this user and because it happened in the iframe it views it as direct traffic that custom event had no access to the url parameters.
Any insight would be so greatly appreciated as this will likely determine if we can pursue this path or need to stick with the email form pop up.