Jump to content

statcounter code for Gallery light box view


Saurabh Jain

Recommended Posts

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

image.thumb.png.70b493d75559cba63bac3b0ce748e6c9.pngimage.thumb.png.70b493d75559cba63bac3b0ce748e6c9.png

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...