Seeing this message: Warning: This plugin has not been tested with your current version of WordPress.
And I’m not seeing the counter, when I did see it before.
]]>Error after activation i.e. “This plugin has not been tested with your current version of WordPress.”
I am having wordpress version 5.2.2
]]>For some reason the page view count displayed on my website when installed does not match the page view count directly in Google Analytics. Can someone please help tell me why this would be, especially if I’m pulling data from GA directly?
]]>Good Evening
This is an awesome plugin
I have a question, could you instruct me how to lower the cache time to retreive the page views from google analytics
Thank You
]]>Hi!
It seems that uninstalling th eplugin breaks the site.
Could you provide instructions to make a clean uninstall?
Thank you.
]]>Hi,
This is a feature request to show view counts on pages and custom post types as well as posts.
I’m assuming it wouldn’t be too hard since they are all stored in the same table?
Is the plugin on github or somewhere else where pull requests are accepted?
I could have a go at extending it.
Hello! I put your plugin to track views of posts and pages. Previously, I had a Top 10 plugin – Popular posts plugin for WordPress. My blog is already 5 years old. In 2018 I installed amp and turbo-yandex. Page views on my site have become considered not correct. I thought if I pulled the data from Google analytics, then everything would be corrected, but no. On fresh posts counters Top 10 and
Google Analytics Post Pageviews show relatively correct values, and on the old posts Google Analytics Post Pageviews show significantly fewer views. Could this be due to the transition of the site to https in December 2018, or should it be found elsewhere?
here alt + prt + src
https://pastenow.ru/859b27254f8df5cbce1810ba9b58d0c9
When there is a profile quota error, the plugin shows default value. It is due to a faulty return around line 560 of the code. You can replace the code with the following lines to show last retrieved value from the Google Analytics.
============================
// disable this piece. first check if we have an old value. If we have, then use it.
//return $options['gapp_defaultval'];
// ========= fixed code =========
// If we have an old value let's put that instead of the default one in case of an error
$meta_value = get_post_meta($postID, '_gapp_post_views', true);
if ($meta_value !== false) {
$default_value = $meta_value;
}
set_transient($gaTransName, $default_value, 60 * $options['gapp_cache']);
// ========= fixed code =========
]]>
Hello
I installed the plugin since 6 months ago, It was working, But suddenly stopped, and i tried to reconnect to Google Analytics, after click on “allow” button i got the website withL page not found, The URL is:
https://www.xxxxx.com/wp-admin/options-general.php?page=google-analytics-post-pageviews&state=init&code=4/mAAjValUgX8lgr27H4YaIjkEXIUT6FtIJL_nYGo6cNZ3c6HJ2Bjzv63NuAHg2r0UDpOi9mohtjzmwYDTOhFGgjU&scope=email%20profile%20https://www.googleapis.com/auth/analytics.readonly%20https://www.googleapis.com/auth/userinfo.email%20https://www.googleapis.com/auth/userinfo.profile
Any help?
Thank you
Hello,
Is this plugin still supported?
Thanks.
]]>Hi… I installed the plugin and everything seems ok, but I don’t know where/how i can pull post counts via Google analytics, and therefore data studio.
]]>Hi,
I’m trying to apply this to connect with my Analytics account.
But I can’t
You write
———–
In order to connect to your Google Analytics Account, you need to create a new project in the Google API Console and activate the Analytics API in “APIs & auth > APIs”.
Then, create an OAuth Client ID in “APIs & auth > Credentials”. Enter this URL for the Redirect URI field:
https://****myspecificdata****
You also have to fill the Product Name field in “APIs & auth” -> “Consent screen” — you need to select e-mail address as well.
———–
I don’t really understand how to do that, where I can find the several option …
Do you have a more detailed document (step by step) to show that ?
Thanks
Pending to your reply.
Regards
Ludovic
Hi there,
I would like it if this plugin auto-detected any custom post types I have and shows the pageview count for these as well.
Currently, only posts are supported and pages are not supported. When I add a custom post type, the views are shown, but the column is not sortable.
If this is something you do not have time to accomplish, I could provide some assistance to maintain this plugin.
I already had a look through the source code and saw some other minor issues that could be resolved quite simply.
If you would like my assistance, please contact me.
Kind regards,
Tim Havinga
Web developer at Vevida
Hello, thanks for the plugin!
Since yesterday I’m getting (Google Post Pageviews Error: User does not have any Google Analytics account.) I tried to re-configure but it doesn’t work.
It was working flawlessly and I didn’t change anything at all, so I guess it’s got something to do with new google policies.
Maybe an update?
Thanks again!
]]>Hi thanks for help me,
I have an issue, I would like to know if the plugin automatically updates the data of the post views.
because I need to update posts views every day Is it possible to sync all day ??
thanks.
Where does this plugin stored postviews – in database or ? If something happens where I have to search views to change them?
]]>I’m not sure about the interval, but after some amount of time (seems like a few days days to me) I need to log into admin and re-connect with GA to get the data, otherwise the plugin writes whatever is inside the “Default value when a count cannot be fetched” setting.
I cannot see any error or warning anywhere, setting in options looks like before authorising to Google API, co i make fresh permission to load the data and everything is fine after that.
Everything is in the most recent versions.
]]>I did everything according to instructions, however no website was in the selection for the data retrieval. I looked into the code and found out, that callbacks end up in options table in the database and found an error instructing me to enable Analytics API.
So this might be an issue for some others.
Also some debug option would be more convenient, then this sort of investigation ??
]]>Hi
I have A site I want that I can Show only Author their post page view based on per month Via shortcode
is it Possible??
I want to start by saying thanks for this plugin! It does exactly what we needed it to do.
Something neat for this plugin to add though would be the ability to natively support other Post Types than just the “Posts” Post Type.
It can currently be done pretty easily using the following code:
add_filter("manage_{$post_type}s_columns", 'gapp_column_views');
add_action("manage_{$post_type}s_custom_column", 'gapp_custom_column_views', 6, 2);
add_filter("manage_edit-{$post_type}_sortable_columns", 'gapp_manage_sortable_columns');
Where {$post_type}
is your Post Type Slug.
Having those Filters get added as part of a Loop could be helpful. I’m thinking an Array that can be Filtered so that devs can easily just append additional Post Types and then the Plugin will handle the rest.
So by default, it could be something like
// Allow additional Post Type Slugs to be provided via a Filter
$post_types = apply_filters( 'gapp_post_types', array( 'post' ) );
foreach ( $post_types as $post_type ) {
add_filter("manage_{$post_type}s_columns", 'gapp_column_views');
add_action("manage_{$post_type}s_custom_column", 'gapp_custom_column_views', 6, 2);
add_filter("manage_edit-{$post_type}_sortable_columns", 'gapp_manage_sortable_columns');
}
Otherwise, adding additional Checkboxes or something to the Settings screen so that Users can quickly toggle which Post Types should show View Counts would be very useful.
]]>Hi, I’m running into a problem connecting the site to Google Analytics’ API.
I’ve managed to set up the API keys etc. with no problems, but when I click the “Connect to Google Analytics” link it takes me through the permission screens, I grant them, then it bounces back to the plugin’s settings page, and nothing has changed. The site a multisite but otherwise there isn’t anything about it that I would expect to cause problems. Lack of an error message makes it pretty hard to troubleshoot–any thoughts?
Thanks in advance for your help!
]]>Hi,
For some reason, some of my posts show a different count for pageviews and unique pageviews. Newer ones seem to be fine. The pageviews and unique pageviews show more in the GAPP PHP output than in my Google Analytics account.
Does the plugin store any previous data? Also, how can I completely delete this plugin and the all database entries it leaves behind. I deactivated, then deleted the plugin in WP-Admin and reinstalled and I noticed my google analytics info was still connected in the plugin settings.
Thanks
]]>Hi,
1. I have followed all the steps including activating API for Analytics, been able set up API with Credentials, etc
2. The plugin seems to be running fine with no errrors
3. I added the php script into the index.php page and single.php but even so in Admin dashboard in all post the views aren’t displaying either as i have attached the screen chere: https://prntscr.com/hfg4ms
4 I disable my cashe plugin
I see only 400 errors in Analytics API – https://prntscr.com/hfg5xs
What am I doing wrong?
Hope you you could give me some advise
Roman
When I first bring up the “Posts” page in WP admin, it shows there are 230 posts. When I click the “Views” column to sort by views, it only shows 109 posts. I thought maybe it was not showing posts with 0 views but that’s not the case. It is showing some with 0 views. I was hoping the recent upgrade would have fixed this but it hasn’t. Why do I lose posts when I sort by views?
]]>Hello,
We are getting the following error in our dashboard:
Google Post Pageviews Error: Quota Error: profileId ga:XXXXXXXX has too many concurrent connections.
We then have to re-authorize our connection to Google Analytics.
We have the cache interval in the plugin settings set to 12 hours.
When the plugin is working it behaves exactly how we would like it to. Do you have any suggestions on what we could do differently or where we could start looking to resolve this issue?
Thank you!
]]>The number of visits won’t increase anymore. In stands still, any idee?
]]>We enabled the plugin with cache time of 12 hours and also enable post views in dashboard posts cloumn.
We then used function gapp_get_post_pageviews(); to call view count from google but it shows different figure on that function call and a different figure of views on posts column.
In google dashboard itself a specific post have got views in thousand, but the function return another small figure.
]]>Hi,
Just one question. Does the Google API token refreshes on its own?
Although, I’ve read that it does and re-authenticates on the fly but just wanted to be clear if that is right. If not, how can we do that on our own and how to increase the API token lifetime from the current 20 mins that we get every time.
Thank You.
]]>Hi,
I recently changed servers on my website. On the new server, I am using W3 Total Cache.
This seems to break the cache function of the plugin. I used to have it at two weeks, and use chron jobs to reset it at specific hours. Now, the plugin makes constantly calls to Google Analytics, even without the Chron jobs, I literally refresh the page and see new views. By the early afternoon, I reach the quota.
Any idea which part of W3 Total Cache is responsible for this? I suspect that it might be the Database Cache on Memcached. Unfortunately, I couldn’t investigate it before I reached the quota.
Any suggestion will be greatly appreciated.
]]>I have installed your plugin and I love it. I’ve always wished for a similar integration of Addthis total share counts into the WordPress backend. Is this something you would be able to do? I’d be willing to discuss a paid arrangement. My email is [ redacted, support is not offered via email, Skype, IM etc. only in the forums ]
]]>