[ic] Receipt.html and URL Parameters

Mike Heins mike at perusion.com
Wed Mar 22 16:43:31 EST 2006

Quoting Joshua Lavin (joshua at kingdomdesign.com):
> On Mar 22, 2006, at 3:38 AM, Phil Dye wrote:
> >A long time ago (October 2003!), Gary Norton posted this to the list;
> >
> >>Their system runs a small generic JavaScript that I have embedded  
> >>into the
> >>Template pages so that it is available on every page. It sends the  
> >>URL of
> >>each page to their real-time engine.
> >>
> >>This engine builds its reports based on the occurrence of  
> >>particular URLS.
> >>However the receipt.html shows up process.html and it is messing  
> >>up their
> >>stats. Process.html appears far more frequently than the Receipt  
> >>page is
> >>delivered.
> >>
> >>So I need to come up with a way to change the URL so that their  
> >>parser
> >knows
> >>when somebody arrives at the receipt.html page.
> >>
> >>If the receipt.html page was displayed as any other name than  
> >>process.html
> >>it would work.
> >>
> >>I figured that the page name could stay Process.html as long as I  
> >>added a
> >>URL parameter such as ?finished=1 or something like that.
> >
> >. but I can't see a subsequent followup in the archives. I'm now in  
> >exactly
> >the same situation, so does anyone have any suggestions how I can  
> >achieve,
> >or workaround, this?
> I'd like to have a uniquely-named receipt.html as well, but my lame  
> workaround for now is to load an image with a CGI parameter on the  
> receipt page:
> <img src="ct_ecommerce.gif?ct_ecommerce=[total-cost noformat=1]"  
> width="1" height="1" />
> (We use ClickTracks.)

It's actually easy. Just use this intead of [process] and mv_todo
on the checkout form:

	<form action="[process href=receipt]" method="POST">

	<input type="hidden" name="mv_action" value="refresh">

Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

There's nothing sweeter than life nor more precious than time.
-- Barney

More information about the interchange-users mailing list