As you might have noticed if you updated your WordPress plugins today, WordPress Stats has been added to the Jetpack. All future updates to WordPress Stats will now be done through Jetpack.
To update from WordPress Stats to Jetpack Stats,
- Install Jetpack (do not yet click Authorize)
- Deactivate the WordPress Stats plugin
- Authorizing Jetpack to connect with wordpress.com.
- Delete the old WordPress Stats plugin.
- Make sure the Jetpack Stats module is active.
If you’re using multisite you will need to authorize Jetpack to connect to wordpress.com on a site-by-site basis.
Glorious Jetpack errors
Jetpack might hit you with a couple of errors when you try to connect it with wordpress.com. For example…
Your Jetpack has a glitch. Something went wrong that’s never supposed to happen. Guess you’re just lucky: site_lang_missing
Try connecting again.
Error Details: The required "site_lang" parameter is missing.
The xml_rpc-32700 error can be caused by a caching plugin. If you have W3 Total Cache installed or something similar then disable it before retrying to authorize Jetpack. I’ve had a lot of problems with W3 Total Cache in the past so recently changed over to Quick Cache which seems to work well.
The site_lang_missing error is caused by interference from other plugins installed in your site. The clashing plugin either prevents Jetpack from correctly determining the language of your site or it prevents WordPress from correctly announcing the site’s language to plugins that are being installed. To solve the site_lang_missing error, try one of these solutions:
- Set the site language in Settings > General, or
- Edit wp-config to specify the site’s language. Change the line that reads “define (‘WPLANG’, ”);” to something similar to “define (‘WPLANG’, ‘en‘);”. Replace “en” with whatever your site’s language code happens to be e.g “es” for Spanish.
- If those solutions don’t work you will need to temporarily disable all plugins then re-enable Jetpack and authorize it to connect with wordpress.com before re-enabling the plugins one-by-one.
On the subject of WP stats plugins
If you need a stats plugin with a more power than Jetpack stats, try StatPress Visitors. This records the following info about visitors
- Referring sites
- Search engine keywords that lead a visitor to a page
- All the pages a visitor views once on your site
- The link clicked to leave your site, and
- It monitors visitor history by IP
All stats are neatly presented in easy to navigate dashboard pages. Those pages include:
- Visitor Spy
- Bot Spy
Over to you…
What do you think to WordPress Stats? Was it a good idea to combine it with Jetpack? Have your shout and tell tell the world.