Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Google Analytics - How do I set up goals dynamic pages?

11:02 pm on Apr 26, 2010 (gmt 0)

New User

5+ Year Member

joined:Mar 25, 2010
posts: 14
votes: 0

Hello there,

I have a signup page which also loads the thank you page in the same url... www.mysite.com/Signup.php is also the thank you page.

Google say:

Identical URLs across multiple steps

You may also wish to track visitors' progress through a funnel which has the same URL for each step. For example, your sign up funnel might look like this:
Step 1 (Sign Up): www.mysite.com/sign_up.cgi
Step 2 (Accept Agreement): www.mysite.com/sign_up.cgi
Step 3 (Finish): www.mysite.com/sign_up.cgi
To get around this, you can call the _trackPageview function within each step (probably within an onload event), as shown below.
<google code>
Then, set up each step of your funnel to be:

<google code>
The path/filename argument need not represent an existing path or filename. The argument to _trackPageview simply provides a made-up pagename to which Google Analytics can attach pageviews.

But I reallly do not understand what to do here, I put this in my code and setup the goal...

<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript">
<script type="text/javascript">
_uacct = "UA-1520030-1";



But it did not work =[

What should I be doing?
11:03 pm on Apr 26, 2010 (gmt 0)

New User

5+ Year Member

joined:Mar 25, 2010
votes: 0

grr.. wish I could edit the title =[
2:31 am on Apr 29, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 14, 2003
votes: 0

You need to create the other page(s) in your funnel tracking, with the thank you page as the goal. The intermediate pages would look something like what's below, which my script:

<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"></script>
<% if request.form("mode")="" then %>
<script type="text/javascript">_uacct = "UA-12345"; urchinTracker("/funnel_1/cart.htm");</script>
<% elseif request.form("mode")="checkout" then %>
<script type="text/javascript">_uacct = "UA-12345"; urchinTracker("/funnel_1/customer_details.htm");</script>
<% elseif request.form("mode")="go" AND checkIntOptions=TRUE then %>
<script type="text/javascript">_uacct = "UA-12345"; urchinTracker("/funnel_1/payment_details.htm");</script>
<% end if %>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));