{"id":21368,"date":"2012-12-27T12:26:10","date_gmt":"2012-12-27T12:26:10","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/google-analytics-post-pageviews\/"},"modified":"2018-12-10T10:59:03","modified_gmt":"2018-12-10T10:59:03","slug":"google-analytics-post-pageviews","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/google-analytics-post-pageviews\/","author":10876276,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4.4","stable_tag":"1.4.4","tested":"5.0.25","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Google Analytics Post Pageviews","header_author":"Maxime VALETTE","header_description":"","assets_banners_color":"","last_updated":"2018-12-10 10:59:03","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/maxime.sh\/paypal","header_plugin_uri":"http:\/\/maxime.sh\/google-analytics-post-pageviews","header_author_uri":"http:\/\/maxime.sh","rating":4.5,"author_block_rating":0,"active_installs":400,"downloads":24703,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"2","2":"1","3":0,"4":0,"5":"19"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.1","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.3","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.3.9","1.4","1.4.1","1.4.2","1.4.4"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[232,10327,150,7175,86],"plugin_category":[36],"plugin_contributors":[82674],"plugin_business_model":[],"class_list":["post-21368","plugin","type-plugin","status-closed","hentry","plugin_tags-analytics","plugin_tags-ga","plugin_tags-google","plugin_tags-pageviews","plugin_tags-post","plugin_category-analytics","plugin_contributors-maximevalette","plugin_committers-maximevalette","plugin_committers-tigroumeow","plugin_committers-totels"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/google-analytics-post-pageviews.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This WordPress plugin links to your Google Analytics account to retrieve the pageviews for your posts.<\/p>\n\n<p>Therefore you can easily include this number in your blog for yourself or all of your visitors.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Copy the google-analytics-post-pageviews folder into wp-content\/plugins<\/li>\n<li>Activate the plugin through the Plugins menu<\/li>\n<li>Configure from the new Post Pageviews Settings submenu<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.4.4<\/h4>\n\n<ul>\n<li>Added a setting to add a trailing slash on slugs when fetching stats.<\/li>\n<\/ul>\n\n<h4>1.4.3<\/h4>\n\n<ul>\n<li>Added a setting to select Unique pageviews.<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>Added a setting toggle to hide Views column.<\/li>\n<li>Added a special setting to get main page pageviews, call <code>gapp_get_post_pageviews(1)<\/code>.<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>The Views column can now be used to sort your articles!<\/li>\n<li>More intelligent way of getting Pageviews based on published dates.<\/li>\n<li>Preserve the old value if for some reason GA cannot fetch a new one.<\/li>\n<li>Fixed width on Views column.<\/li>\n<li>Fixed a case when GAPP could return an error or en empty string.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added a default value when the pageviews count cannot be refreshed.<\/li>\n<\/ul>\n\n<h4>1.3.9<\/h4>\n\n<ul>\n<li>Adding 4 hour flush delay.<\/li>\n<li>Solving an issue with accented characters in URLs.<\/li>\n<\/ul>\n\n<h4>1.3.8<\/h4>\n\n<ul>\n<li>Fix namespace unique ID first generation.<\/li>\n<li>Static translation namespace because i18n tools are dumb.<\/li>\n<\/ul>\n\n<h4>1.3.7<\/h4>\n\n<ul>\n<li>Handling different DB namespaces for cache reset.<\/li>\n<li>Handling transients using other cache system.<\/li>\n<\/ul>\n\n<h4>1.3.6<\/h4>\n\n<ul>\n<li>Reset cache also reset transient timeout values.<\/li>\n<\/ul>\n\n<h4>1.3.5<\/h4>\n\n<ul>\n<li>Fixed wrong transient expiration delay.<\/li>\n<\/ul>\n\n<h4>1.3.4<\/h4>\n\n<ul>\n<li>Try to display the cached number even if Google is disconnected.<\/li>\n<li>Check the array for websites results in the settings.<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li>Don't disconnect the account if the API HTTP code is something else than 403.<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Returns API error message from Google API.<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fixed an issue with Google auth token refresh.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Removed Google auth cronjobs and improved async re-authentication.<\/li>\n<\/ul>\n\n<h4>1.2.9<\/h4>\n\n<ul>\n<li>Added more details in the website selection.<\/li>\n<li>Redirection after Google connection to avoid mis-auth.<\/li>\n<\/ul>\n\n<h4>1.2.8<\/h4>\n\n<ul>\n<li>Huge improvements on the Google authentication mechanism.<\/li>\n<\/ul>\n\n<h4>1.2.7<\/h4>\n\n<ul>\n<li>Improved the way the Google token is refreshed.<\/li>\n<li>Added an anti-flood system when the Google API requests are not successful.<\/li>\n<li>Added a link to empty the pageviews cache.<\/li>\n<\/ul>\n\n<h4>1.2.6<\/h4>\n\n<ul>\n<li>Using international number formatting for the views count, and adding a parameter to disable it on function call.<\/li>\n<\/ul>\n\n<h4>1.2.5<\/h4>\n\n<ul>\n<li>Avoid unnecessary API calls when the post is not published.<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>Improved Views column in Posts list.<\/li>\n<li>Improved permalink detection.<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Fixed some settings saving.<\/li>\n<li>Improved API calls and error handling.<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Minor but essential fix in the code snippet.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Added an optional Views column in Posts list.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Updated curl_ and file_ methods to WP_Http requests.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Changed the Google URLs to match the new Google Developers Console.<\/li>\n<li>Specified a unique slug to prevent redirect_uri_mismatch.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed a bug that prevented the token refresh.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First version. Enjoy!<\/li>\n<\/ul>","raw_excerpt":"Retrieves and displays the pageviews for each post by linking to your Google Analytics account.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21368"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/maximevalette"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21368"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21368"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21368"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21368"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21368"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}