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 -
Can we create regional pages on Facebook?
Hi, Our business spans across many countries and in order to maintain brand consistency, we were contemplating to create regional fan pages on Facebook. The structure would be like parent-child relation i.e. one main page and other regional pages. Is it possible? We searched for it but could't find something concrete except that in 2012 Facebook was testing similar concept. Regards
Social Media | | IM_Learner1 -
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 -
Hootsuite Vs Sprout Social for social media management
Can you please tell me if hoot suite or sprout social is a better option when it comes ot managing social media? Corn
Social Media | | netlover0 -
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 -
How can you bulk search by email for social networks?
Hello Everyone! We're trying to launch a Social Media campaign for our website and in order to reach more people and follow/invite them to our social profiles we thought of finding them by their email addresses (i read a post somewhere - maybe seomoz, maybe not can't remember). Can anyone suggest a tool or best way of researching ~20.000 email addresses to find out / filter what social networks have this email registered? Much appreciated! Alex
Social Media | | pwpaneuro0 -
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