# GTM参数未被保存或传递给GTM

**URL:** <https://meta.discourse.org/t/gtm-parameters-are-not-preserved-or-passed-to-gtm/307240>\
**Category:** Product Support\
**Created:** [2024 年5 月 8 日 11:44 UTC](https://meta.discourse.org/t/gtm-parameters-are-not-preserved-or-passed-to-gtm/307240 "2024-05-08T11:44:17Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
发布日期： [2024 年5 月 9 日 21:52 UTC](https://meta.discourse.org/t/gtm-parameters-are-not-preserved-or-passed-to-gtm/307240/4 "2024-05-09T21:52:37Z")

</div>

啊，我明白了。我当时想到的是网站内的链接，这些链接会受到 ember 限制的影响。但你说的是你一登陆网站，查询参数就被重写了 👌

> [@RGJ](#):
>
> 有没有可能将其向后移植到稳定版？

当然，我们来做吧 👍

> <https://github.com/discourse/discourse/pull/26960>
>
> Seems like an accident that the homepage route will always strip all query param…s from the URL.. This fixes that :)
> 
> Backport of 4f75cee6d2e1184159c0c13983e26fe357d0d2f4

---

_[View the full topic](https://meta.discourse.org/t/gtm-parameters-are-not-preserved-or-passed-to-gtm/307240)._
