Export the Google Analytics pageviews for all your pages and posts, and copy the data into your WordPress database.
See your pageviews in the WordPress Admin screen next to your pages and posts!
You can then order your pages and posts by pageviews, using the “danp-dot-net-ga-page-views” meta key.
Plus, you can output the number of pageviews to your visitors, by using the shortcode like this:
- Automatically detect the ID of the page you’re using the shortcode on: [danp-ga-pageviews]
- Set the page/post ID and output that anywhere you like [danp-ga-pageviews id=999]
How do I get a Google Analytics account?
You can easily set up a Google Analytics account with any Google Account. See this support article from Google.
How do I get a Google API token?
You will need a JSON API Token from Google Cloud Platform. See the quick start guide.
How do I grant access to my Google Analytics profile?
You need to grant your Google Cloud Platform Service Account with permissions in Google Analytics. See the quick start guide.
How do I get a Google Analytics “Profile ID”?
Login to Google Analytics and click Admin. See the quick start guide for more information.
Where do I enter my API token?
A new page is created in the WordPress Dashboard called ‘Google Analytics Pageview Sync’.
How do I change plugin settings?
A new page is created in the WordPress Dashboard called ‘Google Analytics Pageview Sync’. You can enter your Profile ID and upload your JSON API Key there.
How do I start syncing data?
A new page is created in the WordPress Dashboard called ‘Google Analytics Pageview Sync’. You can start a bulk update there and update the settings to automatically sync pageviews either daily or weekly.
There are no reviews for this plugin.
Contributors & Developers
“DanP Google Analytics Pageview Sync” is open source software. The following people have contributed to this plugin.Contributors
Translate “DanP Google Analytics Pageview Sync” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- This is the first version!
- The Google API PHP Client is now bundled as a ZIP folder to prevent issues. The plugin requires file permissions to unzip it.