Tips, Tricks & Best Practices

jskowronek
Participant

Last page seen missing in workflow after form submit

SOLVE

Having a difficult time finding additional information on the "Last page seen" property (hs_analytics_last_url) coming in empty in a workflow we have.

 

We'd like to use the URL of the origin webpage with an embedded form, but this field doesn't appear to be getting set consistently.

 

Any help appreciated.

0 Upvotes
2 Accepted solutions
RSchweighart
Solution
Top Contributor | Gold Partner
Top Contributor | Gold Partner

Last page seen missing in workflow after form submit

SOLVE

Thank for the tag, @PamCotton!

Hi @jskowronek,

 

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.

RSchweighart_0-1731630544474.png

 

All the Best,

Ryan Schweighart

Whole Hart Impact, LLC

whimpact.co

I help businesses with HubSpot and Zapier. 

View solution in original post

0 Upvotes
jforte
Solution
Top Contributor

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é Forte - Hubspot ChampJosé 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!

Let's Connect !

View solution in original post

5 Replies 5
jforte
Solution
Top Contributor

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é Forte - Hubspot ChampJosé 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!

Let's Connect !
RSchweighart
Solution
Top Contributor | Gold Partner
Top Contributor | Gold Partner

Last page seen missing in workflow after form submit

SOLVE

Thank for the tag, @PamCotton!

Hi @jskowronek,

 

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.

RSchweighart_0-1731630544474.png

 

All the Best,

Ryan Schweighart

Whole Hart Impact, LLC

whimpact.co

I help businesses with HubSpot and Zapier. 

0 Upvotes
jskowronek
Participant

Last page seen missing in workflow after form submit

SOLVE

Thanks for the link @RSchweighart.

 

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.

PamCotton
Community Manager
Community Manager

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.

 

To our top experts, @RSchweighart, and @jforte do you have any recommendations for @jskowronek?

 

Thank you,

Pam

Você sabia que a Comunidade está disponível em outros idiomas?
Participe de conversas regionais, alterando suas configurações de idioma !


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




0 Upvotes
jskowronek
Participant

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.

Thanks.

0 Upvotes