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

                • g3mmab

                  Google Indexed Images: Website Vs Social Media

                  I use Pinterest, Twitter and Instagram to post images that are already featured on my website. I have been following a routine of uploading the images to these social media platforms only after I can see Google has indexed the image from my original site. My website is ecommerce and the product images drive sales more than any other factor. The thinking behind my method was that when these images are posted on Pinterest, Twitter and the various Instagram crawler sites (I realise Instagram images aren’t indexed directly), Google would recognise that the image was already attributed to my website. The ‘duplicate’ image would not therefore be indexed and the originally uploaded website image would remain in ‘Google Images’. After completing various searches and reviewing other Q&A’s on Moz, it seems as though this is in no way guaranteed and images reposted on social media platforms may still replace the already indexed image from the website. I am assuming this is because Google views these platforms as more authoritative than mine. I usually change the image by adding logos, text, backgrounds, borders etc before posting on Pinterest and this seems to have worked most of the time (both the original and ‘amended for Pinterest’ versions are often indexed) but images posted on other platforms are usually identical. Does it make sense to continue with my method or am I shooting myself in the foot by reposting these images on social media at all? I obviously want customers searching for products, who then click on an image, to be directed to my site rather than one of my social media pages or worse, an image reposting site. Additionally, If I post images on social media before they are uploaded to my website (for example to tease a product launch), would Google likely class these images as the ‘original’ and therefore be less likely to index the website version of the image once it is uploaded? Any thoughts are appreciated.

                  Social Media | | g3mmab
                  2
                • varunrupal

                  How to see who shared my link on twitter

                  I post many blog posts on twitter, but How to see who shared my link on twitter? What I need to search to find out this?

                  Social Media | | varunrupal
                  0
                • mirabile

                  Twitter Analytics: Follower Count & Reporting Inconsistencies

                  Our number of followers on Twitter has suddenly dropped (yet not dropped) in a really weird way. Twitter Analytics shows follower counts in two places: Monthly increases in followers, and then also in the Audience Insights tab, where you can see three months of follower counts mapped in a chart. Month-to-month, the total number of followers continues to rise. What’s inconsistent, however, is the total number of aggregate followers shown in the cart. Twitter just dropped our to total count of followers by about 600. But it’s not like we just suddenly lost 600 followers last month (in fact we gained far more than that), but rather that Twitter seems to have adjusted the aggregate numbers across the board retroactively for all months. So while month-to-month continues to show gains, overall, we still went down. The only way we would have even noticed this, by the way, is because we have a record of the OLD total follower count that Twitter had previously displayed as recently as last month. So confusing. We’re trying to figure out what happened, and the only thing that seems to make sense is that Twitter may have done a huge spam account purge, and instead of making it look like we suddenly lost a lot of followers, they just updated the aggregate total # of followers across all time……? [For the record, we do not buy followers, but we don’t always do the best job at blocking spam followers when the do follow us either.] Any advice would be appreciated, thanks. 🙂

                  Social Media | | mirabile
                  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

                  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
                • RR500

                  My Twitter Username was CHANGED by Twitter!

                  My twitter user name australia was changed by twitter to Australia1_ My original user name has been given to Toursim Australia. I never saw any correspondence about this from Twitter (I may have deleted it), nor from Tourism Australia. I have managed to send 2 related support requests to twitter; Once explaining I couldn't log in - and their reply was; "The email address you're writing from does not match the email on this account. For privacy reasons, we can't offer any more information about the email." Second time that my account was suspended - they replied; "If you're writing in about Australia1_ being suspended, this account is not currently suspended" I don't believe this can be a trademark issue because you cannot trademark a place name. I would love an explanation from twitter- Any tips?

                  Social Media | | RR500
                  0
                • esendex

                  Multiple twitter accounts for Different countries...

                  Ok, so we currently operate in the UK, Australia, Ireland, Spain and France. Currently we have a different twitter accounts for each Country. This can be difficult to manage as we are going it all from the UK. I can understand that having separate accounts for foreign language countries is perhaps suitable (we have foreign staff tweeting in their native tongue), but my question is this: Is it worth just tweeting all English speaking activity from one account. I mean at the end of the day we are one company, and also our activity in other countries won't effect our followers, in fact wouldn't it just make them realise we are a global brand? What are the advantages and disadvantages of gradually deleting the other accounts and tweeting all English stuff from the one account? Cheers,

                  Social Media | | esendex
                  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.