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
-
Twitter Analytics: Follower Count & Reporting Inconsistencies
Our number of followers on Twitter has suddenly dropped (yet not dropped) in a really weird way. Twitter Analytics shows follower counts in two places: Monthly increases in followers, and then also in the Audience Insights tab, where you can see three months of follower counts mapped in a chart. Month-to-month, the total number of followers continues to rise. What’s inconsistent, however, is the total number of aggregate followers shown in the cart. Twitter just dropped our to total count of followers by about 600. But it’s not like we just suddenly lost 600 followers last month (in fact we gained far more than that), but rather that Twitter seems to have adjusted the aggregate numbers across the board retroactively for all months. So while month-to-month continues to show gains, overall, we still went down. The only way we would have even noticed this, by the way, is because we have a record of the OLD total follower count that Twitter had previously displayed as recently as last month. So confusing. We’re trying to figure out what happened, and the only thing that seems to make sense is that Twitter may have done a huge spam account purge, and instead of making it look like we suddenly lost a lot of followers, they just updated the aggregate total # of followers across all time……? [For the record, we do not buy followers, but we don’t always do the best job at blocking spam followers when the do follow us either.] Any advice would be appreciated, thanks. 🙂
Social Media | | mirabile0 -
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 -
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 -
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 -
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 go from PR3 to PR4 ?
Hi guys ! I'm a one guy army here trying to get my website rank from PR3 to PR4. I have really great content (the website is an industry standard) that's about 80 pages. I currently rank PR3 (find my stats down there). Anyone have an idea on an action plan to get to the next level ? I don't have a budget, I just have manpower (more or less 1h seo everyday + one day a week to write content). Thanks ! | Domain Authority | 30 |
Social Media | | zedisdead
| Domain MozRank | 3.73 |
| Domain MozTrust | 3.92 |
| External Followed Links | 709 |
| Total External Links | 888 |
| Total Links | 5,356 |
| Followed Linking Root Domains | 46 |
| Total Linking Root Domains | 60 |
| Linking C-Blocks | 49 |0 -
Twitter Username: Keyword or Company Name?
Hello everybody! I'm in doubt with which one is the best: To have a Twitter profile name with: 1)the company's name.
Social Media | | seomasterbrasil
Of course it's good for branding, but it's a B2B, industrial market. 2)a relevant keyword.
Will it bring traffic, considering that is a B2B, that works different. The question is: does Google gives relevance to username with keyword in it? If yes, have it a great value, or should I use the company name? Thanks! =]0 -
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