# Implementing Google Tag Manager with Discourse

**URL:** <https://meta.discourse.org/t/implementing-google-tag-manager-with-discourse/36861>\
**Category:** Data & reporting\
**Created:** [December 17, 2015, 11:23pm UTC](https://meta.discourse.org/t/implementing-google-tag-manager-with-discourse/36861 "2015-12-17T23:23:09Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [July 12, 2016, 2:49pm UTC](https://meta.discourse.org/t/implementing-google-tag-manager-with-discourse/36861/12 "2016-07-12T14:49:35Z")

</div>

> [@shri](#):
>
> GTM needs to be called during route changes, when users navigate.

You’re saying that isn’t happening? I’ve been given this screenshot that suggests it is:

 ![](https://global.discourse-cdn.com/meta/original/3X/9/a/9a02e982b1649ed213c8f2f1132dfd9632e1e6d6.jpg)

That site also has the [discourse-adplugin](https://github.com/discourse/discourse-adplugin) installed, which uses the `googletag` api, so maybe the DFP api is doing the work for gtm analytics.

If that’s the case, then the discourse-adplugin could also become the google tag manager analytics plugin.

---

_[View the full topic](https://meta.discourse.org/t/implementing-google-tag-manager-with-discourse/36861)._
