Google Analytics script
Results 1 to 5 of 5

Thread: Google Analytics script

  1. #1
    Join Date
    Mar 2002
    Location
    Dilham, The UK
    Posts
    412

    Google Analytics script

    I am trying to add Google Analytics script to my home page.

    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-xxxxxxx-1";
    urchinTracker();
    </script>

    But I simply can not add it....It comes up with "Tracking not yet added to your website".

    I add it just before </body>....I save it.....publish it......and no avail.....Mainly it does not save "http://www.google-analytics.com" part at all.

    I use NVU1.
    Would it help if I copy and paste my Source Code here? May be someone would insert the Script into a correct place for me???

    Thank you.

  2. #2
    Join Date
    Apr 2000
    Location
    Sheboygan, WI
    Posts
    53,391
    How do I use Google Analytics to track a 3rd-party shopping cart?
    http://www.google.com/support/analyt...y?answer=26915

    Just a quick glance at that link says you maybe missing some add on script.

  3. #3
    Join Date
    Nov 2004
    Posts
    152
    Well, I've got to ask. 1...Is this a personal or business web site? (provide URL), 2...This seems to be just another "tracking" piece of software. In my opinion, it's worthless. Most, if not all Hosts can provide you (for free) with some sort of information regarding who, what, where, and when someone visits your page(s). If I'm on the wrong track here, let me know.
    Last edited by emty; May 5th, 2007 at 09:25 AM.

  4. #4
    Join Date
    Jul 2001
    Location
    Chicago
    Posts
    1,107
    Dude, google analytics is awesome. Exceptionally powerful and customizable.

    I have seen it take two days for google to properly recognize your tracking code. I think it happens if you have a few too many failed attempts at first.
    Be patient and check back tomorrow.
    ___________________________________________

    I'm a cinematographer and director of photography in Milwaukee.
    I use Windows, OSX, and 40 TB of storage to tell stories with my
    Sony FS7 | Panasonic GH4 | 5D mark III
    Find me on Google + | Facebook | Twitter

  5. #5
    Join Date
    Mar 2002
    Location
    Dilham, The UK
    Posts
    412
    Thank you for all the comments and views.
    I think I found the answer to my original question.
    When you publish the page, make sure that the site manager (for the site you're publishing to) is NOT set to "Include images and other files." If you have that checked when you publish, NVU apparently thinks that it's supposed to upload urchin.js as a separate file, and it then creates a relative link for it instead of using the absolute, full link.

    If you turn that setting OFF, it seems to work fine.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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