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 Indexed Images: Website Vs Social Media
I use Pinterest, Twitter and Instagram to post images that are already featured on my website. I have been following a routine of uploading the images to these social media platforms only after I can see Google has indexed the image from my original site. My website is ecommerce and the product images drive sales more than any other factor. The thinking behind my method was that when these images are posted on Pinterest, Twitter and the various Instagram crawler sites (I realise Instagram images aren’t indexed directly), Google would recognise that the image was already attributed to my website. The ‘duplicate’ image would not therefore be indexed and the originally uploaded website image would remain in ‘Google Images’. After completing various searches and reviewing other Q&A’s on Moz, it seems as though this is in no way guaranteed and images reposted on social media platforms may still replace the already indexed image from the website. I am assuming this is because Google views these platforms as more authoritative than mine. I usually change the image by adding logos, text, backgrounds, borders etc before posting on Pinterest and this seems to have worked most of the time (both the original and ‘amended for Pinterest’ versions are often indexed) but images posted on other platforms are usually identical. Does it make sense to continue with my method or am I shooting myself in the foot by reposting these images on social media at all? I obviously want customers searching for products, who then click on an image, to be directed to my site rather than one of my social media pages or worse, an image reposting site. Additionally, If I post images on social media before they are uploaded to my website (for example to tease a product launch), would Google likely class these images as the ‘original’ and therefore be less likely to index the website version of the image once it is uploaded? Any thoughts are appreciated.
Social Media | | g3mmab2 -
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 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 -
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 -
Is there a Facebook Ad equivalent to Google MCC?
Hi Mozzers, Really unsure if we are missing something here, but whilst trying to set-up paid ads for some of our clients on FB we have run into a significant issue. We need to be able to allow FB to debit multiple business accounts for varying ads on different pages. However every time we try to access the ads manager to set-up a new ad, FB takes us to the individuals (the person logged in to the page) account, rather than creating an ad account for that page/business individually. What are we missing? We use Google MCC for managing our PPC campaigns and so wondered if there is anything similar we can use for FB? Or any other recommendations on how to get round this without dragging each client into the office and asking them to log-in so that we can set these up? Thanks!
Social Media | | Silkstream1 -
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 -
Does social bookmarking still work? If so can anyone recommend a tool
Hello everything, I'm trying to find a tool I can use for my domain : www.van-plus.com to get it socially bookmarked? Can anyone recommend anything? Thanks in advance!
Social Media | | vanplus0 -
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