# AdSense 和页面浏览量问题

**URL:** <https://meta.discourse.org/t/issue-with-adsense-and-pageviews/276901>\
**Category:** Bug\
**Tags:** advertising, fixed\
**Created:** [2023 年8 月 28 日 10:41 UTC](https://meta.discourse.org/t/issue-with-adsense-and-pageviews/276901 "2023-08-28T10:41:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![Shaneod](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@Shaneod](https://meta.discourse.org/u/Shaneod)\
发布日期： [2023 年8 月 28 日 10:41 UTC](https://meta.discourse.org/t/issue-with-adsense-and-pageviews/276901/1 "2023-08-28T10:41:39Z")

</div>

我認為 Google Adsense 外掛程式的運作方式存在嚴重問題。

我試圖在關於頁面瀏覽量的對話中記錄數據：

> [@Why there is huge difference in Pageviews tracking number on discourse admin dahboard and on google analytics](https://meta.discourse.org/t/why-there-is-huge-difference-in-pageviews-tracking-number-on-discourse-admin-dahboard-and-on-google-analytics/25306/50?u=shaneod):
>
> Coming back to this again but comparing both GA4 and discourse page views to Google AdSense page views. I think there’s a profound issue with the Pageviews on Google AdSense compared to Google Analytics (GA4) and the Discourse stats, even using the official Ad Plugin. As above GA4 seems to be counting the infinite scrolls as a new page view, which is correct in my opinion, On older software these would have made you use Pagination to get to the next set of posts which would require a full page …

在運行官方外掛程式並在頁面顯眼位置放置多個廣告的情況下，我的 Google AdSense 與 Google Analytics GA4 PV 數量比率僅為 3.9%。

我嘗試使用 GTM 和 AdSense 自動廣告放置來添加 AdSense 代碼，現在 AdSense 頁面瀏覽量與 GA4 頁面瀏覽量的命中率為 13% - 即使廣告數量少得多且位置不那麼顯眼 - GTM 是一種嚴重缺陷的方法，如果您瀏覽網站，它就無法正常工作，但即便如此，它的表現仍然遠優於該外掛程式。

我不是開發人員/程式設計師，但我認為問題在於頁面上的歷史記錄更改沒有觸發外掛程式的 AdSense 代碼，或者類似的東西，而且無限滾動頁面加載也沒有觸發頁面瀏覽量，我認為應該這樣。事實上，PV 率遠低於 Discourse 的 PV，我認為在使用外掛程式時，Adsense 僅計算首次訪問或完全刷新頁面。即使您瀏覽網站時廣告也是可見的。

**範例：**

所以 7 月 15 日的數據

- Google Analytics GA4：有 152K 頁面瀏覽量
- Google Analytics GA4：有 6.8K **首次訪問事件**
- Discourse 記錄：93K 頁面瀏覽量 - 我理解 Discourse PV 和 GA4 之間的差異，所以這是合理的。
- Google AdSense：6K 頁面瀏覽量

在我看來，這裡有些東西沒有正常工作。

有人在使用 AdButler 或任何其他廣告整合時獲得更好的頁面瀏覽量數據嗎？

**AdSense 頁面瀏覽量與可見性圖表：**

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/6/8/a68e3446b29d550ad5e924efa46907189d06bdf4.png)

左側是外掛程式 - 右側是通過 GTM 添加的 AdSense - 您可以看到外掛程式提供的廣告可見性遠高於我通過 GTM 添加的自動廣告

（注意：忽略那裡的直線，當時我已經完全移除了代碼。）

**同一時間段的 Google Analytics 數據**

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/a/2/ca28a54cee745f46d41a8ce9240cc07635228302.png)

Google Analytics 數據顯示網站的繁忙程度（我的網站的旺季在 7 月底結束），但即使流量遠少於此，現在使用嚴重缺陷的 GTM 系統，其 AdSense 頁面瀏覽量的比例也高得多。

我希望這些數據能幫助某人解決問題。

為了提供更多見解：

7 月份我有

- GA4 中有 172K **首次訪問** 事件
- Google AdSense 中有 177K **頁面瀏覽量**

這些數字太接近了，不可能是巧合。

在此期間：

- Discourse 計算了 170 萬次頁面瀏覽量
- Google Analytics 計算了 390 萬次（我有很多長主題，因此有很多帶有無限滾動的動態頁面加載）。

所以實際上，似乎絕大多數初始頁面加載後的後續頁面瀏覽量在 AdSense 中都丟失了。

---

_[View the full topic](https://meta.discourse.org/t/issue-with-adsense-and-pageviews/276901)._
