Forums / General Questions / URL of purchase confirmation thank-you page

URL of purchase confirmation thank-you page

Started by jen697 on 9 Aug 2012, 12:14 AM · Views: 1,870

Results 1 to 5 of 5
9 Aug 2012, 12:14 AM
#1
jen697 avatar

jen697

New Zenner

Join Date:
Aug 2012
Posts:
2
Plugin Contributions:
0

URL of purchase confirmation thank-you page

For analytics tracking purposes, we asked our developer for the URL of the confirmation page after a user completes a purchase. The URL he provided was index.php?main_page=checkout_confirmation. This is the same URL of Step 3 of the checkout process though - before the user confirms the purchase and may still drop out and not complete the purchase. So (assuming this is the correct and actual URL of the confirmation thank you page), is there a way to change this URL to make it totally unique? Our developer said it would take many hours of significant coding changes, and I am hoping he is mistaken.

Thanks!

9 Aug 2012, 12:41 AM
#2
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: URL of purchase confirmation thank-you page

You should try index.php?main_page=checkout_success instead

Using maybe these files
\includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_success_default.php
\includes\modules\pages\checkout_success\header_php.php

or you could use the notifier at the end of
\includes\modules\checkout_process.php

9 Aug 2012, 1:01 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: URL of purchase confirmation thank-you page

Right. main_page=checkout_success is the page customers arrive at when completing their purchase. You can see it for yourself if you place an order ... which you should always do from time to time ;)

If you need even more information about handling things after checkout, there are these articles on affiliate sales data tracking:
http://www.zen-cart.com/content.php?299-how-do-i-add-affiliate-tracking-pixels-to-my-site
http://www.zen-cart.com/content.php?322-Integrating-Sales-Analytics-and-Affiliates-Tools

And of course several existing GA addons in the Plugins section too.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Aug 2012, 6:57 PM
#5
jen697 avatar

jen697

New Zenner

Join Date:
Aug 2012
Posts:
2
Plugin Contributions:
0

Re: URL of purchase confirmation thank-you page

Thanks so much guys! I've passed this info on to our developer and hope that he is able to make the change!