Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Blogging Forum


You are currently viewing our Blogging Forum as a guest. Please register to participate.
Login



Reply
Old 10-05-2009, 03:50 AM Wordpress Question
Experienced Talker

Posts: 49
Trades: 0
Where should I place a javascript code in the WordPress installation for capturing website statistics?
DynamicFlooder is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-05-2009, 03:55 AM Re: Wordpress Question
Moxxnixx's Avatar
King Spam Talker

Posts: 1,174
Name: Lance
Location: Virginia Beach
Trades: 0
Usually the header or footer file of the theme that you use.
That way every page will have it when they load.
__________________
Get your facts first, and then you can distort them as much as you please. - Mark Twain

Please login or register to view this content. Registration is FREE
---

Please login or register to view this content. Registration is FREE

All My Sites Are Proudly Hosted @
Please login or register to view this content. Registration is FREE

Moxxnixx is offline
Reply With Quote
View Public Profile Visit Moxxnixx's homepage!
 
Old 10-05-2009, 05:42 AM Re: Wordpress Question
Experienced Talker

Posts: 49
Trades: 0
I did that, but when I went to the home page and viewed the source code it was not included. Is this right?
DynamicFlooder is offline
Reply With Quote
View Public Profile
 
Old 10-05-2009, 11:39 AM Re: Wordpress Question
racer x's Avatar
Ultra Talker

Posts: 457
Name: Randy
Location: Northern Wisconsin
Trades: 0
If you do not see the javascript for the analytics in the source code, it isn't there.

For Google Analytics, you will have a file named footer.php. You can paste the analytics code right in that. You can also use a plugin for google analytics for wordpress, but I see no reason for using plugins for something of this nature.
racer x is offline
Reply With Quote
View Public Profile Visit racer x's homepage!
 
Old 10-05-2009, 01:30 PM Re: Wordpress Question
jamestl2's Avatar
No scale-itch here...

Latest Blog Post:
Wordpress Relative URLs Plugin
Posts: 2,389
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
Trades: 0
Or you could try looking into this plugin:
http://wordpress.org/extend/plugins/stats/

If you have an API key, of course.
__________________
Engipress -
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
for Wordpress Projects
jamestl2 is offline
Reply With Quote
View Public Profile Visit jamestl2's homepage!
 
Reply     « Reply to Wordpress Question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20865 seconds with 12 queries