Google Analytics 未跟踪 Google 广告和 UTM 正确点击

Google Analytics not tracking Google Ads and UTMs clicks correctly

我发现 Google 广告点击和付费搜索中的分析会话之间存在差异(点击次数大约是会话的两倍)。所以我联系了 Google 广告支持,经过长时间的交谈,他们给我发了一封电子邮件,说我的网站结构使用了重定向,这导致它丢失了参数,我不得不联系开发人员来解决这个问题,因为他们不对此提供帮助。他们让我告诉开发人员的确切内容是:

Loss of parameters by redirection

The website trendotrends.com is not holding navigation parameters because of the structure in which it was developed.

To verify this redirection, simply replicate the following steps: I accessed the link https://trendotrends.com/products/running-shoes?variant=15320930779194 After full site loading, I added the & gclid = Tester123 parameter to the URL (in the browser, so the final URL was https://trendotrends.com/products/running-shoes?variant=15320930779194&gclid=Tester123) and hit Enter To understand if there is a redirect, the normal behavior would be for the URL to remain the same (with & gclid = Tester123 at the end), but in this case, the parameter disappears (and hence the assignment) This link was just an example, which can be verified in several other products of the site.

他们还说我不能在 Google 广告中使用手动标记 (UTM) 而不是自动标记,因为这些重定向也会破坏 UTM。

我没有在我的网站中使用任何重定向,我还使用 UTM 进行了测试,google 分析数据也存在差异。

但在我联系开发人员并投资此修复程序之前,我想知道是否有人经历过这种情况?如果Google的答案适合这个问题?即使没有专家也可以修复它。

提前致谢。

这里的问题并不是真的存在重定向 (301),而是状态更改。在 GA 代码可以解析它之前,页面上有 javascript 实质上重写了 URL。

您能否更改为不同的主题并测试该主题是否会发生这种情况?