E-commerce
October 31, 2026
Wondering how to install Facebook, Twitter, and LinkedIn buttons on your store? In just a few minutes, you can give your visitors direct access to your social pages and thus boost engagement. These buttons are free, easy to integrate, and require no advanced programming knowledge. The challenge is to choose the right badge, retrieve the correct ID, and place the code in the right spot so as not to break the design. In addition to attracting traffic, they improve social SEO by increasing organic shares. We will see how to create each button, place them coherently, and how the Qstomy platform simplifies the entire process. Enhance your SEO strategy by leveraging the social signal generated by these shares, and measure their impact directly from the Qstomy dashboard. Prepare your theme editor, your credentials, and follow our detailed steps.
Summary
How to create a Facebook 'Find Us' button without touching the code?
Facebook offers two types of badges: a badge for personal profiles and a badge for business pages. If you are a beginner, the 'Find Us On Facebook' badge available on free sites like Coolbadge.org is ideal. Browse the gallery, choose the visual that matches your brand guidelines, then copy the generated code. This code integrates into the theme.liquid of Shopify, in the location where you want to display the button (header, footer, or product page). No additional plugin is required, keeping your store lightweight. Remember to test the rendering on mobile, adjust the badge size via CSS, and verify that the link opens your page in a new tab so you don't lose the visitor. You can also create a dedicated snippet to reuse the same badge across multiple templates without duplicating the code.

Convert over 2,000 customers on average per month with Qstomy.
The world’s 1st Shopify AI dedicated to customer conversion



Empowering 200+ e-commerce merchants
What choice between a personal badge and a business page badge on Facebook?
The personal badge typically displays your profile photo and a small text, which may seem too informal for a store. The business page badge, provided directly by Facebook, integrates your page logo and title, offering a more professional presentation. Using the page badge also allows you to benefit from automatic updates when a URL changes or you modify the page name. Furthermore, the business badge can be customized with colors that harmonize with your theme, improving the overall aesthetics. We recommend prioritizing the page badge to strengthen your brand's credibility. Additionally, associate this badge with your Facebook pixel to track conversions generated by social visits.
How to obtain the Facebook profile ID required for the badge?
The profile ID is found in your page URL after 'www.facebook.com/'. For example, https://www.facebook.com/yourstore/123456789012 ; the numbers at the end constitute the ID. On Coolbadge.org, paste this ID into the « Profile ID » field, refresh, and the badge HTML code appears. Copy it, then paste it into your Shopify theme. If your URL does not contain numbers, you can retrieve the ID from the Facebook Page Manager by viewing the page source and searching for « page_id ». This method ensures the badge always points to the correct profile. An alternative is to query the Facebook Graph API to extract the ID programmatically and thus automate updates.
How to integrate the Facebook badge code into your Shopify store?
In your Shopify admin, go to Online Store → Themes → Actions → Edit code. Open the file header.liquid ou footer.liquid according to the desired location, paste the badge code just before the </head> tag or in the HTML block of the footer. Save, preview your store, and verify that the button displays correctly. You can also add a target="_blank" to the link to open the Facebook page in a new tab, offering a better user experience. Do not forget to clean up unnecessary whitespace and minify the code if you have multiple buttons to optimize load time. In practice, create a snippet named social-fb-badge.liquid and include it where needed, which simplifies maintenance.
How to add the Twitter « Follow Us » button to your site?
Twitter offers a direct follow button generator. Log in to your account, then go to the Resources → Buttons page. Choose the style (gray, blue, size) and enter your Twitter handle. The HTML code appears immediately. Copy it and insert it into the same file header.liquid ou footer.liquid as for Facebook. No additional scripts are required; the button works immediately. Remember to test the button behavior on mobile browsers, add the parameter data-show-count="false" if you do not wish to display the follower count, and verify that the link uses https to avoid security warnings. You can also customize the color via the parameter data-theme="dark" to harmonize with a dark theme.
Where to find official Twitter resources for follow buttons?
All resources are gathered on twitter.com/about/resources. The « Follow buttons » section offers several variants (text « Follow Me », « Follow Us », icon only). You can test each variant on the preview page before copying the code. In addition to the button, Twitter offers module scripts that allow you to display your account feed on the store side. This can be a good option to enrich your homepage, but ensure you do not slow down load times. Use deferred loading (async) for the script to keep your site responsive. To respect privacy, activate the attribute data-dnt="true" to disable Twitter's public advertising tracking.
How to copy the Twitter button code and insert it without a developer?
Once the code is generated, select it, press Ctrl + C (ou Cmd + C) then open the Shopify theme editor. Paste the code at the chosen location and save. If you are using a visual editor, insert the code into a custom HTML block, which avoids touching theme files. Test the rendering on mobile: buttons generally adjust to 100% of their container width, but you can add some CSS to harmonize spacing. A small .social-btn {margin-right:6px;} improves the visual appearance on all screens. For a cleaner implementation, create a file social-buttons.liquid including all three badges and use {% include ’social-buttons’ %} where necessary.
How to create a LinkedIn « View My Profile » button on your store?
LinkedIn also offers a button generator. Log in, click the « Promote your Profile » link at the top right of your profile, then choose the button size (small, medium, large). The HTML code appears instantly. Copy the code and drop it into your Shopify theme, ideally next to the Facebook and Twitter buttons to create a cohesive group. You can choose the « View My Profile » or « Follow » button, depending on your goal (visibility vs. following). Remember to verify that the button uses the protocol https to avoid browser warnings and add an attribute rel="noopener" for security. If you represent a business, prefer the « Company » button which redirects to the LinkedIn company page rather than a personal profile.
What LinkedIn button size should you choose for an optimal look?
For a harmonious display, prefer the « large » button (160 × 33 px) if you have horizontal space, or the « small » button (80 × 15 px) if you integrate the three icons in the footer. Then adjust the margin or the display:inline-block via your CSS to align the three buttons. An example of a CSS rule: .social-buttons img {margin-right:8px; vertical-align:middle;}. This ensures that each icon keeps the same spacing and alignment, even on mobile. You can also introduce a media query rule to reduce the LinkedIn button size on narrow screens. For example: @media(max-width:600px){ .linkedin-btn {width:120px;height:auto;} }
How to place the three buttons coherently on your product page?
Create a common container <div class="social-buttons"> and insert the three badge codes inside. Thanks to simple CSS, you can arrange the icons in a row or column. Here is an example of HTML code to place in product.liquid : <div class="social-buttons">[code Facebook] [code Twitter] [code LinkedIn]</div>. Then, add the following CSS in your theme.css : .social-buttons {text-align:center; margin-top:20px;}file. You can enhance the appearance with a small border or a hover effect (opacity) to make the buttons more interactive. Also add aria-label attributes to each link to improve accessibility for screen readers.
How does Qstomy facilitate adding and managing social buttons?
Qstomy offers a centralized dashboard where you can activate, deactivate, or replace social buttons with a single click. No need to touch the code: choose from Facebook, Twitter, and LinkedIn badge templates, then uncheck the tracking options you don't want. In addition to integration, Qstomy tracks clicks on each button, allowing you to analyze which network generates the most traffic. This data aligns with our upsell and cross‑sell recommendations, to offer relevant products to visitors arriving via social networks. The system automatically integrates with your order flow, package tracking, and after‑sales service, ensuring a smooth customer experience from the first social click to delivery. Take advantage of built‑in A/B tests to compare the impact of different button sizes or colors and optimize the conversion rate.
What checklist before publishing social buttons on your store?
In short
Check URLs : each badge must point to the correct profile or company page.
Test on mobile : icons must be readable and clickable.
Check loading time : use Qstomy's asynchronous mode to avoid slowdowns.
Analyze performance : consult the Qstomy dashboard to track clicks and generated traffic.
Ensure accessibility : add attributes
aria-labeland check color/background contrast.
FAQ
Do the buttons slow down my site? No, thanks to Qstomy's asynchronous injection, the weight remains negligible.
Can I change the color after publishing? Yes, the dashboard allows you to modify the style without touching the code.
Do I need to add a button for each page? Presence in the footer and on product pages is usually sufficient, but you can extend it to blog posts.
Once the checklist is validated, push the changes, refresh the store, and observe the first shares! To go further: Why use social media for e‑commerce customer service, Qstomy, Train an e‑commerce chatbot with Shopify, Qstomy, Integrate CS responses into an e‑commerce SEO strategy, Qstomy, E‑commerce SEO strategy for category pages, Qstomy, How to create a payment gateway for an e‑commerce site, Qstomy, How SEO works for e‑commerce sites, Qstomy.
To go further: How to drive traffic to an online store (SEO, ads, social media) - Qstomy, Why use social media for e-commerce customer service? - Qstomy, Training an e-commerce chatbot with Shopify: using the right data without creating bad responses - Qstomy, Integrating CS responses into a useful e-commerce SEO strategy for customers - Qstomy, E-commerce SEO strategy for category pages - Qstomy, How to create a payment gateway for an e-commerce site? - Qstomy, How does SEO work for e-commerce sites? - Qstomy.

Enzo
October 31, 2026


