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
-
Hi,
Can I add Twitter cards code using Google Tag Manager?
Thanks
-
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
-
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.
-
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
-
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
-
I don't think you can as the tag manager sits in the body, not in the header.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
How can i treat my dog which suffers from kennel cough?
I searched a lot for finding home remedies for kennel cough to treat my dog who suffers from this cough
Social Media | | lowzy0 -
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 | | aplnzoctober181 -
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 | | admiral990 -
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 | | cathibanks0 -
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 | | JonsonSwartz0 -
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 | | netlover0 -
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 | | JonsonSwartz0 -
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 | | RR5000