![]() |
Implementing MoxieChat with ProductCart? |
Post Reply ![]() |
Author | |
TrekLightGear ![]() Newbie ![]() Joined: 24-April-2007 Location: Boulder, CO Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 05-October-2008 at 11:26pm |
Hey everyone -
I'm trying to setup MoxieChat on my PC powered website. If you're not familiar, the way MoxieChat works is that it can detect if someone exits your site and will automatically pop up a chat window to engage the customer and offer a coupon. I'm trying to figure out how to best implement the code and I'm hoping some of you out there can help. I tried pasting it into the footer.asp file and the code seems to work the way it's intended...if I'm surfing any page of my site and I close the window it catches it and pops up the chat. However for some reason when I add a product to the shopping cart it's seeing that as exiting the site and I'm not sure why. As far as I know footer.asp is still being used on the viewprd.asp page so I can't understand why it thinks the page has been exited? Any ideas? |
|
![]() |
|
ProductCart ![]() Admin Group ![]() ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
![]() ![]() ![]() ![]() ![]() |
That's probably because the form handler for viewPrd.asp, which is "instPrd.asp", does not use that file. There might be other form handlers throughout the checkout process that do not use the header and footer. That's because - for performance reasons - the store interface (header.asp and footer.asp) is not loaded when the page is not a page that displays information back to the customer.
|
|
![]() |
|
TrekLightGear ![]() Newbie ![]() Joined: 24-April-2007 Location: Boulder, CO Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Are there any recommendations for a way to incorporate such an add-on with ProductCart?
I'm confused as to how something like the Google Analytics code works to track the visitor through the entire site since that code is inserted into the footer.asp file. Based on what I'm seeing here and your response wouldn't GA also be seeing the visitor as exiting the site during the checkout process? Any ideas on how I can implement a script like this that will be able to recognize a true exit of the site would be appreciated! |
|
![]() |
|
TrekLightGear ![]() Newbie ![]() Joined: 24-April-2007 Location: Boulder, CO Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Just wanted to bump this one and see if anyone had any ideas. Basically is there any place I can put code that is designed to react when someone leaves my website so that it doesn't recognize a customer making a purchase as leaving the website? (see above)
|
|
![]() |
|
Matt ![]() Moderator Group ![]() Joined: 20-July-2006 Location: United States Status: Offline Points: 73 |
![]() ![]() ![]() ![]() ![]() |
Your best bet is "stringfunctions.asp" in the includes folder. That is in just about every file.
|
|
![]() |
|
TrekLightGear ![]() Newbie ![]() Joined: 24-April-2007 Location: Boulder, CO Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Thanks Matt, I'll give that a try and see how it goes...
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |