Learn how to add Google Analytics to WordPress to gain access to insights about how customers are interacting on your website.
![[Featured Image] Two marketers stand in their office and look at a tablet screen as they add Google Analytics to WordPress.](https://d3njjcbhbojbot.cloudfront.net/api/utilities/v1/imageproxy/https://images.ctfassets.net/wp1lcwdav1p1/36Umfu25iI2GNDUMMSU9R0/a2cf0f2b0bede61fc2afa9a40f48d748/GettyImages-1356386878.jpg?w=1500&h=680&q=60&fit=fill&f=faces&fm=jpg&fl=progressive&auto=format%2Ccompress&dpr=1&w=1000)
To add Google Analytics to WordPress, go to Tools > Marketing > Traffic in your WordPress account and enter your Google Analytics Measurement ID.
Create a Google Analytics account, select a property and data stream, and get a measurement ID with Site Kit to begin.
It is common to notice some discrepancies between the data you collect with Google Analytics and the data WordPress collects.
You can collect and analyze WordPress data with Google Analytics to understand how customers engage with your website, blog, or e-commerce platform.
Learn how to add Google Analytics to WordPress to begin collecting user data. If you’re ready to grow your career in digital marketing, consider the Google Digital Marketing & E-commerce Professional Certificate. Beginner-friendly, this program offers guidance on attracting customers through digital marketing channels, measuring marketing performance through analytics, growing customer loyalty, and more. Upon completion, you’ll earn a shareable certificate to display on your resume or LinkedIn profile.
If you have not already signed up with Google Analytics, you must do that first. Once you’ve signed up or signed in, you’ll need to create an account for your website or blog. You can skip step two if you already have a Google Analytics account. To create a Google Analytics account, sign in to Google Analytics and go to the Admin tab, which you can find by clicking the gear icon at the bottom left of the page.


In your Google Analytics account, click the Create icon and select Property.

You will add company information here, such as the time zone, currency, name, size, and how you plan to use Google Analytics. Read and accept the terms that appear in the pop-up.
Next, you will see a screen prompting you to select the type of data stream for which you’ll collect data. To add Google Analytics to WordPress, select a Web data stream.

Enter your stream name. Next, decide whether to use Enhanced measurement, which collects additional data.

If you change your preferences later, you can update them, but Enhanced measurement data will only be collected while you are opted in.
Next, you will see a screen with three choices: Install manually, Install with a CMS or website builder, or Use a Google tag you already have. Choose Install with a CMS or website builder, and click Next.

Click Select your platform and choose Site Kit plugin.

This will provide you with a Tag ID. Copy this number to your clipboard.

Your next task will be to install Google Analytics into WordPress. In your WordPress account, go to Tools > Marketing > Traffic. Find the box labeled Google Analytics Measurement ID and paste your Tag ID here. Click Save Settings. You are now collecting WordPress data with Google Analytics to understand how your customers are interacting with your website, blog, or e-commerce platform.
If you just added Google Analytics to WordPress, you may be curious to know whether or not it’s working. You may notice some discrepancies if you compare the data you collect in Google Analytics to the data that WordPress collects with in-house analytics. This is normal and doesn’t indicate a problem. Jetpack and Google Analytics use different methods to collect and calculate data, which leads to differences in the results you see.
Most Google Analytics data is not reported in real time, so you may notice a time lag between website activity and its reporting on Google Analytics.
Read more: Market Analysis: What It Is and How to Conduct One
Join Career Chat on LinkedIn to get timely updates on popular skills, tools, and certifications. Build or refresh your skills in marketing data analysis with our other free resources:
Watch on YouTube: How Marketers Use ChatGPT to Boost Results
Grow your knowledge: Digital Marketing Terms Every Marketer Should Know
Accelerate your career growth with a Coursera Plus subscription. When you enroll in either the monthly or annual option, you’ll get access to over 10,000 courses.
Editorial Team
Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...
This content has been made available for informational purposes only. Learners are advised to conduct additional research to ensure that courses and other credentials pursued meet their personal, professional, and financial goals.