Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Mar 2011
    Posts
    148
    Plugin Contributions
    0

    Default Re: what can I learn about my website usage?

    I don't want to be a pest but geez. I know there are people reading this who understand my question and know the answer. I just was hopeing someone would verify if I understand the instructions.

  2. #2
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default Re: what can I learn about my website usage?

    2. EDIT:
    tpl_footer.php or tpl_main_page.php or any other that you want.
    (for example: copy template_default/common/tpl_footer.php

    I assume that any file that starts with "tpl" is a template. I also assume that I should edit any and all "tpl" files that I want to be tracked. Correct?
    From what I understand they are saying that the code should be inserted into each page that you need tracked.... so if you want one in particular tracked put it in that template file for that page.... but (as the site is built in php) as I see it if you want them all tracked, just put the code in a tpl that appears in all your pages ie: footer

  3. #3
    Join Date
    Mar 2011
    Posts
    148
    Plugin Contributions
    0

    Default Re: what can I learn about my website usage?

    I just stumbled upon "awstats" on my cPanel. How come when I asked about collecting info about my website traffic, etc nobody mentioned "awstats"? Are "awstats" and "google analytical" similar or are they different animals?

  4. #4
    Join Date
    Mar 2011
    Posts
    148
    Plugin Contributions
    0

    Default Re: what can I learn about my website usage?

    Ok, I am still trying to set up Google Analytics. I have my tracking code nut I am not sure where to paste it. I read that it should go in the footer and also that it should go before the <body> tag. Which is it.
    Also, it is said that I should put it in the html code. I do not know which files that is. I know where my templates are even though I have not learned how to use them properly yet. But the template files (stylesheet.css files) are stricktly stylesheets, correct? They are not the actual html files. How do I know which files to insert my tracking code into?

  5. #5
    Join Date
    Mar 2011
    Posts
    148
    Plugin Contributions
    0

    Default Re: what can I learn about my website usage?

    The most likely looking place that I found to put my tracking code is /public_html/index.php. The onlt html tag available was </html>. I placed the code just before that but I do not think it is correct.

    I have posted to the Google Analytics forum but got no help. Can someone tell me where to find a </body> tag in a file that effects all pages?

  6. #6
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default Re: what can I learn about my website usage?

    quote Google:
    In these cases, we suggest moving the Google Analytics tracking code to the <head> portion of your website, after any meta tags and title tags.
    going on this, :

    includes>templates>YOURTEMPLATE>common>html_header.php

    around line 132
    add your code just before /head

    works fine for me

 

 

Similar Threads

  1. What is the best way to learn PHP? And/or CSS?
    By CultureClick in forum General Questions
    Replies: 5
    Last Post: 1 Jul 2012, 02:30 AM
  2. Just trying to learn a little more about ZC
    By Shane78 in forum General Questions
    Replies: 3
    Last Post: 21 May 2010, 02:34 PM
  3. Where can I learn PHP?
    By sunzhoujian in forum General Questions
    Replies: 6
    Last Post: 8 May 2008, 03:36 AM
  4. Question about what templates can do
    By dman76 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 15 Oct 2007, 08:26 PM
  5. Can I never change anything about my website?
    By Scottie in forum General Questions
    Replies: 8
    Last Post: 17 May 2007, 10:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg