Shopify themes, liquid, logos, and UX
Twitter Cards make it possible for you to attach media experiences to Tweets that link to your store content. Simply add a snippet to your theme, and visitors who Tweet your products and blog posts will have an attractive “card” added to their Tweet that will be visible to all their followers.
You will need a Twitter account for this. If you already have a Twitter account, then jump ahead to the next step.
twitter-cards.liquid
. It's possible that your theme already contains that snippet. If it does, then you need to skip ahead to the Submit your website to Twitter section. twitter-card
.twitter-card.liquid
snippet, add the code here.theme.liquid
:</head>
tag, and right above it, add this code:{% render 'twitter-card' %}
Next, you will test your store's URL by validating it using the Twitter card validator.
TyW | Online Community Manager @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Thanks a Lot, TyW your step by step procedure really help me I have just implemented this on https://www.alphonsomango.in my store on Shopify.
My theme is the Basel theme.
Need your one more help
How to set up twitter universal website tag I am trying to add in liquid.theme but I think I am not able to get it thru.
Please help thank you in Advance and God bless you for this help
Hi, I actually tried the code and I'm still getting an error on the site mforia.com I took a screenshot from what woorank report. Please let me know what I can do.
You are the best fixed my issue without me googling other things, clear instructions 🙂
This was so helpful! However, the image being extracted and shown in the card is the third one from my product. How can I make it show the first image?
It works well for the Home page however when I look to share an interior page, it doesn't load any images. It just shows the default placeholder icon on grey background.
Any idea on how to resolve? Cheers!
Perfect! Perfect! Perfect! Thank you so much!
User | RANK |
---|---|
222 | |
150 | |
60 | |
49 | |
46 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023