Analytify simplifies Google Analytics for WordPress users, presenting data in an easy-to-understand format on the backend, under WordPress posts/pages, and on its own dedicated dashboard.
This article will guide you in using Analytify Advanced Shortcodes to display unique visitor website statistics, a key indicator of website traffic, in your WordPress posts. This includes the important metric of “totalUsers”, providing a comprehensive view of your audience reach.
Here is an Advance Analytify shortcode to extract and display unique visitor statistics:
The following code should be copied:8,868
The above shortcode will provide the total number of unique visitors (“totalUsers”) from Google Analytics for the specified period frame, beginning June 1, 2023, and ending July 30, 2023.
Log in to the dashboard of your WordPress site.
You can make a new post or page where you want to show website unique visitor statistics.
You can also edit a post or page that is already there. For this, you need to navigate to that particular post >> edit
First, select the Analytify Shortcodes block from your post editing bar.
After clicking the Analytify Shortcodes block, a sidebar will open on the right side of the page, as shown below.
Note: This block also generates automatic shortcodes, which only support Universal Analytics. We are working to develop a new block for GA44 support. You can contact us for GA4 equivalent shortcodes until we develop an automated solution.
For now, let’s add the code manually provided by our developer team.
Simply copy and paste the below code into your post after selecting the analytify shortcode block.8,868
After adding the shortcode, you can either publish your new page or post or click Update on a current page or post.
And you’ll get similar results as shown below.
This is how you can easily implement/add an advance shortcode to your specific page or blog post for website unique visitor statistics.