> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.hoppyapps.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🔗 How to Add Links to Trust Badges

Want shoppers to click your trust badge and land on a policy page, a collection or a product? 🔗 Every icon, banner and social icon in the app can carry its own link.

This guide explains the link options, how to set each destination and what behaves differently for floating and checkout badges.

---

# **🧭 Link Options at a Glance**

For every icon in the **Content** tab, you will see a **Call to action (CTA Button/Link)** dropdown with three choices:

* **No call to action**: the badge is only visual
* **Add Button with Link**: a separate button is shown, and you type the **Button Text**
* **Add Link to whole block**: the whole icon or banner becomes clickable

After you pick a button or a whole-block link, choose where it goes:

* **Product page**: click **Select product** and pick a product from your store
* **Collection page**: click **Select collection** and pick a collection from your store
* **Custom**: type any address into **Custom CTA link**, for example a shipping policy, a returns page or an external site

---

# **🚀 Step-by-Step Setup**

## **➡️ Step 1: Open Your Badge**

Go to **Shopify Admin → Apps → Hoppy Trust Badges** and open the badge you want to edit, or create a new one.

## **➡️ Step 2: Go to the Content Tab**

Scroll to the icon you want to link. Icons are labeled **Icon #1**, **Icon #2** and so on. A **Single banner** has just one.

## **➡️ Step 3: Choose the Call to Action**

Open **Call to action (CTA Button/Link)** and pick **Add Button with Link** or **Add Link to whole block**.

If you chose **Add Button with Link**, type the label into **Button Text**, for example "Shop now". The button text is required.

## **➡️ Step 4: Choose the Destination**

Pick **Product page**, **Collection page** or **Custom**, then:

* For a product or a collection, click **Select product** or **Select collection** and choose one. Its name appears under the button.
* For **Custom**, paste the full address into **Custom CTA link**.

When you switch to **Custom**, the **Custom CTA link** field starts with your store address as a starting point, so replace it with the page you want. When you switch to **Product page** or **Collection page**, always pick an item with the select button, otherwise the link has no destination.

## **➡️ Step 5: Save**

Click **Save**. If the badge is already published, the change goes live on your storefront. Each icon in a badge has its own link, so repeat the steps for every icon that needs one.

---

# **✅ Expected Result**

On your storefront, the button or the whole badge is clickable. The link opens in a new browser tab, so shoppers do not lose their place.

---

# **⚠️ Important Notes**

* **Floating Icons** only offer **No call to action** and **Add Link to whole block**. There is no button option for floating badges.
* **Checkout badges have no call to action dropdown.** You cannot add a button to badges placed in checkout. **Social & Brand icons** in checkout keep their whole-icon link, so each icon still opens the address set in **Custom CTA link**.
* **Social icons** start with a whole-block link and a custom address, which suits links to your social profiles.
* **Tooltips are separate.** Below the link settings, **Add tooltip** lets you show extra text on hover or on click. It is not a link, and it is not available for floating or checkout badges.
* **Clicks are counted.** Clicks on an **Add Button with Link** button or a whole-block link appear in the analytics. The exception is a **Single banner**, where only the button is counted. See **📊 Trust Badges & Icons — Analytics**.
* **Too many fields?** Fields only show when they apply. For example, **Button Text** appears only after you pick **Add Button with Link**.

---

# **🛠️ Troubleshooting**

## **I cannot save because of a link error**

The app checks required fields before saving. Look at the red error banner at the top. For links, the usual message is "Button text is required.", which appears when **Add Button with Link** is selected but **Button Text** is empty. For a **Single banner**, "Title is required." can also appear. Fill in the field mentioned and save again.

## **The button does not appear**

Check that the call to action is set to **Add Button with Link** and the button text is not empty. Also confirm the badge is published and you refreshed the storefront.

## **Clicking the badge does nothing**

Check that the call to action is not **No call to action**. If you use **Custom**, make sure the address is complete. If you use **Product page** or **Collection page**, make sure you picked an item with **Select product** or **Select collection**. Then hard refresh your store.

## **My product or collection link opens the wrong page**

Click **Select product** or **Select collection** again and pick the right item. The selection is stored per icon.

---

# **🎉 Final Result**

* ✅ Your badges guide shoppers to the pages that build trust
* ✅ Each icon can have its own button or whole-block link
* ✅ Links open in a new tab, so shoppers can keep browsing
* ✅ You know the limits for floating and checkout badges