Announcement

Collapse
No announcement yet.

capturing the actual url into a variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    capturing the actual url into a variable

    I'm using a translating service that creates auto translated versions of our website. Since the translated versions are hosted on their servers, orders placed on the translated sites look the same as ones placed on our English version. I'm trying to create internal analytics to accurately determine the number of orders placed through the translated versions.

    I had the idea to capture the url on a checkout page and print it on the order confirmation-merchant page but the variable s.documenturl doesn't seem to return anything. The only mention of it seemed to be in really old forum posts. Is there an effective way to capture the current url?

    #2
    Re: capturing the actual url into a variable

    I'm pretty sure s.documenturl still works; I use it form time to time in my own work. I'd suggest taking a closer look at that part of your code. If you post it here, someone may have some advice for you. There's also g.sessionurl and g.secure_sessionurl.
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

    Comment

    Working...
    X