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 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 -
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 -
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 -
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 -
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 -
Has anyone used klout?.
I've come across http://klout.com and would lot know if anyone uses this and to what benefit?
Social Media | | Aikijeff1 -
How Can I do SEO for a Escorts Website?
So here comes the hard part of working with SEO.... I've been doing SEO for a quite long time now and as far as I concern, it has been working and that's why I can tell people I'm a SEO Manager! It was all good until 3/4 months ago when I got this client that wanted me to do SEO for his Escort Agency. I've analysed his website and came across some structure error, poor linking and so on... I've started by reformulating his website, re-structuring his urls, keeping good pages and throwing alway the poor content ones, requested some website owners to remove links to that website and so on.... All good and sorted, but when it came to do the off-page optimisation it became a nightmare! It's pretty easy to get links for a clothing website or any other (not "obscure") kind of websites, but no serious and authority websites would link to an escort agency; It's also very easy to create something funny and nice and post it on a page of your website to get people sharing and liking on facebook, but again very hard to get people to share and like things posted by an escort agency... You can't really advertise on escorts directories and use keywords on the ad because godfather google would penalize you.... I really don't know what to do anymore, so I will list some questions and if guys SEO experts could help me out, I would be so grateful!!! How can I get people linking to the website without paying for it? How can I get good authority links to this kind of website? How can I advertise on paid directories without being penalised by google? How can i get shares and likes on social network websites? The website has about 3000 pages, been online since 2010, have at least 3 lengthy articles posted a day! Please guys help me out with this case that is making me loose my nights of sleep... If you guys need the website address and the targeted keyword I can PM you (I dont know if the forum allows me to post it here) Thank You so much for the help in advance....
Social Media | | douglasapuc6 -
Multiple twitter accounts for Different countries...
Ok, so we currently operate in the UK, Australia, Ireland, Spain and France. Currently we have a different twitter accounts for each Country. This can be difficult to manage as we are going it all from the UK. I can understand that having separate accounts for foreign language countries is perhaps suitable (we have foreign staff tweeting in their native tongue), but my question is this: Is it worth just tweeting all English speaking activity from one account. I mean at the end of the day we are one company, and also our activity in other countries won't effect our followers, in fact wouldn't it just make them realise we are a global brand? What are the advantages and disadvantages of gradually deleting the other accounts and tweeting all English stuff from the one account? Cheers,
Social Media | | esendex0