I have a website that uses an external shopping cart. I want to use popUp ads when the visitor leaves the website, which can be done with onUnload but the problem comes as follows:
when the visitor adds a product from the main website into its shopping cart, the url changes to the external shopping cart address. This trigers the popUp ad to be displayed, which shouldn't display when the external shopping cart address is loaded in the browser window. Instead the popUp should display when either the browser window is closed or any other url is loaded.
Any help would be appreciated and ofcourse the points would be awarded. Thanks in advance.