homepage Welcome to WebmasterWorld Guest from 54.227.11.45
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
tracking an enquiry form w/ analytics
use ecommerce analytics to track fields in forms
souffle




msg:4004974
 10:45 pm on Oct 10, 2009 (gmt 0)


I want to track an enquiry form using analytics ecommerce code option. I want to generate a uniques number for each enquiry. Then i want analytics to track these codes. I know in ecommerce you can track unique order numbers so basicly this will be the same idea except i will be tracking an enquiry instead of a sale.

Will the following codes below help me do that and can some one take me step by step on how to do this. Is it as simple as adding the following code below to the thank you page.

The form will have the following:

Name: - Will not track due to Google privacy T&C
Email: Will not track due to Google privacy T&C
City: I want to track ( im sure google will not mind)
Service: I want to track
Order number: I want to track

Taking the information above can some one take me through how to place a code on the thank you page assuming basic ecommerce analytics is set up.

i know the code below is some how envolved please help and be as specific as possible

<script type="text/javascript"> var pageTracker = _gat._getTracker("UA-#*$!#*$!-1"); pageTracker._trackPageview();

pageTracker._addTrans("<new user id>", "<referral user id>", "1", "", "", "<new user city>", "<new user state>", "<new user country>"); pageTracker._addItem("<new user id>", "<new user id>", "<new user first name>", "<new user last name>", "1", "1"); pageTracker._trackTrans(); </script>

Thanks

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved