Login / Register






Lost Password?
No account yet? Register

Terms & Conditions

  • free for any usage
  • you can modify templates in any way (including footer links)
  • you cannot redistribute templates in any website
Read more...
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Dont see analytics code when I view source on site (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Dont see analytics code when I view source on site
#434
jwhite68 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Dont see analytics code when I view source on site 3 Months, 2 Weeks ago Karma: 0  
I think I have followed the instructions correctly for the install, but cannot see the analytics code when I 'view source' on a any web page.

If I view the site module:

Show title: No
Position: debug
Module order: 1:Google Analytics tracking module for VirtueMart
Access level: Public
Published: Yes
.
.
Parameters:

Analytics_uacct_code: UA-??????? <--- just my UA code is here
Analytics_udn site: Left empty (as recommended)
Tracking: yes
vm: no
regis: no
affiliation: Left blank

On the right hand side of the site module, has Menu Item Links set to 'All'. So presumably should be appied to each page.

Do I have to switch on debugging at site level for this to be applied? If so, is there another template that can be chosen, as dont want general public choosing 'view source' and seeing all SQL code at the end of the view!!
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/01/31 09:00 By jwhite68.
  The administrator has disabled public write access.
#435
jwhite68 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Dont see analytics code when I view source on site 3 Months, 2 Weeks ago Karma: 0  
By setting the position to 'right', I now see the analytics code when I view source, but its not just before the </body> tag.
Does this really matter?

What I see just before </body> tag is this:

<code>
<div class="right"><a href="http://www.joomlashack.com" title="Joomla Themes">Joomla Templates by JoomlaShack</a>&nbsp;<a href="http://www.compassdesigns.net">Joomla Templates</a></div></body>
</code>

Any ideas?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#540
hunchermuncher (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Dont see analytics code when I view source on s 2 Months ago Karma: 0  
I have exactly the same issue as the person above. I have installed it in debug and have also tried "right".

But no code appears in my source.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#542
lwillis (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Re:Dont see analytics code when I view source on s 2 Months ago Karma: -1  
No - it doesn't really matter. I guess if it wasn't showing up when you had it in "debug" it's because your template doesn't have a "debug" slot. Just add the following to your template just before the </body> tag.

Code:

<?php mosLoadModules('debug',-1); ?>
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#543
lwillis (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Re:Dont see analytics code when I view source on s 2 Months ago Karma: -1  
If it wasn't showing up when you had it in "debug" or "right" it's probably because your template doesn't have a the corresponding slots. Just add the following to your template just before the </body> tag, and then publish the module to "debug".

Code:

<?php mosLoadModules('debug',-1); ?>
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#544
hunchermuncher (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Dont see analytics code when I view source on s 2 Months ago Karma: 0  
I put this into the index.php in my templates folder but got the following error on trying to load the page:


Parse error: syntax error, unexpected '&' in /home/davidfar/public_html/dramaresource/templates/rt_hivemind/index.php on line 211
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop