Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. Digital Marketing
    3. Social Media
    4. Can I add Twitter cards using Google Tag Manager

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Can I add Twitter cards using Google Tag Manager

    Social Media
    3
    6
    2297
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • Houses
      Houses last edited by

      Hi,

      Can I add Twitter cards code using Google Tag Manager?

      Thanks

      1 Reply Last reply Reply Quote 0
      • Yoav-Blustein
        Yoav-Blustein @Houses last edited by

        been there done that 🙂
        but you should not have problems finding references for that all over the web..
        Although i must admit, most of my knowledge on GTM is from Simo's blog.and this one can help you out too.
        As i have mentioned earlier, as long as your user is coming form a browser newer than ie7 you should e fine.

        cheers

        1 Reply Last reply Reply Quote 0
        • Jamieriddell
          Jamieriddell last edited by

          We've actually started putting non essential tags in the footer so they don't slow the page load. That's where we've put tag manager and it still works fine.

          1 Reply Last reply Reply Quote 0
          • Houses
            Houses last edited by

            Hi Jamie,

            That's what I though too.

            Yossi, where did you get the info that GTM can go in the head? I'd be worried to move it from the body as I'm not sure what difference it would make.

            Thanks

            Yoav-Blustein 1 Reply Last reply Reply Quote 0
            • Yoav-Blustein
              Yoav-Blustein last edited by

              Actually it is perfectly fine to add the GTM code snippet within the element.
              Also this is what majority of WP users do since you do not really have a convenient way to add hooks at the beginning of a body tag in WordPress themes.
              The only problem that you might have is with ie7 or older browsers (which is probably around %0.01 visitors anyway)

              good luck 🙂

              1 Reply Last reply Reply Quote 0
              • Jamieriddell
                Jamieriddell last edited by

                I don't think you can as the tag manager sits in the body, not in the header.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                Got a burning SEO question?

                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                Start my free trial


                Browse Questions

                Explore more categories

                • Moz Tools

                  Chat with the community about the Moz tools.

                • SEO Tactics

                  Discuss the SEO process with fellow marketers

                • Community

                  Discuss industry events, jobs, and news!

                • Digital Marketing

                  Chat about tactics outside of SEO

                • Research & Trends

                  Dive into research and trends in the search industry.

                • Support

                  Connect on product support and feature requests.

                • See all categories

                Related Questions

                • Autoboof

                  FB:admin tag, Who should it be set to?

                  I am trying to figure out fb:admin tag.  I noticed that Moz uses a person's from hubspot,  is this because hubspot connects into their facebook data? Who should my company set it to?   Any guides would be helpful. Thanks, Chris

                  Social Media | | Autoboof
                  0
                • IM_Learner

                  Can we create regional pages on Facebook?

                  Hi, Our business spans across many countries and in order to maintain brand consistency, we were contemplating to create regional fan pages on Facebook. The structure would be like parent-child relation i.e. one main page and other regional pages. Is it possible? We searched for it but could't find something concrete except that in 2012 Facebook was testing similar concept. Regards

                  Social Media | | IM_Learner
                  1
                • ShaunPhilips

                  How to recover Google+ business page if it gets deleted by mistake ?

                  Hi, i have a client who has by mistakenly deleted its G+ business page which is having good expousre on Google+. he got worried how to recover it . even i don't know how to do it. any help or discussion for the solution would be appreciated Thanks,

                  Social Media | | ShaunPhilips
                  0
                • JonsonSwartz

                  Shortcut Link and Referral domain in Google Analytics

                  Hello, One of my clients has a Facebook page for his company, and his social media manager posts some promotional and educational posts on daily basis. the social media manager uses affiliate ID's in the destination URL to track traffic and leads that come from the social media and to make it look nicer he uses shortcut links service - bitly. Now I have a few questions about this: I don't see traffic comes from bit.ly or bitly.com in Google Analytics, my question: is using 301 redirect makes Google Analytics understand that the last website which sent the traffic to my website is not the actual Referral website? Is using shortcut links in the social media damages the links value (even though they are <nofollow>links - but still considered as signals from social media</nofollow> Thanks. LorS1nd.jpg

                  Social Media | | JonsonSwartz
                  0
                • JonsonSwartz

                  How can I track on my facebook page shared links without using short url redirect service?

                  Hi, I wondering how can I track and analyze on all my shared links in my facebook business page without using short url redirect service like: “Tiny” url or “bitly”? Thanks in advance.

                  Social Media | | JonsonSwartz
                  0
                • Aikijeff

                  Has anyone used klout?.

                  I've come across http://klout.com and would lot know if anyone uses this and to what benefit?

                  Social Media | | Aikijeff
                  1
                • zedisdead

                  How can I go from PR3 to PR4 ?

                  Hi guys ! I'm a one guy army here trying to get my website rank from PR3 to PR4. I have really great content (the website is an industry standard) that's about 80 pages. I currently rank PR3 (find my stats down there). Anyone have an idea on an action plan to get to the next level ? I don't have a budget, I just have manpower (more or less 1h seo everyday + one day a week to write content). Thanks ! | Domain Authority | 30 |
                  | Domain MozRank | 3.73 |
                  | Domain MozTrust | 3.92 |
                  | External Followed Links | 709 |
                  | Total External Links | 888 |
                  | Total Links | 5,356 |
                  | Followed Linking Root Domains | 46 |
                  | Total Linking Root Domains | 60 |
                  | Linking C-Blocks | 49 |

                  Social Media | | zedisdead
                  0
                • JohnECF

                  Permanent URLs for Twitter?

                  Hi everyone - The site I am working on is going to start giving users the option to tweet that they completed an action. It reads, for example, "I just took the first step to (    ) with (site): (shortened link) via (Twitter name)" Here's my question: Should I worry about the fact that the shortened URL (we're possibly going to use Twitter's shortener T.Co, but I'm not dedicated to it) changes each time? Should we instead have a permanent short URL for the homepage (where we are going to direct people who click the link in the tweet)? Thanks!

                  Social Media | | JohnECF
                  0

                Get started with Moz Pro!

                Unlock the power of advanced SEO tools and data-driven insights.

                Start my free trial
                Products
                • Moz Pro
                • Moz Local
                • Moz API
                • Moz Data
                • STAT
                • Product Updates
                Moz Solutions
                • SMB Solutions
                • Agency Solutions
                • Enterprise Solutions
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority Checker
                • MozBar Extension
                • MozCast
                Resources
                • Blog
                • SEO Learning Center
                • Help Hub
                • Beginner's Guide to SEO
                • How-to Guides
                • Moz Academy
                • API Docs
                About Moz
                • About
                • Team
                • Careers
                • Contact
                Why Moz
                • Case Studies
                • Testimonials
                Get Involved
                • Become an Affiliate
                • MozCon
                • Webinars
                • Practical Marketer Series
                • MozPod
                Connect with us

                Contact the Help team

                Join our newsletter
                Moz logo
                © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy

                Looks like your connection to Moz was lost, please wait while we try to reconnect.