Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 25, 20186 yr I used to have a statcounter code with google analytics but with new changes ... It was turning up at top of page... so I put the code in advertisement footer ... but however this does not turn up during gallery light box view where to place the code?
May 25, 20186 yr I'm sure someone can....but you've provided nothing of use, to be honest. "I've got this code, which I haven't provided for you to see. Can someone tell me the best place to put it?" Show your code
May 25, 20186 yr Author 1 hour ago, Nathan Explosion said: I'm sure someone can....but you've provided nothing of use, to be honest. "I've got this code, which I haven't provided for you to see. Can someone tell me the best place to put it?" Show your code <div align="center"> <!-- Start of StatCounter Code for Default Guide --> <script type="text/javascript"> var sc_project=xxxxxxxx; var sc_invisible=0; var sc_security="baf9fbe9"; var sc_text=2; var scJsHost = (("https:" == document.location.protocol) ? "https://secure." : "http://www."); document.write("<sc"+"ript type='text/javascript' src='" + scJsHost+ "statcounter.com/counter/counter.js'></"+"script>"); </script> <noscript><div class="statcounter"><a title="web statistics" href="http://statcounter.com/" target="_blank"><img class="statcounter" src="//c.statcounter.com/11258398/0/baf9fbe9/0/" alt="web statistics"></a></div></noscript> <!-- End of StatCounter Code for Default Guide --> <a href="http://statcounter.com/p11258398/?guest=1">View Stats</a> </div> bottom of page view stats
May 25, 20186 yr So what help do you actually need? You've got the code in place on your site already - and it's displaying where you show it in the screenshots. Do you want it somewhere else? If so, where do you want it to be?
May 25, 20186 yr Author In Gallery light box it is not coming the page count is not increasing I tried placing in the advertisement - light box -= the page breaked changing images cannot be tracked the number of page views remains same
May 25, 20186 yr 14 minutes ago, simonle said: Just put it in your globalTemplate-file. ? Yep, in the absence of an answer to where you actually want it to be displayed (not where it isn't being displayed when you have it in place now) then just shove it at the bottom of the global template before the closing body tag.
May 26, 20186 yr Author The concern is that Footer places advertisement does not work in Gallery lightbox view and If i place ad in lightbox view.. the page get break This may not be a right solution , as every Time I upgrade.... this template will not get upgrade
May 27, 20186 yr 52 minutes ago, Saurabh Jain said: putting the code before body tag still not coming in light box mode 1 Yeah, when the user browses the images in the lightbox they are actually not switching pages, just images. If you add the code in the lightbox view I would imagine that your traffic stats gets messed up.
May 27, 20186 yr Author 16 minutes ago, simonle said: Yeah, when the user browses the images in the lightbox they are actually not switching pages, just images. If you add the code in the lightbox view I would imagine that your traffic stats gets messed up. yes how to keep the count of number of page views.... url is changing when changing image
June 2, 20186 yr Author This plugin will solve the problem This will disable the lightbox https://invisioncommunity.com/files/file/9015-disable-gallery-images-lightbox/
Archived
This topic is now archived and is closed to further replies.