Latest blog posts
How to Add Google Analytics for Your WordPress Site

How to Add Google Analytics for Your WordPress Site

What Is Google Analytics?

Google Analytics is a free analytics tool designed to track website performance and traffic. Many online marketers and SEO professionals use it to optimize websites and applications.There are 2 Google Analytics properties: 

Universal Analytics (UA): Universal Analytics is the earlier version of Google Analytics that offers a comprehensive analysis of website traffic & user behavior and separates traffic into individual channels (organic, paid, social, etc.). This version only supports websites. Google Analytics 4 (GA4): Google Analytics 4 is the newer version of Analytics introduced in late 2020 that offers an overview of website traffic and conversions. This version supports both websites and apps.

Why Is Google Analytics Important?

Google Analytics is currently one of the most comprehensive tools available for tracking web data and traffic. You can use Google Analytics to:

Discover how users find your website through different channels Determine what your most valuable pages are Measure conversions and ROI on each channel Track how users interact with your website

Recommended reading: The Beginner's Definitive Guide to Google Analytics

How to Install Google Analytics on WordPress with Plugins

Log into the Google account you want to link to the website. Open Google Analytics. Create a Google Analytics account by clicking Admin then click Create Account.Seo services dublin 4 Enter an account name. Use a descriptive name or the name of your business. Select all applicable account data sharing settings.Auto seo service 4 Next, enter the property details. Start with the property name; we suggest using your business name. Enter the reporting time zone and currency.Seo services hong kong 4 Select Show advanced options and click the toggle to create a Universal Analytics property. Seo services bristol 4 Insert the website’s URL in the input. For clients that want a Google Analytics 4 and Universal Analytics property created, select the first option. For clients that only want Universal Analytics property only, select the second option.Mobile seo service 4 As an optional step, fill out the business’ information. This is mainly a survey for Google to capture information about businesses and their analytics needs.  Select Create. Arizona seo services 4 Once an account and property have been created, a tracking code installation page will load. This page includes your tracking tag and UA code.Youtube seo service 4 Log into the backend of your Wordpress website. From the menu, select Plugins. Click on Add New to install the UpdraftPlus Website Backup and Insert Headers & Footers plugins. Off site seo services 4Animal hostiptal seo services 4 Once installed, open the UpdraftPlus plugin and select Settings. Click Backup Now to back up your site. Wait for the backup to finish before implementing any tracking codes.Seo services cardiff 4 When your backup completes, toggle back to Google Analytics to copy the tracking code.Youtube seo service 4 In your Wordpress site’s backend, select Settings then the Insert Headers and Footers plugin. San jose seo services 4 Paste the Google Analytics code into the Scripts in Header box, then click Save.Seo services greenwood 4 To check the code, navigate to the homepage of the website, right-click, then click View Page source. Search for a part of the UA code by hitting Control + F (Windows) or Command + F (Mac). Enter in “Google Analytics” to quickly locate the Analytics code on the page.Seo service grand rapids 4

How to Access Your GA4 Property Dashboard

With the instructions above, you should have installed both versions of Google Analytics. To access your GA4 property, select the account name from the dropdown arrow at the top left of the screen.Veterinarian seo services usa 4 Select the option featuring a series of numbers. This is your GA4 property.Seo service in bangladesh 4 You should be able to view your GA4 property dashboard:Seo services for animal hostiptal website 4

How to Install Google Analytics via Google Tag Manager

What Is Google Tag Manager?

Google offers the Google Tag Manager to help website owners keep track of their tracking codes for a website. You can use Tag Manager to deploy your Universal Analytics property.

To install Google Analytics on your Wordpress site via the Tag Manager:

Follow steps 1-10 as outlined above. Log into Google Tag Manager using the Google account associated with your Google Analytics account. On the Workspace Overview screen, click New Tag.Seo services omaha 4 Name the tag Google Analytics Tracking. Click Tag Configuration and choose Universal Analytics.Seo services denver co 4 Select the desired Track Type. Google Tag Manager offers different tracking types that target specific occurrences on your website. For example, use Page View on a website to track which pages your users visit. Use the Event type if you want to track a specific interaction, such as a button click on a promotion. Live seo service 4 Select a Google Analytics Settings Variable. To reuse a Google Analytics Settings Variable that has already been set up, select the desired variable from the menu. Your Google Analytics ID and all other settings from that variable will be applied to your tag.Seo services in ahmedabad 4 To set up a new Google Analytics Settings Variable, click New Variable from the dropdown menu. In the variable configuration screen, enter your Google Analytics ID (the UA code from the settings of your Google Analytics account.)White hat seo service 4 Select New Variable and name the variable Google Analytics Variable. In the Variable Configuration screen, enter your Google Analytics ID. Click Save.Grand rapids seo services 4

If you require additional settings, like custom fields, custom metrics, or content groups, click More Settings to configure the relevant fields.Note: Cookie Domain: If you have no other Google Analytics tags deployed on your site via analytics.js or from Tag Manager, you should leave this value set to "auto.” If you have other Google Analytics tags set up on your site or in Tag Manager, confirm that the Cookie Domain value is consistent.

Click Triggering to choose a trigger that will make the tag fire: Local seo services for accountants 4 You may select an existing trigger, or click the + icon to define a new one.Tree service seo 4 For this new trigger, we want the tag to fire every time someone lands on a page on a website. Therefore, we’ll name the tag All Page View, click the +, and click Page View to set the trigger to fire on all page views.Best seo copywriting services green bay 4 Click Save, then go back to the Workspace screen and select Submit at the top to submit all Workspace changes.Seo services delmar 4 Google Tag Manager will show you a tracking code to add to your WordPress website. Copy this code and paste into the Scripts in Header box, then click Save.

Integrating Semrush with Google Analytics

The Semrush tool can read and display certain data from Google Analytics in an easy-to-follow SEO dashboard. However, you benefit most from combining Semrush and Google Analytics data for a comprehensive look at your website’s performance in various Semrush tools. 

Though the tools track similar metrics, their noted differences mean you have more opportunities to monitor traffic, competitor campaigns, do target research and so much more when they’re combined.Work with the data from each tool to make informed decisions about your website, SEO, and marketing campaigns.

Semrush & Google Analytics Integrations

Google Analytics & Position Tracking Tool

Position tracking with Semrush allows you to import keywords directly from Google Analytics into a position tracking campaign.

On Page SEO Checker (GA & GSC)

The On-Page SEO Checker tool helps you optimize landing pages to rank higher for your target keywords. When connected to GA, the tool allows you to integrate user behavioral data with ways to optimize pages for a better user experience.

Backlink Audit (GA & GSC)

The Backlink Audit tool allows you to review your backlink profile and determine whether you have any toxic backlinks to remove or disavow. When connected to GA, you can conduct a traffic analysis of your backlinks.

Organic Traffic Insights (GA & GSC)

Organic Traffic Insights can integrate your GA account to help identify your “not provided” keywords and post-click data in Semrush.

My Reports (GA & GSC)

My Reports allows you to create custom PDFs combining data from multiple tools and data ranges, including GA.

Site Audit (GA)

A site audit tells you all the technical issues with your website. Connect it to GA to add page views to the results of your site audit and run checks for two additional issues: 

Pages that take longer than one second to become interactive. Orphaned pages.

Content Analyzer (GA & GSC)

The Content Analyzer discovers content opportunities on your website for SEO and PPC purposes. When it is connected to Google Analytics, you will be able to include data on the number of sessions, page views, and bounce rate associated with each page.

Pairing Content Audit (part of the Content Analyzer tool) with both your Google Analytics and Search Console accounts will ensure that you are getting the most complete and up-to-date data for your pages.

SEO Dashboard (GA & GSC)

The SEO Dashboard gives you a high-level view of your site’s search performance, and linking GA integrates data from your GA account to Semrush to create reports.

Brand Monitoring (GA)

The Brand Monitoring tool helps you track all online mentions of any target keyword or phrase. The tool is perfect for PR professionals and brand managers that want to keep track of how and when their brand is mentioned. Connecting GA allows you to track the referral traffic your brand/website receives through brand mentions that include a backlink to your site.

Marketing Calendar (GA)

The Marketing Calendar allows you to plan and align all of your website and brand marketing campaigns and activities into one place. Connecting to GA allows you to track how your campaigns perform in the Performance tab of this tool.

Key Takeaways

Google Analytics is a powerful tool that can give you some powerful insights into your website and its traffic. When you combine this powerful resource with your WordPress website, you can earn a mountain of valuable data you can use to align and adjust your marketing campaigns.

Innovative SEO services

SEO is a patience game; no secret there. We`ll work with you to develop a Search strategy focused on producing increased traffic rankings in as early as 3-months.

A proven Allinclusive. SEO services for measuring, executing, and optimizing for Search Engine success. We say what we do and do what we say.

Our company as Semrush Agency Partner has designed a search engine optimization service that is both ethical and result-driven. We use the latest tools, strategies, and trends to help you move up in the search engines for the right keywords to get noticed by the right audience.

Today, you can schedule a Discovery call with us about your company needs.