{"id":59056,"date":"2010-09-01T09:10:53","date_gmt":"2010-09-01T09:10:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/stats173zip\/"},"modified":"2010-09-01T09:10:53","modified_gmt":"2010-09-01T09:10:53","slug":"stats173zip","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/stats173zip\/","author":6887839,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"stats173zip","header_author":"","header_description":"","assets_banners_color":"","last_updated":"2010-09-01 09:10:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":439,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":[],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-59056","plugin","type-plugin","status-closed","hentry","plugin_committers-asier69"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/stats173zip.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"","raw_excerpt":"<p>There are hundreds of plugins and services which can provide statistics about your visitors. However I found that even though something like Google Analytics provides an incredible depth of information, it can be overwhelming and doesn&#039;t really highlight what&#039;s most interesting to me as a writer. That&#039;s why Automattic created its own stats system, to focus on just the most popular metrics a blogger wants to track and provide them in a clear and concise interface. <\/p>\n<p>Installing this stats plugin is much like installing Akismet, all you need is to put in your [API Key](http:\/\/wordpress.com\/api-keys\/ &quot;You can get a free API key from WordPress.com&quot;) and the rest is automatic.<\/p>\n<p>Once it&#039;s running it&#039;ll begin collecting information about your pageviews, which posts and pages are the most popular, where your traffic is coming from, and what people click on when they leave. It&#039;ll also add a link to your dashboard which allows you to see all your stats on a single page. Less is more.<\/p>\n<p>Finally, because all of the processing and collection runs on our servers and not yours, it doesn&#039;t cause any additional load on your hosting account. In fact, it&#039;s one of the fastest stats system, hosted or not hosted, that you can use.<\/p>\n<p>== Screenshots ==<\/p>\n<p>1. Your stats are displayed in a frame on your own blog&#039;s dashboard. There are graphs and several sections of charts below. You will need to be logged in at WordPress.com to see the stats. If you see a login box here, use your WordPress.com login.<\/p>\n<p>2. Each post has its own graph.<\/p>\n<p>3. You can add other WordPress.com users to the list of people allowed to see your stats.<\/p>\n<p>== Installation ==<\/p>\n<p>The automatic plugin installer should work for most people. Manual installation is easy and takes fewer than five minutes.<\/p>\n<p>1. Create a <code>stats<\/code> directory in your <code>plugins<\/code> directory. Typically that&#039;s <code>wp-content\/plugins\/stats\/<\/code>.<br \/>\n2. Into this new directory upload <code>stats.php<\/code> and <code>open-flash-chart.swf<\/code>.<br \/>\n3. Activate the plugin through the &#039;Plugins&#039; menu in WordPress.<br \/>\n4. It will ask you to enter your WordPress.com API key, do so.<br \/>\n5. Sit back and wait a few minutes for your stats to come rolling in.<\/p>\n<p>== Frequently Asked Questions ==<\/p>\n<p>= Can I keep using existing stat systems like Mint, Google Analytics, and Statcounter? =<\/p>\n<p>Of course, nothing we do conflicts with any of those systems. We&#039;re just (hopefully) faster.<\/p>\n<p>= How long before I start seeing stats? =<\/p>\n<p>It may take as long as 20 minutes the first time you use it. After that they should update every 3 minutes or so.<\/p>\n<p>= Does it count my own hits? =<\/p>\n<p>It does not count the hits of logged in users.<\/p>\n<p>= What if the stats don&#039;t start showing up? Do I need anything special in my theme? =<\/p>\n<p>Yes, your theme must have a call to <code><\/code> at the very bottom right before the <code><\/code> tag.<\/p>\n<p>= Can I hide the smiley? =<\/p>\n<p>Sure, just use <code>display:none<\/code>. Try this code in your stylesheet:<\/p>\n<p><code>img#wpstats{display:none}<\/code><\/p>\n<p>= Is it compatible with WP-Cache? =<\/p>\n<p>The plugin collects stats via a javascript call, so as long as the JS call is on the page stats will be collected just fine, whether the page is cached or not.<\/p>\n<p>= Can I use the same API key on multiple blogs? =<\/p>\n<p>Just like with Akismet, you&#039;re welcome to use the same API key on multiple blogs. If you view your stats directly on WordPress.com, you can easily switch between all of your blogs&#039; stats reports.<\/p>\n<p>= How do I add a Top Posts widget to my blog? =<\/p>\n<p>We opened our database for developers to retrieve stats. The API is at <code>http:\/\/stats.wordpress.com\/csv.php<\/code> and the plugin includes a handy function, <code>stats_get_csv()<\/code>, which you can use to get your most popular posts. Here is code you can add to your theme based on the work of Ben Gillbanks:<\/p>\n<pre><code>Currently Hot<\/code><\/pre>\n<p>== Changelog ==<\/p>\n<p>= trunk =<br \/>\n* Add domain to gettext calls and load_plugin_textdomain (props nbachiyski)<br \/>\n* Add POT file and Text Domain<br \/>\n* Change some escaping functions (props nbachiyski)<br \/>\n* Remove delete_option from deactivation hook<\/p>\n<p>= 1.7.2 =<br \/>\n* Remove footer test pending investigation of errors.<\/p>\n<p>= 1.7.1 =<br \/>\n* Add real-time test to check footer immediately prior to displaying notice. Should help automatic upgraders.<\/p>\n<p>= 1.7 =<br \/>\n* Remove support for hard-coded API key as $stats_wpcom_api_key<br \/>\n* Update admin screen after API key entry to add Recommended Action and clarify instructions<br \/>\n* Add option to disable wp.me shortlinks<br \/>\n* Add option to select roles with stats report visibility<br \/>\n* Add option to enable tracking logged-in users<br \/>\n* When activated for entire network, do not show admin notice about missing API keys<br \/>\n* When plugins.php disabled, move stats admin page to options-general.php<br \/>\n* Add check for footer code and display a helpful notice if not detected<\/p>\n<p>= 1.6.3 =<br \/>\n* Add support for shortlink API in WordPress 3.0<br \/>\n* Add CSV usage example to readme<br \/>\n* Remove .htaccess<br \/>\n* Remove all-time stats from dashboard widget<\/p>\n<p>= 1.6.2 =<br \/>\n* Fix infinite loop when shortlink function dec2sixtwo called with a negative number. Thanks to Andrew Mattie for identifying this bug.<br \/>\n* Fix unescaped Top Searches section in dashboard module. Thanks to Kobi for the report.<\/p>\n<p>= 1.6.1 =<br \/>\n* Fix attachment titles in post stats list.<br \/>\n* Fix chart not appearing due to .htaccess directive installed by some users. Thanks to Sean at growingmoneyblog.com for access to his affected system.<\/p>\n<p>= 1.6 =<br \/>\n* Add shortlink generator. Now wp.me shortlinks are available on the Edit Post screen from a button next to View Post.<\/p>\n<p>= 1.5.4 =<br \/>\n* Work around core API change in plugins_url. Different code for 2.7. Fixes missing charts in 2.7.*. No changes for 2.8+.<\/p>\n<p>= 1.5.3 =<br \/>\n* Restore backward compatibility for WordPress 2.7. Fixes &quot;Call to undefined function plugin_dir_url()...&quot;<\/p>\n<p>= 1.5.2 =<br \/>\n* Fix dashboard chart missing due to omitted line of code.<\/p>\n<p>= 1.5.1 =<br \/>\n* Include Open Flash Chart SWF. Faster and more reliable than proxying it. Should fix missing graph for many users.<br \/>\n* Move change log out of source code.<br \/>\n* Fixed an XMLRPC encoding issue that resulted in &quot;malformed&quot; error when entering API key. Thanks to Oscar Reixa for helping.<\/p>\n<p>= 1.5 =<br \/>\n* Kill iframes.<br \/>\n* Use blog&#039;s role\/cap system to allow local users to view reports. (No more switcher.)<br \/>\n* Thanks to Stefanos Kofopoulos for helping to debug encoding issues.<\/p>\n<p>= 1.4 =<br \/>\n* Added gmt_offset setting to blog definition. (Stats in your time zone.)<\/p>\n<p>= 1.3.8 =<br \/>\n* Fixed &quot;Missing API Key&quot; error appearing in place of more helpful errors. Hat tip: Walt Ritscher.<\/p>\n<p>= 1.3.7 =<br \/>\n* If blog dashboard is https, stats iframe should be https.<\/p>\n<p>= 1.3.6 =<br \/>\n* fopen v wp_remote_fopen CSV fix from A. Piccinelli<\/p>\n<p>= 1.3.5 =<br \/>\n* Compatibility with WordPress 2.7<\/p>\n<p>= 1.3.4 =<br \/>\n* Compatibility with WordPress 2.7<\/p>\n<p>= 1.3.3 =<br \/>\n* wpStats.update_postinfo no longer triggered by revision saves (post_type test)\n<\/p>","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/59056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=59056"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/asier69"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=59056"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=59056"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=59056"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=59056"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=59056"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=59056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}