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 can we use tonsil grading scale?
I search for how we can use tonsil grading scale for determining tonsil size and choose the proper treatment
Social Media | | lowzy0 -
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 -
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 -
How can I change the Facebook Page shown in the SERP
Hi everyone, got a quick question in regard to our Facebook page and its appearance on the Google SERP. We have individual Facebook pages for every country and language. Unfornately the UK site is ranking in the German SERP rather then our Germany Facebook Site. The UK site is way older and has much more likes which most likely explains why this page is (still) outranking our, fairly new site (couple of months). Is there a way, to push my German Facebook Site in front of the UK Site in Germany? Any advice or tipp is much appreciated. Thanks
Social Media | | ennovators0 -
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 -
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 -
Permanent URLs for Twitter?
Hi everyone - The site I am working on is going to start giving users the option to tweet that they completed an action. It reads, for example, "I just took the first step to ( ) with (site): (shortened link) via (Twitter name)" Here's my question: Should I worry about the fact that the shortened URL (we're possibly going to use Twitter's shortener T.Co, but I'm not dedicated to it) changes each time? Should we instead have a permanent short URL for the homepage (where we are going to direct people who click the link in the tweet)? Thanks!
Social Media | | JohnECF0