ASPX templates
Version 6.x > ASPX templates > About Implement Google Analytics Goal Tracking For Shopping Cart View modes: 
User avatar
Member
Member
ankit123-yahoo.co - 10/25/2012 7:07:58 AM
   
About Implement Google Analytics Goal Tracking For Shopping Cart
Hi,
In My E-Commerce site i have used Single page for all the process which are divided in 5 steps.
1. Customer Information,
2. Delivery Information,
3. Bank Information,
4. Payment Information
5. Confirmation

i want to track my all the above 5 steps from Google Analytics Goal.
but as per Google Analytics Goal requirement every steps has unique url.
but we have use only one page for all this steps.

Please help me in this.

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 10/25/2012 8:24:58 AM
   
RE:About Implement Google Analytics Goal Tracking For Shopping Cart
Hi,

URL in shopping process is not changing, because this whole process is ensured by ShoppingCartContent.aspx file which is loading single steps inside itself, so from outside look to URL there's really no change.

If you want to track shopping cart steps, you will have to customize source code of appropriate files in your web site's solution.
To do it, open Visual Studio and in solution explorer choose ~/CMSModules/Ecommerce/Controls/ShoppingCart\

There you can see particular files for appropriate steps of shopping process and their code-behind files, where you can do your customization. For example you can modify Page_Load and make record into database if that step was loaded, so you will be able to see which step in shopping cart process was reached by user.

You can also customize behavior of Previous / Next buttons in that process.

Although you can customize this procedure, there will be always difficult to say, when and where exactly user left shopping process, because he can just close the windows, skip out by clicking some different url on your page etc. This tutorial may be useful for you:

customization of purchase process

Best regards,
Ivana Tomanickova