
內容簡介
TopPosts for Google Analytics 外掛讓您輕鬆檢索並展示網站上最受歡迎的文章,根據您的網站分析數據進行排序。透過簡單的 API 金鑰連接 Google Analytics,無需複雜的設定或程式碼,即可快速上手。
【主要功能】
• 簡易設置:透過 API 金鑰快速連接 Google Analytics
• 輕量快速:不影響網站性能
• 支援自訂文章類型:展示各種文章類型的熱門內容
• 內容過濾:自訂過濾條件,聚焦特定類別或時間範圍
• 可自訂外觀:調整字體、顏色和佈局
• 靈活整合:透過 Gutenberg 區塊、短碼和小工具展示內容
外掛標籤
開發者團隊
② 後台搜尋「TopPosts for Google Analytics」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
TopPosts for Google Analytics allows you to easily retrieve and showcase the most visited posts on your website based upon your site’s analytics. Link your site with your GA property using your free account at GATopPosts.com. Start free and upgrade your plan right from your WordPress dashboard whenever you need more — nothing new to download, install, or activate.
Easy Setup
Press the get API Key button and follow the wizard on our platform to grant viewer access to your Google Analytics account. Link your WordPress site with GATopPosts.com with a simple API key and you’re ready to go! No complex configurations or coding required.
Lightweight & Fast
TopPosts for Google Analytics is built for speed, ensuring it doesn’t slow down your website’s performance.
Custom Post Types Support
Display top content from any post type on your WordPress site, not just standard blog posts.
Content Filtering
Want to see only top posts from the past month, or focus on a specific category? You’ve got complete control! Refine your top content results with custom filters, save them and use them across your site.
Customizable Appearance
Select the Category and Data Type relevant to your results.
Choose between two presets or customize your own by modifying typography, colors and padding.
Choose between single or two column layouts.
Display images as full-width covers or position them left/right for flexible visual presentation.
Customize badge appearance with overlay numbers on images and custom background colors.
Add icons next to post titles for enhanced visual appeal.
Flexible Integration
Integrate seamlessly with WordPress through a dedicated Gutenberg block, a short code, and a widget allowing you to showcase top content anywhere on your site.
Free Version Limitations
Supports one Post type only
Posts are limited to 5
Single content filter
External Services
This plugin relies on the GATopPosts.com service (https://www.gatopposts.com, API endpoint: https://app.gatopposts.com), operated by the plugin authors, to provide its core features. A free or paid GATopPosts.com account and API key are required — the plugin cannot retrieve your top posts without connecting to this service.
The plugin contacts the service in the following situations:
API key verification (POST /scf/validateKey) — when you save your API key in the plugin settings. Sends your API key and the installed plugin version.
Creating or updating a filter (POST /updateFilter) — when you create or edit a Top Posts filter, including the default filter created on first setup. Sends your API key, the installed plugin version, and the filter configuration (your site URL, selected content types, date range, and language settings).
Retrieving Top Posts results (GET /getFilters, GET /getFilter) — when the plugin loads or refreshes your Top Posts lists, both in the WordPress dashboard and on the front end of your site. Sends your API key, the installed plugin version, and the filter ID; the service returns the ranked post data generated from the Google Analytics property you connected on GATopPosts.com.
Deleting a filter (POST /deleteFilter) — when you delete a filter from the plugin settings. Sends your API key, the installed plugin version, and the filter ID.
Plugin version and site status checks (GET /version) — when plugin admin pages load and during throttled background checks. Sends your API key and the installed plugin version.
Embedded dashboard and sign-up screens — the plugin’s Overview, Site Preferences, Subscriptions, Upgrade Plan, and initial sign-up screens embed https://platform.gatopposts.com directly in an iframe inside your WordPress admin, operated by the same plugin authors. Loading any of these screens sends to that iframe: the plugin name and version, your site’s URL, a site identifier, and (except on the initial sign-up screen) a WordPress REST API nonce and a subscription-callback nonce scoped to your current logged-in session, used so the embedded screen can call back into this plugin’s REST endpoints on your behalf. No visitor data is sent.
The plugin does not transmit personal data of your site’s visitors. Analytics data is processed by the GATopPosts.com service from the Google Analytics account you explicitly authorize on GATopPosts.com.
Terms of Service: https://www.gatopposts.com/terms-of-service
Privacy Policy: https://www.gatopposts.com/privacy
Troubleshooting
My API key won’t save / says it’s invalid
Double-check the key was copied in full from the GATopPosts.com dashboard, with no extra spaces. If it still fails, confirm on GATopPosts.com that the key hasn’t been revoked or regenerated, and that the Google Analytics property is still connected and accessible to the account that issued the key.
I’m seeing a “Too many requests” or rate-limit message
The plugin limits how often each admin action (saving settings, refreshing a filter, etc.) can be repeated in a short window, to protect both your site and the GATopPosts.com API from being overwhelmed by accidental rapid-fire clicks or a misbehaving browser tab. Wait a minute and try again; if it persists on a single specific action, check whether a browser extension or another open tab is silently repeating the same request in the background.
My widget/block shows nothing, or “No posts found”
See “Why is ‘No posts found’ showing in my widget?” in the FAQ above for the most common causes. Two more things worth checking first:
Confirm you actually added the Top Posts block, shortcode, or widget to the page, and that it’s pointed at the filter you expect (each block/widget instance selects one saved filter).
If you use a page-caching plugin, a page saved before your top posts data finished loading can serve a stale, empty version of it. Clear your page cache after connecting your API key or after making filter changes — see “Is the plugin compatible with caching plugins?” in the FAQ.
I just upgraded from the standalone Premium plugin and something looks off
Since version 1.5.0, the free and Premium editions are a single plugin — your API key, settings, filters, and premium features migrate automatically the first time the updated plugin loads, and the old standalone Premium plugin is deactivated for you. If you still see the old Premium plugin listed as active after upgrading, deactivate and delete it manually; your data is unaffected either way, since it now lives under the unified plugin.
None of the above fixed it
Please get in touch — see the Support section below and include your WordPress version, PHP version, and (if possible) any error message shown in the browser’s developer console, so we can help faster.
Support
For assistance, please visit our Support Page, contact us via email at [email protected], or use our live chat support available on our website.
