Results 1 to 7 of 7

 

Thread: google analytics

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Mar 2008
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts


    Hey everyone

    I'm trying to use Google analytics but have run into a few problems. I want to use it with wordpress and not sure if i can just copy and paste the java script into the edit code part of the page and if so what will i have to do to make sure it works.It says something about putting it straight before the "Body" (can't put it in its code format) of the code on each page i want ot track but i can't find this.I was also worried that if i wanted to take it away i may screw stuff up or can i just delete the script from the code. Another option is to use wordpress' own stats plugin but it needs a API key and I'm not sure what this is and i can't find it anywhere on my dashboard (edit page) of the site. It is all css though dose that matter lol

    Some help would be great lol.

    Nick

  2. #2
    philhancox's Avatar
    Registered User

    Status
    Offline
    Join Date
    Oct 2007
    Posts
    513
    Thanks
    4
    Thanked 18 Times in 16 Posts
    Do you have access to the folder itself? If so, you need to find footer.php which is in wp-content/themes/default (or whatever theme you're using)
    and then paste it before
    HTML Code:
    </body>
    PhilHancox.co.uk | Affiliate with sites including discount codes, etc etc | I'm on Twitter

  3. #3
    Registered User

    Status
    Offline
    Join Date
    Jul 2007
    Posts
    297
    Thanks
    0
    Thanked 1 Time in 1 Post
    I use this plugin : OraTransplant » Ultimate Google Analytics plugin for WordPress

    It allows some clever stuff like tracking outbound links but I mainly use it because I'm too lazy to add the tracking code by hand.

  4. #4
    Registered User

    Status
    Offline
    Join Date
    Sep 2007
    Posts
    230
    Thanks
    0
    Thanked 3 Times in 3 Posts
    I use statcounter.

    Just paste the code into a text widget, works great

  5. #5
    Registered User

    Status
    Offline
    Join Date
    May 2007
    Posts
    63
    Thanks
    0
    Thanked 5 Times in 4 Posts
    You want to be using this plugin for Wordpress: Google Analytics for WordPress - Yoast - Tweaking Websites

    You can use the latest GA tracking code which allows the tracking of outbound links (which this plugin does automatically), track adsense clicks and a whole load of other things.

  6. #6
    Registered User

    Status
    Offline
    Join Date
    Jan 2008
    Posts
    450
    Thanks
    2
    Thanked 25 Times in 25 Posts
    yeah the script should go in, just put it in ya template, before the close body tag the idea being that this is the last thing that loads and so only registers if the whole page has loaded - ie a valid hit. edit: weird thing happen if i try to put the body tag in, someone not escaping their html correctly?!

  7. #7
    Registered User

    Status
    Offline
    Join Date
    Jan 2008
    Location
    http://niche-traffic-sale.blogspot.com
    Posts
    186
    Thanks
    0
    Thanked 7 Times in 7 Posts
    I think we may have all missed the point of his question because it is all explained at the analytics site



Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 06-12-08, 05:38 AM
  2. BigDaddy Means Big Changes at Google
    By 3wdl in forum Affiliate Marketing Lounge
    Replies: 4
    Last Post: 27-01-06, 01:05 PM
  3. Fonetastic mobile sales (none)
    By Leeky in forum Affiliate Marketing Lounge
    Replies: 48
    Last Post: 23-01-06, 12:37 PM

Bookmarks

Posting Permissions

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

Content Relevant URLs by vBSEO 3.5.0 RC2