Jump to content

statcounter code for Gallery light box view

Featured Replies

Posted

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?

  • Author

can any 1 look into this 

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

  • 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

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

 

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?

  • 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 

image.thumb.png.28db7c0407370ef390857641332d5a73.png

 

 

 

Just put it in your globalTemplate-file. ?

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.

  • 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 

  • Author

putting the code before body tag  still not coming in light box mode

 

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.

  • 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

  • Author

when image changes -- it should reflect in an increment 

Archived

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

Recently Browsing 0

  • No registered users viewing this page.