---
updatedAt: 2025-06-09T23:15:47.000Z
agentTools:
  projectIndex: https://developers.viral-loops.com/llms.txt
---

# Referral URL Widget

The Referral URL Widget provides users with a simple yet essential feature for sharing their unique referral link. This widget displays the personalized referral URL and includes an easy-to-use copy function, allowing users to quickly copy their link for sharing across different platforms.

![](https://files.readme.io/3084acb884016415b1ef600d4328eee1bd2d9238e31b456ee2ac1121f91170a5-image.png)

This widget is modular. It is derived from the [Sharing Widget](https://developers.viral-loops.com/docs/form-widget-1) but can be customized individually and allows further customization of your referral dashboard.

After completing the [Installation](https://developers.viral-loops.com/docs/overview-1) step you can use the Referral URL widget like this:

```html
<referral-url-widget></referral-url-widget>
```

If you are installing multiple campaigns on your page make sure to also include the campaign's ID on the widget like this:

```
<referral-url-widget ucid='Your Campaign Id'></referral-url-widget>
```