| Author |
Message |
X2 general comments ~ how to insert google analytics code to record together?
|
| norad |
Posted: Sun Jul 18, 2010 3:33 pm |
|
|
|
Joined: 21 Feb 2010
Posts: 4
|
Hi,
I have inserted my Google Analytics code into "imagevue/templates/index.gallery.phtml ". When viewing my report, I see lots of different gallery pages being recorded separately.
For example:
/gallery/index.php/content/gallery01/01.jpg/ > 300 pageviews
/gallery/index.php/content/gallery02/02.jpg/ > 220 pageviews
/gallery/index.php/content/gallery03/03.jpg/ > 140 pageviews
As you can imagine, the more hits I get on the gallery pages, the more complicated my analytics report gets. At the end, it is very difficult to see the other static pages of my website.
Is there anyway I can combine all these gallery pages into one single page and record them all together by placing the analytics code somewhere else?
Thank you |
|
|
| Back to top |
|
| mjau-mjau |
Posted: Mon Jul 19, 2010 6:08 am |
|
|
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 4858
|
You mean you want the gallery to operate as a single page in your Google analytics? It is the SWFAddress javascript that handles the in-depth SWF tracking for Google Analytics. I believe you can disable it by modifying the index.gallery.phtml:
Code: <script type="text/javascript" src="<?php echo IV_PATH; ?>javascript/swfaddress.js?tracker=null"></script>
It would still record visitors to the gallery, but not how they navigate within the gallery. |
_________________ Karl / mjau-mjau
www.mjau-mjau.com
www.imagevuex.com
www.photogallerylinks.com |
|
| Back to top |
|
| omriamos |
Posted: Mon Jul 19, 2010 9:55 am |
|
|
|
Joined: 24 Jul 2009
Posts: 13
|
I wish I had your "problem"...
my swfaddress is enabled, but I still get the statistics as only one page (and a few more pages from the html version) for some unknown reason.. |
|
|
| Back to top |
|
| mjau-mjau |
Posted: Tue Jul 20, 2010 9:28 am |
|
|
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 4858
|
omriamos wrote: I wish I had your "problem"...
my swfaddress is enabled, but I still get the statistics as only one page (and a few more pages from the html version) for some unknown reason..
What version of Imagevue X2 are you using? It could have something to do with either the Google analytics code you are using, as I remember they had two javascript options ... or it could be you are using an older version of the SWFaddress JS. |
_________________ Karl / mjau-mjau
www.mjau-mjau.com
www.imagevuex.com
www.photogallerylinks.com |
|
| Back to top |
|
| omriamos |
Posted: Wed Jul 28, 2010 11:38 pm |
|
|
|
Joined: 24 Jul 2009
Posts: 13
|
imagevue_x2.1.7.1
i believe it's the newest version.. |
|
|
| Back to top |
|
| mjau-mjau |
Posted: Sun Aug 01, 2010 11:16 am |
|
|
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 4858
|
Well, right now I kinda lost perspective of what your problem is to be honest. I thought you WANTED statistics as a single page ... Not sure why you would get from the HTML page, unless the code is embedded here also. Perhaps you have a link?
What exactly is it you want? A single analytics page hit, without sub pages? If you turn of SWFAddress, it would be impossible to get hits for subpages ... |
_________________ Karl / mjau-mjau
www.mjau-mjau.com
www.imagevuex.com
www.photogallerylinks.com |
|
| Back to top |
|
| norad |
Posted: Mon Aug 02, 2010 12:46 pm |
|
|
|
Joined: 21 Feb 2010
Posts: 4
|
mjau-mjau wrote: You mean you want the gallery to operate as a single page in your Google analytics? It is the SWFAddress javascript that handles the in-depth SWF tracking for Google Analytics. I believe you can disable it by modifying the index.gallery.phtml:
Code: <script type="text/javascript" src="<?php echo IV_PATH; ?>javascript/swfaddress.js?tracker=null"></script>
It would still record visitors to the gallery, but not how they navigate within the gallery.
It worked! Thanks a lot... |
|
|
| Back to top |
|
|
|