Join Morten Rand-Hendriksen for an in-depth discussion in this video Installing and activating Jetpack, part of WordPress Plugins: Analytics.
- View Offline
The first plugin we'll look at that adds statistics to your self hosted WordPress site is Jetpack by WordPress.com. Now Jetpack is not just a statistics plugin. It's actually a gigantic plugin that adds tons of new features to your site. To see a full list of everything that is currently available through Jetpack you can go to jetpack.me. And here you get a list of every single feature that's within Jetpack. Now I said currently available because Jetpack is not like other plug-ins.
Jetpack is what's known as a cloud plug-in, meaning you add Jetpack into your site, and the plug-in itself will go to the cloud or go to WordPress.com. And pull down features as they become available. So that means right now you have a long list of features. Like I can see here. And over time new features will be added on, on a constant basis, and once those features are available, they automatically get added on to your site. This is great if you want a lot of the features from Jetpack.
And it can be also a bit frustrating, if there's a lot of features you don't want. So at the end of this chapter, I have a suggestion for you on how to disable everything, except for the stats. Jetpack is available from the WordPress theme directory. So to install it we'll go to our self hosted WordPress site. Go to Plugins, and Add New, and from here you search for Jetpack. And when you find Jetpack by WordPress.com, created by Automatic, you can install it.
Yes, I want to install it. The plugin is downloaded, unpacked, and installed. And from here, I can activate the plugin. And now that it's activated, I need to connect Jetpack to WordPress.com. That's because Jetpack was built to introduce all the features that you have in WordPress.com, into your self hosted site. And the way they do it, like I said, is by connecting your site to WordPress.com, and pulling all the features in from the cloud. So you're not actually installing these features into your site.
You're just connecting your site to WordPress.com and using the WordPress.com features. And you'll see how that works once we start collecting stats with Jetpack, but first we need to connect the two together. So if you have a WordPress.com account you can go and log into your WordPress.com account and click on connect to WordPress.com. If your already logged in to your WordPress.com account, you'll land on a page like this. Where it says mor10.com, so that's my self hosted site. Plus Jetpack, my plug in, wants to connect to WordPress.com.
And here it says that it's connected to user mor10 which is me, on WordPress.com. And my site to my WordPress.com account. So since I'm logged in, I can simply click on Authorize Jetpack, and the process will complete. If on the other hand, you're not logged in, you may have to log in. Or, if you don't have a WordPress.com account, you have to set up a WordPress.com account for this to work. Now it's important here, you don't need a WordPress.com blog to use Jetpack. You just need a WordPress.com account.
And when you are asked, do you want to create a blog, just say no and that way you'll get an account without a blog. I already have an account so I'm going to click on Authorize Jetpack. The connection is authorized. I no longer have the warning at the top here, and when I now click on the Jetpack tab, on the main menu on the left hand side of my admin panel, you see, here we have Jetpack. It's connected to WordPress.com, and we're ready to go. Now you notice when I hover over the button here on the top right hand side, this is also where you would disconnect Jetpack from WordPress.com.
So if you signed up with the wrong address or you want to switch accounts, or you may not want to use Jetpack anymore, you can simply disconnect it right from here. Now Jetpack is configured and ready to go and we're ready to start using site stats.
- Installing and activating the plugins
- Configuring settings
- Connecting to a Google Analytics account
- Setting up Piwik on your server
- Viewing stats