Best Easy Ways to Add Google Analytics to WordPress – A blogger, web owner, or online business must know a tool called Google Analytics WordPress.
How to Add Google Analytics to WordPress 2023
Because with this tool you can recognize visitor behavior related to the hectic traffic of a website.
Why does it sound so important to know?Ā Because your website can be optimized by using this tool.
Here we describe the functions, features, and how to install Google Analytics WordPress.
The Importance of Using Google Analytics
It is difficult to attract visitors to the website, let alone to maintain it.
But don’t worry, it turns out that there is a way to find out what visitors are interested in when accessing your website.
This is of course by providing and offering what they are looking for and need.
This is an important thing that Google Analytics WordPress can do.Ā Which is a tool provided by Google for free specifically forĀ WordPress users.
A lot of important data can be obtained from this tool related to visitors or visitors, such as the following:
- Who are your website visitors?
- Which page was opened by the visitor
- Most visited pages
- Pages that do not attract visitors
- Visitor’s location
- Language spoken by visitors
- time of visit
- How long do visitors spend on the website
- Sources of visitors find your website
- The interactions that visitors have on your website
How Google Analytics Works
Before you install Google Analytics on WordPress, you should first understand how Google Analytics works.
This is important for you to know if you are in the blogging world.
#1. Assemble data with JavaScript Code
When a visitor visits your website, the JavaScript Code runs to collect information related to the visitor.
Whether it’s location, web browser used, operating system, screen resolution, or information from other visitors.
#2. Sending data to Google servers
After all the data is obtained, the data is sent to Google’s servers.
The data sent is a Hit.Ā Furthermore, this hit will be sent when a visitor opens the website.
#3. Processing data by Google Analytics
This is the last working step of Google Analytics which presents data from visitors into data that you read later.
How to Install Google Analytics
You must set up an active Google account before installing Google Analytics on the WordPress website.Ā Then follow the steps below:
#1.Ā Sign up for a Google Analytics account
- Enter the Google Analytics link and select theĀ sign-in to Analytics button.
- Enter your Google account with your email addressĀ then clickĀ next.
- Then enterĀ the passwordĀ and clickĀ sign in.
- You will be given an explanation of how to view the web track record.
- If you already understand then continue by pressing theĀ sign-up button.
- Then you will be given the option to chooseĀ a websiteĀ orĀ a mobile app.
- ChooseĀ a website.
- To create a new account, fill in the required data such asĀ account name, website name, website URL, Industry Category,Ā andĀ Reporting Time Zone.
- After all, data is filled in, select Get Tracking ID (6).
- You must agree to the submission requirements by clicking theĀ I Agree button.
- After the process is complete, you will get a trackingĀ codeĀ which will be used to connect the web with Google Analytics.
#2.Ā Log In to Ke WordPress
- Open your WordPress web with the domain name/wp-admin for example bloggernazrul.com-wp-admin.
- Enter yourĀ usernameĀ andĀ passwordĀ and clickĀ log in.
#3. Adding manually
You can do this manual method with theĀ functions.phpĀ file.
- Log in to your Google Analytics account then look forĀ the gear iconĀ then selectĀ Tracking InfoĀ and clickĀ Tracking Code.
- Then look for the script in the website tracking box.
- To add code to WordPress then go to your website.
- Look for theĀ AppearanceĀ menu, clickĀ EditorĀ andĀ header.php.
- Copy the tracking code after the <head> line and before the </head> line.
- When finished, don’t forget to click the update fileĀ then your tracking code is active.
You need to know that this report will be published once a day.Ā This tracking code can only be entered on an active theme.
If you update the theme then you have to enter the code again.
#4. Adding With Plugin
This method is suitable if you are not very familiar with WordPress and PHP structures.
To make it easier, use the Google Analytics plugin that is already available in WordPress.
- Log in and go to the WordPress dashboard.
- Look for theĀ PluginsĀ menu thenĀ Add NewĀ and look for theĀ Google Analytics Plugin.
- Install it by pressing theĀ Install now button.
- When finished activate the plugin by clickingĀ Activate.
- Then look for theĀ Google Analytics menu and thenĀ Authorize Plugin.
- To get the access code, select the Google account you are using.
- ClickĀ AllowĀ and you will find the tracking code.
- To enter the tracking code, clickĀ Manually enter tracking ID.
- Copy the tracking code in the Tracking ID column then clickĀ save.
future Google Analytics
After successfully logging in, look for theĀ AdminĀ menu with a gear icon.Ā Then there will be 3 columns with different sub-menus.
#1. Account
This sub-menu contains categories or folders containing multiple Google Analytics accounts.
#2. Property
This sub-menu contains the websites that exist in each of your accounts. You can choose which website you will view the data on.
#3. View
This sub-menu contains commands for the report or data display settings.
Choose which website you want to see the report on, and click the Reporting menu.
In addition, you can also use the following menu to view data about the website.
#4. Real-Time
This menu displays what is currently happening on your website.Ā You do this by opening theĀ RealtimeĀ menu and then clickingĀ Overview.
The data you can monitor are:
- Number of visitors in real-time
- Active visitors
- Most visited pages
- The most popular visitor locations
- Total time spent by visitors in opening the page
#5. Audience
This menu is in the form of information related to visitors.Ā The summary can be viewed by clicking theĀ AudienceĀ menu and then clickingĀ Overview.
The data that can be seen are:
- Number of visitors
- Number of new visitors
- Number of page views
- Visitor demographics by language, location, city, and country
- Device used
- Operating system used
- Gender and age of visitors
- The most popular types of topics
#6. Behavior
Contains information related to visitor responses to your website.
- Number of visitors
- The number of visitors who return to your website
- How often do visitors visit your website
- The time interval from the first visit to the second and so on
- web speed
- Page load speed
- Server connection speed
- Download speed
#7. Conversion
You can view reports about the targets you have applied to Google Analytics.
The data presented displays the number of conversions received by the web and the URL data.
#8. Acquisition
This menu contains information about how often your website is visited at a certain time.
This data can be obtained by clicking theĀ AcquisitionĀ menu and clickingĀ Overview.
The data you get is:
- Number of visitors
- The origin of visitors is good from organic, other web references, social media, and other sources
- Contribute to the marketing channel that you use to attract visitors
- Bounce rate
- Traffic achievement
- The most effective media in attracting visitors
You can even find out all types of web traffic and see which traffic is less than optimal.
How to Remove Google Analytics
Sometimes, a website changes hands or just wants to change the account used. Therefore, the Google Analytics account can also be deleted.
- Log inĀ to Google Analytics and select theĀ All Web Site Data menu.
- After that go to theĀ AdminĀ menu and clickĀ Property Settings.
- Continue by clickingĀ Move to Trash Can.
Your business should not just stop when you have finished creating a website.
Conclusion
Combine Google Analytics WordPress withĀ Google Webmaster ToolsĀ to get the dual benefits of website performance and visitor satisfaction.
Because visitor satisfaction is the best technique for attracting and maintaining interest in the visited website which will increase traffic.
For more articles like this one about adding google analytics to WordPress, keep coming back to this blogĀ bloggernazruul.comĀ You can find solutions to all of your blogging, SEO, windows, android, games, and guides,-related difficulties here. Donāt forget to follow us on social media.š„°