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

                • infamia

                  Google SERP shows wrong (and inappropriate) thumbnail for Facebook videos?

                  Hello I'm running into a strange issue with at least one of my client's video. The video is posted on Facebook. When searching for the video on Google, the SERP shows a completely wrong, and inappropriate, thumbnail image. (And in one case the preview video starts playing within Google SERP.) It also seems that Google is indexing various countries' facebook page for the same video separately (it-it.facebook.com, fr-fr.facebook.com, etc). Note that only the thumbnail and preview video within Google are wrong; if you click on the link, you see the correct video and page. I hesitate to divulge the actual client video, but there are some reports on Google's search community about the same behavior: Here's one that stargs back in March: https://support.google.com/webmasters/thread/33760205?hl=en and a more recent one: https://support.google.com/websearch/thread/71452151?hl=en It looks increasingly like a bug in some google algorithm, but nobody at google seems to acknowledge that. I've unpublished the original video from FB and submitted an 'outdated content' removal to Google, which is pending. In the meantime, my questions for our group of experts here: Has anyone else experienced this and any other suggestionso n how to fix? If we assume that this is not a google bug: how could a malicious actor or black-hat SEO influence Google's algorithms to cause this? Thanks, mickey

                  Social Media | | infamia
                  0
                • RicardoSalcedo

                  Anyone have experience using Quuu Promote

                  Hi All, Do any of you have thoughts on this new content amplification platform? I saw it come through the App Sumo feed. I'm mainly wondering if anyone has any experience regarding link building with this service. Edited: Aug 25. After watching the video on how to use the Q&A (https://moz.com/help/guides/qa-overview/asking-question-qa) I thought I would make clear that I don't work for Quuuu. I work for a non-profit magazine publisher. I'm simply curious. Seeing that there have been no responses makes me think that perhaps I should pass on this platform. Thanks!

                  Social Media | | RicardoSalcedo
                  0
                • KempRugeLawGroup

                  How can you tell if a competitors' FB post was boosted?

                  Does anyone know how to identify if a FB post was boosted or not? Does FB or a third party software have that  capability? Thanks, Ruben

                  Social Media | | KempRugeLawGroup
                  0
                • cathibanks

                  Why can't anyone check in on my Facebook Page?

                  Once upon a time, we were able to check in at our office on Facebook.  Then, one day, we just...couldn't. I didn't (at least intentionally) change any settings on the page.  I can't seem to even find a setting for this.  What happened, and how do I fix it? Thank you so much in advance. (Edited to include the Facebook URL) https://www.facebook.com/LegacyTravel

                  Social Media | | cathibanks
                  0
                • 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

                  How do I merge a google+ and a youtube account?

                  Before Google merged Google+ and Youtube, we had opened a  Google+ account for our business from one email account and a separate account on youtube from a separate account. Now that Google merged the two channels, it created a new G+ page for our youtube account. but I want to merge the youtube account with our formal Google+ page. How do I go about doing that Thank you Joni

                  Social Media | | JonsonSwartz
                  1
                • 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
                • douglasapuc

                  How Can I do SEO for a Escorts Website?

                  So here comes the hard part of working with SEO.... I've been doing SEO for a quite long time now and as far as I concern, it has been working and that's why I can tell people I'm a SEO Manager! It was all good until 3/4 months ago when I got this client that wanted me to do SEO for his Escort Agency. I've analysed his website and came across some structure error, poor linking and so on... I've started by reformulating his website, re-structuring his urls, keeping good pages and throwing alway the poor content ones, requested some website owners to remove links to that website and so on.... All good and sorted, but when it came to do the off-page optimisation it  became a nightmare! It's pretty easy to get links for a clothing website or any other (not "obscure") kind of websites, but no serious and authority websites would link to an escort agency; It's also very easy to create something funny and nice and post it on a page of your website to get people sharing and liking on facebook, but again very hard to get people to share and like things posted by an escort agency... You can't really advertise on escorts directories and use keywords on the ad because godfather google would penalize you.... I really don't know what to do anymore, so I will list some questions and if guys SEO experts could help me out, I would be so grateful!!! How can I get people linking to the website without paying for it? How can I get good authority links to this kind of website? How can I advertise on paid directories without being penalised by google? How can i get shares and likes on social network websites? The website has about 3000 pages, been online since 2010, have at least 3 lengthy articles posted a day! Please guys help me out with this case that is making me loose my nights of sleep... If you guys need the website address and the targeted keyword I can PM you (I dont know if the forum allows me to post it here) Thank You so much for the help in advance....

                  Social Media | | douglasapuc
                  7

                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.