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
-
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 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 -
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 | | Autoboof0 -
How do I quickly check which keywords Google index YouTube videos for on first page?
I'd like to create YouTube videos since they can be a good way to rank for certain keywords. So I'd like to find a way to QUICKLY know which of the thousands of keywords I have are most likely to result in a first page result for my video. Is there a tool or technique you can recommend for quickly identifying the keywords I should target?
Social Media | | Interdisplay0 -
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 -
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 -
Tool/Method to find users on Twitter from a CSV file
I'm attempting to find users to follow and receive reciprocal follows for a client on twitter. Through the company's newsletter database, I have a CSV file of somewhere in the range of 20,000 email addresses and names. I've been importing them 250 at a time into an empty Gmail account then connecting that with twitter each time to find some of them. However, a lot of the PEOPLE using the email addresses on the mailing list are not on twitter but their COMPANY is. To find the company, I can obviously drop the name@ part of the email and just search by the domain but this becomes tedious real quick since it has to be one by one and cannot be bulk imported/searched. Are there any tools/ideas out there to more easily find twitter users based on a larger set of keywords and/or domain names?
Social Media | | Motava0