• majorAlexa

        See all notifications

        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
          • MozCon
          • Webinars, Whitepapers, & Guides
        • Blog
        • Why Moz
          • Digital Marketers
          • Agency Solutions
          • Enterprise Solutions
          • Small Business Solutions
          • 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.

          Let your business shine with Listings AI
          Moz Local

          Let your business shine with Listings AI

          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.

          NEW Keyword Suggestions by Topic
          Moz Pro

          NEW Keyword Suggestions by Topic

          Learn more
        • 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.

          • MozCon

            Save on Early Bird tickets and join us in London or New York City

          Unlock flexible pricing & new endpoints
          Moz API

          Unlock flexible pricing & new endpoints

          Find your plan
        • Blog
        • Why Moz
          • Digital Marketers

            Simplify SEO tasks to save time and grow your traffic.

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

          • 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
        • My Q&A
        • 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
        2306
        Loading More Posts
        • Watching

          Notify me of new replies.
          Show question in unread.

        • Not Watching

          Do not notify me of new replies.
          Show question in unread if category is not ignored.

        • Ignoring

          Do not notify me of new replies.
          Do not show question in unread.

        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as question
        Locked
        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

                    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

                    • lowzy

                      How can i treat my dog which suffers from kennel cough?

                      home remedies for kennel cough

                      I searched a lot for finding home remedies for kennel cough to treat my dog who suffers from this cough

                      Social Media | | lowzy
                      0
                    • aplnzoctober18

                      Open graph tags

                      I’m in the process of developing a website and want to ensure the CMS can have OG tags set up and edit. I was going to add the following: og: type og :image og:url og:description Are there any other open graph tags worth adding in? Also in addition to open graph tagging is there any other social media sites etc that  need to be accommodate for in my CMS, in terms of adding tags?, ie Instagram, Pinterest or LinkedIn.

                      Social Media | | aplnzoctober18
                      1
                    • admiral99

                      How long it takes for Twitter carousel to appear under your website in google results

                      Dear Moz community, Not later than 7 days ago I did impelement twitter markup to a website including : as well as twitter markup to all blog/article posts The question: I mentioned Moz (when you search for this brand name in Google) it shows a recent tweets carousel, how long it takes for it appear on our website and should I do any additional fixes for it to appear ? BWctKyu

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

                      How can I change the Facebook Page shown in the SERP

                      Hi everyone, got a quick question in regard to our Facebook page and its appearance on the Google SERP. We have individual Facebook pages for every country and language. Unfornately the UK site is ranking in the German SERP rather then our Germany Facebook Site. The UK site is way older and has much more likes which most likely explains why this page is (still) outranking our, fairly new site (couple of months). Is there a way, to push my German Facebook Site in front of the UK Site in Germany? Any advice or tipp is much appreciated. Thanks

                      Social Media | | ennovators
                      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
                    • kchandler

                      Buying Twitter/Facebook Followers

                      So i have a client that sends me a link once a week about buying followers for social media profiles. Each time i tell him if it seems to good to be true... then its too good to be true! What are your guys thoughts, experiences, feelings? Here are a few examples: http://www.targetedtraffic.int.tc http://www.fbfandamonium.com

                      Social Media | | kchandler
                      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
                    • Digital Marketers
                    Free SEO Tools
                    • Domain Authority Checker
                    • Link Explorer
                    • Keyword Explorer
                    • Competitive Research
                    • Brand Authority Checker
                    • Local Citation 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.