Best placement of thank you page tied to forms for goal tracking?
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 www.abc.com/thankyou.html, and has 4 different forms using that singular thank you page. The form URLs are different like this: www.abc.com/project1/register-form.html and www.abc.com/project2/register-form.html. 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!
Re: Best placement of thank you page tied to forms for goal tracking?
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.