Tips, Tricks & Best Practices

jskowronek
Participante

Last page seen missing in workflow after form submit

resolver

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 Avaliação positiva
2 Solução aceitas
RSchweighart
Solução
Top colaborador(a) | Parceiro Ouro
Top colaborador(a) | Parceiro Ouro

Last page seen missing in workflow after form submit

resolver

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. 

Exibir solução no post original

0 Avaliação positiva
jforte
Solução
Top colaborador(a)

Last page seen missing in workflow after form submit

resolver

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 !

Exibir solução no post original

5 Respostas 5
jforte
Solução
Top colaborador(a)

Last page seen missing in workflow after form submit

resolver

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
Solução
Top colaborador(a) | Parceiro Ouro
Top colaborador(a) | Parceiro Ouro

Last page seen missing in workflow after form submit

resolver

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 Avaliação positiva
jskowronek
Participante

Last page seen missing in workflow after form submit

resolver

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
Gerente da Comunidade
Gerente da Comunidade

Last page seen missing in workflow after form submit

resolver

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 Avaliação positiva
jskowronek
Participante

Last page seen missing in workflow after form submit

resolver

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 Avaliação positiva