Website Building » Shopify » How Do I Add a Security Badge on Shopify?

How Do I Add a Security Badge on Shopify?

Last updated on January 12, 2023 @ 10:39 am

Adding a security badge to your Shopify store is a great way to show your customers that you take their security seriously. There are a few different ways to add a security badge to your store, and we’ll walk you through each one.

Option 1: Use a Shopify app

There are a few different Shopify apps that will allow you to add a security badge to your store. We recommend using the Trust Badges app, as it’s one of the most popular and user-friendly options. Trust Badges offers a free 14-day trial, so you can try it out before committing to a paid plan.

Option 2: Add code to your theme

If you’re comfortable working with code, you can add a security badge to your store by adding a snippet of code to your theme.liquid file. To do this, log in to your Shopify admin and go to Online Store > Themes > Edit code.

In the Layout folder, open the theme. Find the tag and add the following code just above it:

<script type="text/javascript" src="//widget.trustedshops.com/js/tsstamp.js"> </script>

<script type="text/javascript">

var tsKey = 'YOUR_TRUSTED_SHOPS_KEY';

TrustBadge("https://www.com/"+tsKey+".html", +3, 1).show();

</script>

<!-- END TRUSTED SHOPS BADGE CODE -->

Replace “YOUR_TRUSTED_SHOPS_KEY” with your actual Trusted Shops key.

If you don’t have a Trusted Shops key yet, you can sign up for one here. Once you have your key, just add it to the code snippet and save your changes.

PRO TIP: If you are considering adding a security badge to your Shopify store, be aware that this could potentially compromise the security of your store. A security badge is essentially a graphic that indicates to visitors that your site is secure. However, if the badge is not properly configured, it could give visitors the impression that your site is less secure than it actually is. In addition, if the badge is not from a reputable source, it could contain malicious code that could infect your site.

Option 3: Use HTML or CSS

If you’re not comfortable working with code, or if you don’t want to use a Shopify app, there’s one other option for adding a security badge to your store – using HTML or CSS. You can find both HTML and CSS code for Trusted Shops badges here. Just copy the code for the badge you want and paste it into your store’s HTML or CSS.

Conclusion:

Adding a security badge to your Shopify store is a great way to show your customers that you take their security seriously.

There are three different ways that you can add a security badge to your store: by using a Shopify app, by adding code to your theme, or by using HTML or CSS.

We recommend using the Trust Badges app as it is one of the most popular and user-friendly options.

Whichever method you choose, adding a security badge to your store is sure to give your customers peace of mind.

Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.