{"id":11975,"date":"2026-10-30T23:38:20","date_gmt":"2026-10-30T15:38:20","guid":{"rendered":"https:\/\/aeosub.com\/sampi-metrics\/"},"modified":"2026-10-30T23:38:20","modified_gmt":"2026-10-30T15:38:20","slug":"sampi-metrics","status":"publish","type":"post","link":"https:\/\/aeosub.com\/zh\/sampi-metrics\/","title":{"rendered":"Sampi Metrics"},"content":{"rendered":"<div class=\"plugin-info-card\" style=\"border: 1px solid #e2e8f0;border-radius: 10px;overflow: hidden;margin-bottom: 30px;font-family: -apple-system, system-ui, sans-serif;background: #fff\">\n<div style=\"padding: 20px;border-bottom: 1px solid #edf2f7;background: #fafafa;display: flex;align-items: flex-start\">\n                <img decoding=\"async\" src=\"https:\/\/s.w.org\/plugins\/geopattern-icon\/sampi-metrics.svg\" alt=\"Sampi Metrics icon\" loading=\"lazy\" style=\"width: 45px;height: 45px;border-radius: 8px;margin-right: 15px\"> <\/p>\n<div style=\"flex: 1;line-height: 1.2\">\n<div style=\"font-weight: bold;font-size: 1.1em;color: #1a202c\">Plugin Specification<\/div>\n<p>                    <small style=\"color: #718096\">WordPress.org Official Data<\/small>\n                <\/div>\n<\/p><\/div>\n<table style=\"width: 100%;border-collapse: collapse;font-size: 14px\">\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;width: 35%;color: #4a5568;background: #fcfcfc\">Developer<\/th>\n<td style=\"padding: 12px 20px;font-weight: 500\"><a href=\"https:\/\/profiles.wordpress.org\/sampiai\/\" target=\"_blank\" rel=\"noopener\">sampiai<\/a><\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Version<\/th>\n<td style=\"padding: 12px 20px\">v1.0.0<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Active Installs<\/th>\n<td style=\"padding: 12px 20px\">0 +<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Requires \/ Tested<\/th>\n<td style=\"padding: 12px 20px\">6.0 \/ 7.1.4<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Last Updated<\/th>\n<td style=\"padding: 12px 20px\">2026-10-30 3:37pm GMT<\/td>\n<\/tr>\n<tr>\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Official Link<\/th>\n<td style=\"padding: 12px 20px\"><a href=\"https:\/\/wordpress.org\/plugins\/sampi-metrics\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"text-decoration: none;color: #4a3bca;font-weight: bold\">View Details -&gt;<\/a><\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"plugin-short-desc\" style=\"margin: 20px 0;padding: 12px 15px;background: #f9fafb;border-left: 4px solid #4a3bca;border-radius: 6px;font-style: italic;color: #4a5568\">Counts post views for sites connected to Sampi, including posts published directly in WordPress. Works behind page cache and CDN.<\/div>\n<p><a href=\"https:\/\/sampi.ai\" rel=\"nofollow ugc noopener\" target=\"_blank\">Sampi<\/a> 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.<\/p>\n<p>How it works:<\/p>\n<ul>\n<li>On each single post page, the plugin adds a 1&#215;1 image to the page footer. Loading that image adds one view to the post counter in your Sampi account.<\/li>\n<li>Because the count happens in the visitor browser, it keeps working when the site is served from a full page cache or a CDN.<\/li>\n<li>The image is printed by the theme footer and is never saved into the post content. Deactivating the plugin removes it from every page.<\/li>\n<li>Posts published by Sampi already carry the counter, so the plugin skips them and a view is never counted twice.<\/li>\n<li>No cookies, no JavaScript, no personal data in the request.<\/li>\n<\/ul>\n<p>View counting stays off until a site administrator turns it on, either in Settings &gt; Sampi Metrics or from the Sampi integration screen.<\/p>\n<h3>External services<\/h3>\n<p>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.<\/p>\n<p>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&#215;1 image from <code>https:\/\/gc-api-evnvui3szq-rj.sampi.ai\/_public\/pixel\/<\/code>. 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.<\/p>\n<p>The plugin also offers a REST route (<code>\/wp-json\/sampi\/v1\/status<\/code>) that Sampi calls with the credentials you gave it, to check that the plugin is active.<\/p>\n<p>Sampi terms of use: https:\/\/app.sampi.ai\/termos-de-uso<br \/>\nSampi privacy policy: https:\/\/app.sampi.ai\/politica-de-privacidade<\/p>\n<div class=\"plugin-editorial-note\" style=\"margin-top: 25px;padding: 12px 15px;background: #f8fafc;border-radius: 6px;color: #64748b;font-size: 13px;line-height: 1.5\">Editorial note: This overview combines WordPress.org official plugin metadata with an AI-assisted LethaldiranMX editorial review. Plugin data should be verified on the official WordPress.org listing before installation.<\/div>","protected":false},"excerpt":{"rendered":"<p>Counts post views for sites connected to Sampi, including posts published directly in WordPress. Works behind page cache and CDN.<\/p>","protected":false},"author":1,"featured_media":9317,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[252],"tags":[760,3166,1014,1016,762,555],"class_list":["post-11975","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trends","tag-analytics","tag-metrics","tag-page-views","tag-post-views","tag-statistics","tag-wordpress-plugin"],"_links":{"self":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/11975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/comments?post=11975"}],"version-history":[{"count":0,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/11975\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media\/9317"}],"wp:attachment":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media?parent=11975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/categories?post=11975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/tags?post=11975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}