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

                  Is there a Facebook Ad equivalent to Google MCC?

                  Hi Mozzers, Really unsure if we are missing something here, but whilst trying to set-up paid ads for some of our clients on FB we have run into a significant issue. We need to be able to allow FB to debit multiple business accounts for varying ads on different pages. However every time we try to access the ads manager to set-up a new ad, FB takes us to the individuals (the person logged in to the page) account, rather than creating an ad account for that page/business individually. What are we missing? We use Google MCC for managing our PPC campaigns and so wondered if there is anything similar we can use for FB? Or any other recommendations on how to get round this without dragging each client into the office and asking them to log-in so that we can set these up? Thanks!

                  Social Media | | Silkstream
                  1
                • moonheart

                  Question about understanding Google Ranking System

                  Hi, I have too many question that I need answer to understand Google ranking system. I have been analyzing different website in different niche, but puzzling to understand how Google rank actually. Some websites have good number of backlinks with good SEO metrics, but some low SEO profiled websiites outrank good sites. I am here with my first question. I am working for one client website who sell sex toys online. So we are optimizing keywords like sex toys, buy sex toys, sex shop, sex toy store and too many keywords to rank on google.ca. My client website is cupidboutique.com. We have some competitors that I want to mention below: 1. PinkCherry: This is one of our big competitor. They have 2 domain one is for US and one is for Canada. Both websites ranking well for different keywords. Basically .ca domain is more successful than .com domain. But I am surprise why Google consider the websites for rank. If you see, both websites are identical, that means both website have same product, same category structure, and the most important all products description are duplicate on each domain. On google webmaster guideline, google mention that if 2 domain have identical content, then Google ignore the duplicate one in ranking. But still both websites ranking for different search term. I compare the SEO metrics of our domain and their .ca domain, there is not big difference. Our websites also have good number of links, good PA/DA, even more good number of social sharing than them. But our rankings are not even comparable with them. They are ranking within 20-30th on Google for different product category keywords, but not our. 2. Hushcanada: This is another website ranking well, but I a surprise how? This website is ranking on very high competitive keyword with very fewer number of backlinks. Their PA/DA, number of backlinks, social sharing all metrics are very few. Their business also established recently that is 2013, which I found through archive.org, whereas our client business has been running since 2003-2004. As a Ecommerce business website their homepage is not showing any product , their catalog can be found under "shop online" page only. There are even some more websites ranking well with very low SEO metrics in this niche. If Google is not looking for these SEO staff, then what other staff Google looks to rank website? Hope I will get some favorable answer of my question.

                  Social Media | | moonheart
                  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
                • AshShep1

                  Google Plus: Personal vs Business Accounts I am Confused!

                  Hi so I have both accounts set up, I use my business g+ for sign posting my new blog posts & latest news. I have Authorship set up on my Blog and that is working fine. I am personally v much a large part of the brand, www.over50choices.co.uk and have my face on the home page and most social property, so when i do use my G+, FB & Twitter accounts, whilst they are the business accounts, its lead by me. So just what do I use my G+ Persoanl Account for? I have read that i should either share or duplicate the my updates on both accounts, but will that look like duplication? I dont have many G+ followers currently but intend to develop this in the next few months, so its important that I get this right if i am to optimise my activity? Your help appreciated. Ash

                  Social Media | | AshShep1
                  0
                • netlover

                  Hootsuite Vs Sprout Social for social media management

                  Can you please tell me if hoot suite or sprout social is a better option when it comes ot managing social media? Corn

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