I don't have much to add to Pam's comments. This thread has some good information about first page and last page seen properties. You may browse through to see if it sparks anything for you.
I'd be curious if your first page seen is set? Also, these properties are automatically updated. You may check the property history of the last page seen property to see if you can see some stuff going on b/w HubSpot updating the property and your workflow trying to update the property.
Last page seen missing in workflow after form submit
SOLVE
Hey @jskowronek Yup, "last page seen could be tricky" but if the goal it's to track the exact page of the form submission I think we have a solution. Recent conversion never fails since you'd always have there "[Name of page]: [Name of form]" so that way if you want to save the page they converted in another property I think you could do it with Format Data actions if you simply want to use that information for triggers/branches you just need to use "contains" on the recent conversion property.
Hope it helped!!
José Pedro Forte RevOps Manager at Infraspeak
• Hubspot Champion User - 2019 • Marketing Hub Champion User - 2020 • +100 Hubspot Community Kudos - 2023 • Community Champion - 2023
Hubspot headaches? Let's turn Oh's into workflows!
Last page seen missing in workflow after form submit
SOLVE
Hey @jskowronek Yup, "last page seen could be tricky" but if the goal it's to track the exact page of the form submission I think we have a solution. Recent conversion never fails since you'd always have there "[Name of page]: [Name of form]" so that way if you want to save the page they converted in another property I think you could do it with Format Data actions if you simply want to use that information for triggers/branches you just need to use "contains" on the recent conversion property.
Hope it helped!!
José Pedro Forte RevOps Manager at Infraspeak
• Hubspot Champion User - 2019 • Marketing Hub Champion User - 2020 • +100 Hubspot Community Kudos - 2023 • Community Champion - 2023
Hubspot headaches? Let's turn Oh's into workflows!
I don't have much to add to Pam's comments. This thread has some good information about first page and last page seen properties. You may browse through to see if it sparks anything for you.
I'd be curious if your first page seen is set? Also, these properties are automatically updated. You may check the property history of the last page seen property to see if you can see some stuff going on b/w HubSpot updating the property and your workflow trying to update the property.
To your question, in our tests, it appears to be inconsistently being set. We have observed through property history, but this doesn't explain why the property isn't set before the workflow is firing. I supposed if everything is being evented my only guess is that it's a race condition on eventual data consistency for the submit event.
It would be great to not have to inject script to assign the page URL where HS is already supposed to be doing it behind the scenes.
Last page seen missing in workflow after form submit
SOLVE
Hey @jskowronek thank you for posting in our Community!
The "Last page seen" (hs_analytics_last_url) property might come in empty if tracking data isn’t fully captured at the time of form submission, often due to users declining cookies, browser privacy settings, or certain ad blockers. Additionally, if users navigate quickly or there’s a delay in loading analytics scripts, the URL may not get recorded consistently. As a workaround, consider adding a hidden field to your form to capture the current page URL, which can help ensure the origin page data is always saved.
Last page seen missing in workflow after form submit
SOLVE
Thanks for the quick reply @PamCotton . I was afriad that would be the case. We were hoping to avoid needing to inject custom script for "every" form that would go out. We'd considered throwing in a delay into the workflow but we'd be at the mercy of whichever "last page" they navigated to before the workflow triggered.