【问题标题】:Facebook pixel ViewContent with Google Tag Manager not firing on Angular 2 navigation带有 Google Tag Manager 的 Facebook 像素 ViewContent 未在 Angular 2 导航上触发
【发布时间】:2017-12-22 12:33:23
【问题描述】:

我正在尝试使用 Facebook Pixel、Google Tag Manager 和 Angular 2 应用程序跟踪我网站上的浏览量。 正确实施所有内容后,问题是当我从一个页面导航到另一个页面时,ViewContent 事件未注册。只有当我重新加载页面时,它才会跟踪事件。

我认为是 angular2 应用程序的问题。

【问题讨论】:

    标签: angular angular2-routing google-tag-manager facebook-pixel


    【解决方案1】:

    官方文档有详细的分步指南如何在单页应用程序中跟踪页面浏览量:

    https://developers.facebook.com/ads/blog/post/2017/05/29/tagging-a-single-page-application-facebook-pixel/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-02-11
      相关资源
      最近更新 更多