[WordPress] 外掛分享: Sampi Metrics

首頁 › 外掛目錄 › Sampi Metrics
全新外掛
安裝啟用
—
尚無評分
剛更新
最後更新
—
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2026-10-29

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Sampi Metrics」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Sampi is a content platform for newsrooms and brands. Posts that Sampi publishes to WordPress already report their views back to Sampi. Sampi Metrics extends that to every post on the site, including the ones written directly in WordPress, so Sampi reports show views for all of your content.
How it works:

On each single post page, the plugin adds a 1×1 image to the page footer. Loading that image adds one view to the post counter in your Sampi account.
Because the count happens in the visitor browser, it keeps working when the site is served from a full page cache or a CDN.
The image is printed by the theme footer and is never saved into the post content. Deactivating the plugin removes it from every page.
Posts published by Sampi already carry the counter, so the plugin skips them and a view is never counted twice.
No cookies, no JavaScript, no personal data in the request.

View counting stays off until a site administrator turns it on, either in Settings > Sampi Metrics or from the Sampi integration screen.
External services
This plugin connects to the Sampi view counter, a service provided by Sampi, to count post views. It is required to show views of your posts inside your Sampi account.
What is sent and when: only after an administrator turns view counting on, every time a visitor opens a single post page, the visitor browser requests a 1×1 image from https://gc-api-evnvui3szq-rj.sampi.ai/_public/pixel/. The request URL contains only a key that identifies the post (a hash of the site host and the post ID). As with any web request, the Sampi server receives the visitor IP address and browser user agent. Sampi uses the user agent only to discard bots and does not store the IP address with the count. No cookies are set and no page content is sent.
The plugin also offers a REST route (/wp-json/sampi/v1/status) that Sampi calls with the credentials you gave it, to check that the plugin is active.
Sampi terms of use: https://app.sampi.ai/termos-de-uso
Sampi privacy policy: https://app.sampi.ai/politica-de-privacidade

延伸相關外掛

文章
Filter
Mastodon