Hi All, I have some problem in setting goal for one of my client website built with Bonsai CMS. I have the following pages, Contact Us: /contact-us Form Handler: /formhandler.php and placed in "/media/server-scripts/" Goal Page: /contact-us When the form is submitted the data from the form is received by the form handler. The form handler do some mail sending and DB operation and then the confirmation message is sent back to the contact us page. How can i set goal in Google analytics?. Please help me to do this.
Assuming formhandler.php is not visible to user. You may modify your contact page to something like: Initial page: /contact-us Goal page: /contact-us?submit=success The submit=success parameter will not change your site's functionality. But you can pass on that parameter to Google Analytics for goal tracking
Hi imperialDirectory, Thanks for the reply. Yes the formhandler.php is invisible. You have give me a good point to set goal. I will implement this to my client website. Once again thanks.