Full width home advertisement

Building Online Business

Post Page Advertisement [Top]

How to Install Google Analytics in Wordpress for Beginners

Install Google Analytics in Wordpress

How to Install  Google Analytics in Wordpress for Beginners Would you like to install Google Analytics on WordPress? Knowing how potential customers interact with your website is critical to success. The best way to identify your audience is to use traffic statistics and Google Analytics provides them for free. This article walks you through why Google Analytics is important and how to install Google Analytics on your WordPress blog.

Why is Google Analytics important in Blogger?

When you start your blog, your # 1 goal is to get more traffic and subscribers. With Google Analytics, you can make data-driven decisions by showing you important metrics. You can see:

Who visits your website?

This part of the analysis is an answer to the audience's geographic location for a lot of important information such as browser and screen resolution, JavaScript support, Flash support, language, etc. that the user used to visit your site. This data is very useful and can be helpful in a variety of ways. When custom designing, you can use user data to make sure your site is compatible with your audience. Install Google Analytics in Wordpress If most users do not support Flash, you should not add Flash elements to your site. If most users are using a 1280 screen resolution, make sure the design is compatible with that resolution or less.

What do people do when people are on your website?

You can see where users are visiting your website, how long they stay on your site, and the bounce rate (user bounce rate on first visit). You can use this information to lower bounce rates and increase pageviews.

When do people visit the website?

You can choose the time when you want to view and post the most time on your site. If the time zone is incompatible with your time zone, you can schedule the post for that time zone.

How do people find your website?

This analytics section shows where the user came from (for example, search engines, direct links, referral links from other sites). You can also see the percentage of visitors from each source. Google Analytics provides analysis for each of these categories. If it is a search engine category, it shows you which search engine got you the most traffic, Google, Yahoo, Bing etc. Classification of referral sources shows sites that need to work the most. Install Google Analytics in Wordpress If Facebook is your best referral source, exclusive Facebook content can make Twitter users feel special. If the referring referral source is an external website, you might consider partnering with that website (guest post exchange or something else).

How do people interact with your content?

Google Analytics shows you how users interact with your site's content. Shows a percentage of users who clicked on a link on your site. You can run the A / B split test by creating a Content Experiment in Google Analytics to determine what best fits your goals. User interactivity lets you work with content around you. By answering the above questions, you can focus on the strategies that are effective on your site and remove those that are ineffective. In a nutshell, you can eliminate guesswork and focus on important metrics to make data-driven decisions

How to sign up for Google Analytics

Step 1: You must first create a Google Analytics account. To do so, visit the Google Analytics sign-up page. The following screen appears. If you already have a Google or Gmail account, you can sign in using this account. Install Google Analytics in Wordpress If you do not have a Gmail account, you'll need to create one yourself. One of the best ways to install Google Analytics in WordPress for beginners

Step 2: When you sign in with your Gmail account, you'll see a message like the one below. This is where you can sign up for Google Analytics with your Gmail account.

Step 3: On the next screen, choose whether to choose between website or mobile app. Make sure you have selected a website. You'll then need to enter your account name (the name of your Google Analytics profile for this website), website name, website URL, country, and time zone. Once you have entered this information, Install Google Analytics in Wordpress click the Get Tracking ID button. You'll see the Google Analytics terms and conditions that you need to agree to, so click the Accept button.

Step 4: You should now see the Google Analytics tracking code. You can copy this tracking code because you need to enter this tracking code on your WordPress site according to the method you use below. After installing the code on your WordPress site, we recommend opening the Analysis Browser tab because you will need to reopen the Analysis Browser tab. Now that you've set up your Google Analytics account, let's take a look at how to install Google Analytics in WordPress. Install Google Analytics in Wordpress There are several ways to set up Google Analytics in WordPress. The first option is the easiest and the last one is the hardest.

You can choose the one best suited to your needs.

MonsterInsights is the most popular Google Analytics plugin for WordPress. Used by over 1 million websites, including Bloomberg, PlayStation, Zillow, and more. It's easiest to add Google Analytics to WordPress (for all novice and professional users). MonsterInsights has a free version and a Pro version. Install Google Analytics in Wordpress This tutorial uses the MonsterInsights free version. If you want advanced features like ecommerce tracking, ad tracking, and author tracking, you can use the MonsterInsights Pro version. The setting procedure is the same.

Let's begin.

The first thing you need to do is install and activate the MonsterInsights plug-in. When enabled, the plug-in adds a new menu item called "Insight" to the WordPress Admin menu. To configure plugin settings, you need to go to Statistics »Settings. From this screen, you'll need to click the "Authenticate with Google Account" button to link Google Analytics to your WordPress site. You'll see a pop-up window that you can use to authenticate with your Google Account.

Click 'Next' to continue.

You should now click the "Click to view Google code" button. This will bring up another pop-up with the message "MonsterInsights is trying to access Google Analytics data.

Click the "Allow" button to continue.

You will now see a line of code that needs to be copied to the authentication popup. Next, enter this code in the MonsterInsights pop-up window and click 'Next' to continue. The final step is to select the profile you want to track. You need to select the website here and click the Next button to continue. 

You'll use Google Analytics before displaying statistics.

The most important part of MonsterInsights is that you can view Google Analytics reports in the WordPress dashboard. Visit the Insights »Reports page to see a quick overview of your analytics data. You can also go to the Tracking tab and customize the tracking settings as needed. Note: MonsterInsights is known as Yoast's Google Analytics for WordPress. Install Google Analytics in Wordpress Founder of WPBeginner, Syed Balkhi, bought the plugin in 2016 and renamed MonsterInsights.

Header and footer insertion plug-in

This method is not as good as MonsterInsights because you can not perform advanced tracking configurations and you can not view Google Analytics data from the WordPress dashboard. You must first install and enable the Insert Headers and Footers plug-in. Once enabled, you must visit Settings »Insert Header and Footer. From here, you need to paste the Google Analytics code you copied in step 4 into the Header section. Do not forget to save your settings by clicking the Save Changes button.

Install Google Analytics on WordPress Theme

This is for advanced users who are familiar with the code. Switching or updating themes is somewhat untrustworthy because the code is gone. Using this method is rarely recommended. Adding code to the header.php file Just edit the header.php file in your WordPress theme and paste the code you copied in step 4 right after the <body> tag. Do not forget to save your changes and re-upload the files to the server. Install Google Analytics in Wordpress Add via function file You can also add Google Analytics tracking code to WordPress feature files. It then automatically adds the code to every page on your WordPress site.

You need to add this code to your theme's functions.php file.

  • <? php
  • add_action ('wp_head', 'wpb_add_googleanalytics');
  • function wpb_add_googleanalytics () {?>
  • // Paste the Google Analytics code here in step 4.
  • <? php}?>

View reports on the Google Analytics website

Google Analytics can display treasures of data collected from your stats. You can view this data by clicking the Reporting tab in the Google Analytics dashboard. The left column displays the built-in Google Analytics reports. Install Google Analytics in Wordpress Each section is divided into tabs, and you'll see more options when you click a tab.
  • The Audiences tab displays reports to help you understand your users.
  • Acquisition reports navigate to your country of origin.
  • Behavior reports summarize what users have done since they arrived at your site.
  • Conversion reports show performance against goals.

No comments:

Post a Comment

Sign up by Putting Email Here

Bottom Ad [Post Page]