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 -
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 -
Anyone have experience using Quuu Promote
Hi All, Do any of you have thoughts on this new content amplification platform? I saw it come through the App Sumo feed. I'm mainly wondering if anyone has any experience regarding link building with this service. Edited: Aug 25. After watching the video on how to use the Q&A (https://moz.com/help/guides/qa-overview/asking-question-qa) I thought I would make clear that I don't work for Quuuu. I work for a non-profit magazine publisher. I'm simply curious. Seeing that there have been no responses makes me think that perhaps I should pass on this platform. Thanks!
Social Media | | RicardoSalcedo0 -
Facebook adds a trailing slash to urls?
Hey Guys, we are facing a problem in our www.batuta.com with Facebook shares. Seems like because we choose to set our preferred canonical version urls to end with a trailing slash ( / ), like this one e.g.: www.batuta.com/الوجهات/إسبانيا/ Facebook adds automatically another ( / ) when trying to read the url on first share before its ever indexed in FB. Which makes Facebook think its a bad request! cause then the URL has two // at the end of it. hope this was clear. anyway, so first question: did anybody face this issue before? any solutions? Second, and might be more important: I might be forced to face the option of changing the canonical tags to be a url without a ( / ) if I will have to do this I will enforce a redirect on every url request with an ending trailing slash ( / ) to be redirected to the new canonical version without. will this be enough? how big am I supposed to suffer here? am I facing a long time with double indexed urls? wonder if anybody faced this problem before! Best Regards
Social Media | | Muhammad_Jabali0 -
How can you tell if a competitors' FB post was boosted?
Does anyone know how to identify if a FB post was boosted or not? Does FB or a third party software have that capability? Thanks, Ruben
Social Media | | KempRugeLawGroup0 -
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 -
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 -
Goarticles.com has anyone used them to generate traffic and brand
Hi has anyone used go articles.com to increase their brand awareness and traffic. I have been using the site for a while now but never seen any real results where our articles only get a couple of views over the space of a few months while i have seen some other articles on the site that claim they are receiving thousands. would like to know if the stats are true what is the secret to generating traffic to the articles on the site and if there are better article sites out there to increase brand awareness.
Social Media | | ClaireH-1848860