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
-
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 | | infamia0 -
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 | | varunrupal0 -
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 | | Silkstream1 -
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 | | moonheart0 -
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 -
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 | | ShaunPhilips0 -
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 | | AshShep10 -
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