Track your WordPress site statistics with Google Analytics.
Google Analytics support on Jetpack is available to all users with Premium and Professional plans.
Jetpack already includes site stats with reports that offer quick, at-a-glance views of the traffic on your site. New posts, likes, and comments are shown alongside visitor activity, so it’s easier to make sense of the numbers.
Google Analytics includes advanced features to complement Jetpack stats. Funnel reports help you track the path visitors take through your site, and goal conversion lets you measure how visitors complete specific tasks (such as reaching a product page or contact form). If you already use Google Analytics with other projects, you’ll be able to see all your stats in one place.
Enabling Google Analytics in Jetpack
Google Analytics is a free service offered by Google.
To get started you’ll need to sign up at the Google Analytics site. After you click “Sign up” you can begin creating your account.
Be sure to fill in the “Account Name”, “Website Name”, and “Website URL” fields. The Website URL field is where you’ll enter your site’s address. Next, scroll to the bottom and select your “Data Sharing Settings”. By default all four Data Sharing settings are selected. You can read the description for each setting to decide if you would like to opt-out. When you’re ready, click “Get Tracking ID”.
You’ll need to agree to the “Google Analytics Terms of Service” to continue.
On the next page, look for the “Tracking ID”. It will look something like UA–90363941–1. You’ll need to copy that ID to finish connecting your site to Google Analytics through Jetpack.
Now go to Jetpack → Settings → Traffic → Google Analytics in your dashboard to enable Google Analytics.
Paste the entire ID you copied from the Google Analytics site into the “Google Analytics Tracking ID” box. After you click “Save Settings” your site will be connected to Google Analytics and start sending data to Google.
Frequently Asked Questions
I connected Google Analytics but I’m not seeing visits reported. Is it working?
Most Google Analytics reports do not work in real time. Reports are normally delayed by at least a few hours. Use Real Time reports in Google Analytics to monitor activity on your site as it happens. The following Google help page will show you how to check whether your tracking code has been installed properly or not.
If you are not seeing visits reported after 24-48 hours, and you know you have had visitors based on your your Jetpack Stats, go back to your Google Analytics dashboard and check that your domain is spelled correctly, does not contain www, and matches your primary domain. If it meets all of those criteria, generate a new Tracking ID. Enter the new ID on your Settings → Analytics screen as outlined above.
The data from Jetpack stats and Google Analytics doesn’t match. Is something broken?
Jetpack stats and Google Analytics use different methods to identify and track activity on your site. You can expect Google Analytics and Jetpack stats to always show slightly different totals for your visits, views, etc. However, you will be able to notice the same trends and patterns in both systems.
Where can I get support for using Google Analytics?
Google Analytics is a very popular website analytics service, and you can find plenty of information about it in books, workshops, blog posts, online forums and more. We suggest you start with Google’s help center for Analytics, and specifically the getting started guide. You can also check out the Analytics support forum, where you can interact with other Analytics users.
This feature is deactivated by default, and activating/unlocking it requires an upgrade to either the Premium or Professional plan. It can be deactivated any time by clicking on the Configure your Google Analytics settings link in the Google Analytics section from Jetpack — Settings — Traffic in your dashboard. Once you’ve arrived on WordPress.com, toggle the Track your WordPress site statistics with Google Analytics setting in the Google Analytics section.
Site Owners / Users
This feature uses the site owner’s Google Analytics tracking ID in order to integrate with the service.
Additionally, for activity tracking (detailed below): IP address, WordPress.com user ID, WordPress.com username, WordPress.com-connected site ID and URL, Jetpack version, user agent, visiting URL, referring URL, timestamp of event, browser language, country code.
Please refer to the appropriate Google Analytics documentation for the specific type of data it collects. For sites running WooCommerce (also owned by Automattic) and this feature simultaneously and having all purchase tracking explicitly enabled, purchase events will send Google Analytics the following information: order number, product id and name, product category, total cost, and quantity of items purchased. Google Analytics does offer IP anonymization, which can be enabled by the site owner.
Site Owners / Users
We track when, and by which user, the feature is activated and deactivated. We also track when, and which, configuration settings are modified.
This feature sends page view events over to Google Analytics for consumption. For sites running WooCommerce-powered stores, some additional events are also sent to Google Analytics: shopping cart additions and removals, product listing views and clicks, product detail views, and purchases. Tracking for each specific WooCommerce event needs to be enabled by the site owner.
|Data Synced (Read More)|
Site Owners / Users
We sync options that identify whether or not the feature is activated and how its available settings are configured. We also sync the Google Analytics tracking ID that is configured with the feature.