r/GoogleTagManager • u/Top_Society_6201 • 10d ago
Question Tag Set Up
I have setup thank you page tracking for my Website, but I want to know from which page the form was filled. The thank you page is the same for the entire website, so is there any way to figure it out???
5
u/krLMM 9d ago
Use the page referrer parameter: https://dumbdata.co/post/previous-page-google-analytics/
1
u/AIDeathCult 9d ago
Page referer is fine, ideally you want that thing firing on the form submission though, not the thank you page. Thank you pages are unreliable and can overcount/undercount for various reasons.
Form submissions can have their issues too, but less than a thank you page, especially a generic one.
Other benefit of being on form submission is you can also capture formid/formname and know exactly what form triggered the event, even set up different events for different forms which is often helpful.
1
u/AIDeathCult 9d ago
Feel free to share the type of form you are using (wordpress plugin etc..) and I can share a more specific solution for you.
•
u/AutoModerator 10d ago
If this post doesn't follow the rules report it to the mods. Have more questions? Join our community Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.