| Analytics Goal Setting Dynamic contact pages using post |
cayleyv

msg:1125420 | 9:52 pm on May 4, 2006 (gmt 0) | i apoligize if this is in the wrong location, i didnt see a GAnalytics specific forum. ihave a lot of goal pages that are dynamic forms, and the completed form displays the same url. for example, a contact page may look like this contact.php and the submitted form posts to the same url contact.php. i dont want to modify all my forms to use a second confirmation page. can i insert a custom utm variable for these? thank you
|
Cakkie

msg:1125421 | 9:17 am on May 5, 2006 (gmt 0) | I think the easiest thing to do is to add a?var to the form url. <form action=contact.php?goal=1 method=post> This will still result in a POST request beeing made, with no need to further modifications to the script. In GA you can then set the goal page to contact.php?goal=1 (make sure to set it to exact match only).
|
cayleyv

msg:1125422 | 11:19 pm on May 5, 2006 (gmt 0) | this is a good idea - however i think it will be a bit trickier. you cannot have the form post to contact.php?goal=1 because if the user did not fill out all form fields correctly, they will have to repost. however, the success page could have an additional variable. is there no way to add specific tracking codes in the UTM javascript lines?
|
cayleyv

msg:1125423 | 9:30 am on May 12, 2006 (gmt 0) | i found the answer to tracking dynamic pages you can insert dummy[non existant] pages that count as conversions: urchinTracker('/contactgoal.asp');__utmSetTrans()" [google.com...]
|
|
|