Title: Does the plugin insert GTM code once connected?
Last modified: November 1, 2019

---

# Does the plugin insert GTM code once connected?

 *  Resolved [adhdork](https://wordpress.org/support/users/adhdork/)
 * (@adhdork)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/does-the-plugin-insert-gtm-code-once-connected/)
 * Once the account is connected to Google Tag Manager, do we need to remove the
   analytics code we’ve installed on the site to prevent double coverage?
 * Loving the plugin so far

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/does-the-plugin-insert-gtm-code-once-connected/#post-12087663)
 * [@adhdork](https://wordpress.org/support/users/adhdork/) Glad to hear you are
   enjoying the plugin, the team would love your [feedback](https://wordpress.org/support/plugin/google-site-kit/reviews/).
 * Using the Tag Manager module is dependent on having the Analytics module active
   in Site Kit. When setting up Analytics via Site Kit you can choose an existing
   Analytics account. You don’t need to setup Analytics via Tag Manager, and in 
   addition you can safely remove any Analytics containers within your Tag Manager
   account if you have any.
 *  Thread Starter [adhdork](https://wordpress.org/support/users/adhdork/)
 * (@adhdork)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/does-the-plugin-insert-gtm-code-once-connected/#post-12087770)
 * Thank you for the clarification – I’d provide this in a review, but I can’t [create a post yet](https://i.imgur.com/ye142YZ.png)–
   there might be a time limitation for new plugins
 * This might have more to do with the documentation: I was having a helluva time
   figuring out the proper configuration while using Tag Manager, Optimize, and 
   Analytics. There definitely is documentation for a lot of configurations, but
   it wasn’t clear which I needed to focus on.
 * i.g. I _thought_ that I was pretty solid when I put the Optimize and Analytics
   Tracking IDs as variables for Google Tag Manager, but then I saw instructions
   for other configurations with the gtag.js method. I didn’t know how to use the
   anti-flicker snippet until I stumbled on a line that said “put this ahead of 
   Tag Manager”. I ultimately fell back to deciphering third party instructions.
 * …but having that problem is great. I’ve dipped into Tag Manager before – even
   setting up basic settings for a client site using it – but I wouldn’t have thought
   to review the settings or even look at Optimize. I’ve recently been struggling
   with setting up/justifying results of independent AB testing, and Optimize is
   perfect for what I need.
 * TL;DR: I can’t add a post or leave a review yet, but the Site Kit has already
   improved my experience with site config and analytics/performance review. Optimize(
   and the cool browser extension) opened my eyes to a better way to split test 
   that I probably wouldn’t have otherwise.
 * I know that I’m honeymooning the shit out of this, but this is a game-changer.
    -  This reply was modified 6 years, 7 months ago by [adhdork](https://wordpress.org/support/users/adhdork/).
    -  This reply was modified 6 years, 7 months ago by [adhdork](https://wordpress.org/support/users/adhdork/).
      Reason: gushing too much about the plugin & made it weird
 *  Thread Starter [adhdork](https://wordpress.org/support/users/adhdork/)
 * (@adhdork)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/does-the-plugin-insert-gtm-code-once-connected/#post-12088712)
 * If you have Analytics set up through Tag Manager and Tag Manager set up, you 
   should be okay.
 * [Here’s the article that I used](https://support.google.com/optimize/answer/6314801?hl=en)
   to tie Google Optimize and Google Analytics into Google Tag Manager.
 * Gist of the link is to define the Tracking IDs of Optimize and Analytics as constant
   variables/use those variables wherever IDs are requested (instead of the IDs 
   themselves).
 * So long as you have Tag Manager correctly installed on your site, anything you
   set up in Tag Manager (and push to the live site) is considered correctly installed
   in your site (pls correct me if I’m wrong).
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/does-the-plugin-insert-gtm-code-once-connected/#post-12094254)
 * [@adhdork](https://wordpress.org/support/users/adhdork/) Excellent support there,
   many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Does the plugin insert GTM code once connected?’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/does-the-plugin-insert-gtm-code-once-connected/#post-12094254)
 * Status: resolved