October 26th, 2012LWMW: Can I prevent modal window from counting as a new organic visit?
Knowledge Base support case for Likno Web Modal Windows Builder, abstracted and stripped of all user’s private info.
Initial Email From: Eric
Initial Email Subject: onload modal produces doubles new organic visits
Support Case Month: October 2012
I have a modal window that opens onload at postcardmania.com. If you go there and don't see it, clear your cookies.
This modal is doubling new organic visits to our homepage, that is, the modal is considered a new organic visit AND the homepage is considered a new organic visit. I need to be able to stop the modal window from counting as a new organic visit.
This is the modal script:
<script type="text/javascript">
var lwmwLinkedBy="LiknoWebModalWindows [1]",lwmwName="hp-popup",lwmwBN="240";
</script><script charset="UTF-8"
src="/hp_popup2/hp-popup-assets/hp-popup2.js"
type="text/javascript">
</script>When I set this up originally, I asked for some advice from you (Linko support) on how to set it up. I was given this script to trigger the popup:
<script language="javascript">
function openMyModal() {
if (typeof(hppopup2)!="undefined")
hppopup2({bodySource:"<div externalUrl='hp_popup2/hp1.php?theUrl="+document.location.href+"' style='z-index:4000;'>&nsbp;</div>"});
else
setTimeout(openMyModal, 500);
}
</script>Do you have any ideas about how I can prevent the modal popup from counting as a new organic visit?
Related URL: http://www.postcardmania.com/
Reply From: Likno Customer Support
Dear Eric,
Not sure how Google works, but it is highly possible that any iframe would count as a new organic visit.
Also you may want to check for any Google code that you have at the “'hp_popup2/hp1.php” page as the problem may be there.
Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter
Tags: code, counting, google, homepage, iframe, jquery, modal, modal window, new, onload, organic, popup, prevent, trigger, visit, website, window