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 -
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 -
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 -
How to recover Google+ business page if it gets deleted by mistake ?
Hi, i have a client who has by mistakenly deleted its G+ business page which is having good expousre on Google+. he got worried how to recover it . even i don't know how to do it. any help or discussion for the solution would be appreciated Thanks,
Social Media | | ShaunPhilips0 -
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 -
Twitter lists - Transferring from 1 account to another
Hi Does anybody know how to transfer Twitter lists from 1 account to another ? Twitter says this isnt possible but is anyone aware of any software that can do this (or technique) ? Both accounts have the same owner Many Thanks Dan
Social Media | | Dan-Lawrence0 -
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