Tips, Tricks & Best Practices

jskowronek
参加者

Last page seen missing in workflow after form submit

解決

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 いいね!
2件の承認済みベストアンサー
RSchweighart
解決策
トップ投稿者 | Gold Partner
トップ投稿者 | Gold Partner

Last page seen missing in workflow after form submit

解決

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 いいね!
jforte
解決策
トップ投稿者

Last page seen missing in workflow after form submit

解決

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 !

元の投稿で解決策を見る

5件の返信
jforte
解決策
トップ投稿者

Last page seen missing in workflow after form submit

解決

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
解決策
トップ投稿者 | Gold Partner
トップ投稿者 | Gold Partner

Last page seen missing in workflow after form submit

解決

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 いいね!
jskowronek
参加者

Last page seen missing in workflow after form submit

解決

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
コミュニティーマネージャー
コミュニティーマネージャー

Last page seen missing in workflow after form submit

解決

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


Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success.
Don't miss this opportunity to connect and grow—reserve your spot today!

0 いいね!
jskowronek
参加者

Last page seen missing in workflow after form submit

解決

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 いいね!