AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

4.5K members online now
4.5K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
Guide Me

Best placement of thank you page tied to forms for goal tracking?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi all,


This appears to be a 2 part question:


1. Structurally, for the sake of accurate tracking, what is the best place to put the thank you page? Currently a client we're working with has, and has 4 different forms using that singular thank you page. The form URLs are different like this: and We set up goal tracking in GA, but issue #2 arises.


2. When we set up goal tracking for the 4 forms, we set up /thankyou.html as the destination page, and  project1/register-form.html as the required first step. The other goals used project2/register-form.html, project3/register-form.html, etc. as the required first step so as to differentiate the goals. However, this appears to give the same number of completions to all the goals.


How do we proceed here so we can get accurate goal tracking per form?


Thanks in advance!

1 Expert replyverified_user

Re: Best placement of thank you page tied to forms for goal tracking?

Top Contributor
# 2
Top Contributor
Hi Ryan,

the easiest way to proceed would be to override the page once the user land on the thank you page which would mean instead of /thankyou.html you would actually send /thankyou1.html. You will assign the right page depending if the document.referrer contains (indexOf) project1 or 2 or ...

ga('send', 'pageview', '/thankyou1.html');

More info here:

This way you can create specific goals for specific projects.

Kind regards,
Web analyst @