Google 标签管理器重定向到另一个页面产品

Google tag manager redirects to another page product

过去五天我一直在寻找 google 标签管理器的解决方案,但一无所获。 我已经为 Drupal 7 安装了 GTM 模块,并获得了下一个生成代码和产品页面的行为。

在 google 管理页面启用 GTM 后,我注意到 GTM 有奇怪的行为。 在我点击产品后,他自动重定向到另一个页面产品。 我明白为什么 img 1 会发生这种情况,但现在不知道如何解决它。

differents urls in datalayer and current location

我不确定我是否理解正确。您被重定向是预期的行为。

有一个 eventCallback in the dataLayer. There specified is a JS function that is executed when the tags associated with that event have been fired. In your case that JS function is a redirect, and it redirects to "https://constructors.com.ua/lego-super-heroes/lego-super-heroes-perehvat-kriptonita-76045",所以如果这就是您所看到的,那么一切正常。