Analytics
2.1K members online now
2.1K 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
star_border
Reply

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

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:
https://developers.google.com/analytics/devguides/collection/analyticsjs/pages

This way you can create specific goals for specific projects.

Kind regards,
Zorin
Web analyst @ escapestudio.net