Hi,
It would be very nice if we could give shoppingcart steps their own url. Maybe something like www.domain.com/shoppingcart/step1 etc. This gives us the possibility to measure data more accurate in Google Analytics.
More information can be found in another topic on the developer forum here.
Kind regards,
Rob
Developer forum
E-mail notifications
Giving steps in the shoppingcart process their own url
Rob Lohmann
Posted on 25/10/2011 13:39:13
Replies
Nicolai Høeg Pedersen
Posted on 25/10/2011 13:45:18
You can create a URL Provider:
(en-US) Module URLs and URL providers.pdf from http://developer.dynamicweb-cms.com/downloads/documentation.aspx
(en-US) Module URLs and URL providers.pdf from http://developer.dynamicweb-cms.com/downloads/documentation.aspx
Rob Lohmann
Posted on 25/10/2011 14:12:46
Hi Nicolai,
How can I match the step provided in the url, with the correct step of the shoppingcart in the checkoutprocess? Isn't an url provider only for creating seo-friendly urls from an 'dirty' url?
Kind regards,
Rob
How can I match the step provided in the url, with the correct step of the shoppingcart in the checkoutprocess? Isn't an url provider only for creating seo-friendly urls from an 'dirty' url?
Kind regards,
Rob
Nicolai Høeg Pedersen
Posted on 25/10/2011 14:24:56
Hi Rob.
You can add you own step parameter to each step in the cart.
Dw posts the step=1|2|3... etc to work. You can add to the url being posted a parameter that has no use - i.e. MyStep={stepnum} - and then create a URL provider that handles MyStep parameter.
It should work in theory - but it needs a test.
You can add you own step parameter to each step in the cart.
Dw posts the step=1|2|3... etc to work. You can add to the url being posted a parameter that has no use - i.e. MyStep={stepnum} - and then create a URL provider that handles MyStep parameter.
It should work in theory - but it needs a test.
Rob Lohmann
Posted on 25/10/2011 14:39:34
Hi Nicolai,
Sounds good. Will test this and let you know.
Kind regards,
Rob
Sounds good. Will test this and let you know.
Kind regards,
Rob