If your Analytics data in Rank Math shows zero search traffic, then there could be a wide range of reasons causing this issue, but most likely due to an incorrect configuration with Rank Math or Google Analytics.
In this knowledgebase article, we’re going to walk you through the steps to fix the search traffic zero in Rank Math Analytics.
Table of Contents
1 Check the Google Analytics Property You Use
First, you need to check if you’re using the Google Analytics Universal property or Google Analytics 4 and choose to connect with the correct version. Rank Math offers you huge support for GA4 API Integration and still continues support for Universal Analytics property.
Once you’ve chosen the correct analytics version, ensure that you’ve added the Google Analytics code. In case, you don’t use any other plugins to add the Google Analytics code, then you can do by enabling the Install analytics code option in Rank Math.
Note: You need to add the Google Analytics code to your website for Google Analytics to measure your site’s performance. Else you’re likely to notice the search traffic zero on your website.
Here is a dedicated tutorial that would help you integrate Rank Math with GA4.
2 Update to the Latest Version of Rank Math
Next, you would need to ensure that you’re using the latest version of Rank Math. You can keep track of the latest plugin updates through our official changelog, available here.
To check if you’re using the latest version of Rank Math, navigate to Plugins > Installed Plugins inside your WordPress dashboard.
If there are any updates available for Rank Math and Rank Math PRO, you can find them here. To update the plugin, click the update now link below the plugin. If you’re unable to see the update now link for Rank Math PRO, it is because Rank Math PRO can be updated only after the Rank Math SEO plugin is updated to the latest version.
Alternatively, you can setup automatic updates so that every time a new update is available, Rank Math will be automatically updated.
3 Check if Rank Math SEO Account is Connected
Next, you’d need to ensure that your website is connected with Rank Math SEO. In case, if you have multiple Rank Math accounts, ensure that your website is connected with the Rank Math account having a PRO license.
Login to your Rank Math account and navigate to the My Account area. Click on the Websites tab from the left sidebar.
The Websites tab lists down all the websites connected with your Rank Math account.
If you find your website is not listed here, then you would need to reconnect your website with the Rank Math account. To do so, head over to Rank Math > Dashboard > Help and then click Disconnect Account, as shown below.
Now you’ll be able to connect your account with Rank Math once again by clicking the Connect Now button and following the on-screen instructions.
4 Check Google Analytics Configuration
On some websites, the Analytics data might show zero as a result of incorrect Google Analytics configuration. Due to the wrong Google Analytics configuration, a domain name is added at the end of each page on that particular site. On importing this Google Analytics data in Rank Math, the imported slugs do not match the page slugs. Hence we delete them, and the users cannot view any Google Analytics data in Rank Math.
Google Analytics records the URLs differently and pushes a page view similar as shown below to your Google Analytics dashboard.
Looks familiar? Let’s see why it’s important to fix this problem and how we can fix it.
- If you’re trying to finalize insights based on the performance campaigns, messy reports like this can skew strategic decisions.
- Providing detailed insights will consume more time than required. Hence it’s important to remove these entries to get clean data from Google Analytics so that they don’t confuse or adversely affect your analytics data.
Let’s dig deeper into how you can fix this.
Note: The following tutorial is for Google Analytics 3 (Universal Analytics) properties.
4.1 Open Google Analytics Admin Tab
Navigate to your Google Analytics Account and click the Admin tab in the left sidebar menu as shown below:
4.2 Navigate to View Settings
On the Admin page, navigate to the View section and then click View Settings.
4.3 Remove Default Page
Once you’ve selected View Settings, scroll down and navigate to your default page URL. If your domain name is present in the Default page URL, then remove the domain URL and leave the field blank.
And then click the Save button to save the changes.
4.4 Ensure You Don’t Use Filters That Append Domain Names to URLs
Also, ensure that you aren’t using filters or don’t have any filters present that are appending domain names to URLs.
5 Refresh Tokens
If you’ve followed the above steps and the Analytics data still appears zero, then it is possible the authorization tokens coming from Google could have expired, and as a result, Rank Math’s Analytics module is not able to fetch the data from Analytics API.
So you need to reconnect the Google services for your website to regenerate the token and be able to fetch the data correctly once again.
To refresh the authorization tokens,
5.1 Delete Rank Math App
Open the Google Account permissions from here. From the list of apps connected with your Google Account, delete Rank Math SEO as shown below.
5.2 Recreate Database tables
Now navigate to WordPress Dashboard > Rank Math > Status & Tools > Database Tools.
And then, scroll down the page to find Re-create Missing Database Tables option. Click the Re-create Tables button.
5.3 Reconnect Your Google Account
Next, navigate to Rank Math > General Settings > Analytics and then click the Reconnect link to disconnect and connect your Google Account with Rank Math once again.
Once you’ve connected and configured Analytics settings, Rank Math will start fetching the data. If the data fetch doesn’t happen on its own, choose Update Data Manually.
This process may take some time. The usual time required to populate the data in the Analytics Dashboard is below 20 minutes, but the time may vary depending on your server’s speed.
5.4 Rebuild Index for Analytics
Now head over to Database Tools once again and then click Rebuild Index for Analytics.
5.5 Check if the Data is Present
Now open the Analytics dashboard by navigating to Rank Math > Analytics and check if the data is present.
5.6 Copy System Info to Clipboard
In case the data is still not appearing, then open Rank Math > Status & Tools > System Status and then click Copy System Info to Clipboard.
Next, open a new support ticket at the Rank Math support forum and then add the copied system info to the ticket details, so that our support expert can look into the issue.
And that’s it! If you still have any questions about why the data in Rank Math Analytics doesn’t match up with what you see in Google Analytics – please feel free to reach our support team directly from here, and we’re always here to help.