# Embeds and campaign links

> Put a gift signup form on your website and tag your links with utm_source and utm_campaign to see which channels bring readers and buyers.

Source: https://www.skillfully.sh/docs/sell/embeds-and-campaign-links
Last updated: 2026-11-30

You can put a gift signup form on your own website with a short embed code, and you can tag any offer or gift link with campaign parameters. Skillfully records where each visitor came from, so **Offer conversion** shows which newsletter, post or podcast brought in readers and buyers.

## Embed a gift on your website

The gift embed is a small form, "Email address" and **Get access**, that you paste into any web page. A visitor enters their email and Skillfully sends the same "Get started with" setup email as the gift link. Their free access starts when they open it.

1. Open your skill and select **Monetization**.
2. Open the gift's **⋯** menu and select **Manage**.
3. Select the **Embed** tab.
4. Optional: choose a **Background color**, or type a six-digit **Hex color** such as `#F6F5F2`, to match your page. **Reset color** returns to the default. The preview updates as you change it, and the text colour adjusts so it stays readable.
5. Select **Copy embed**.
6. Paste the code into your website's HTML where the form should appear.

The **Embed** tab appears for active gifts that are still within their **Redeem by** date. A new gift also shows the embed under **Gift link ready**, right after you create it.

### What does the embed code look like?

```html
<iframe data-skillfully-embed src="https://www.skillfully.sh/embed/gifts/<gift-id>?background=%23F6F5F2" title="Subscribe to a skill" width="100%" height="420" style="border:0;max-width:640px" loading="lazy" referrerpolicy="no-referrer"></iframe>
<script async src="https://www.skillfully.sh/embed.js"></script>
```

Keep both lines. The `iframe` is the form. The `embed.js` script passes the visitor's campaign tags, your page's hostname and the referring site's hostname to the form. Without it, Skillfully can't see your campaign tags or the site your visitor came from. If you pasted an embed before campaign tracking existed, replace it with a fresh copy: "Replace older embeds to track sources."

> [!WARNING]
> The embed uses the gift's link. If you rotate the gift link, the old embed stops working. Copy the new embed code and replace it on your site.

> [!NOTE]
> Only gift embeds are available to copy from the dashboard. To sell from your website, link to an offer's buy page. You can't add your own ad pixels to an embed or a buy page.

## Tag links with campaign parameters

Add `utm_source` and `utm_campaign` to the end of a link to record where a visit came from:

- `utm_source`: the channel, such as `newsletter`, `x.com` or `linkedin`.
- `utm_campaign`: the specific send or post, such as `june-issue` or `launch-week`.

Add the tags to:

- An **offer link** or **gift link** you share directly.
- The **page on your website** that holds a gift embed. `embed.js` reads the tags from your page's address and passes them to the form.

Start the tags with `?` if the link has no `?` yet, and join them with `&`.

| Where you share | Example link |
|---|---|
| Newsletter | `https://www.skillfully.sh/skills/<skill-id>/buy/<offer-id>?utm_source=newsletter&utm_campaign=june-issue` |
| X | `https://www.skillfully.sh/g/<gift-id>?utm_source=x.com&utm_campaign=launch-thread` |
| LinkedIn | `https://www.skillfully.sh/skills/<skill-id>/buy/<offer-id>?utm_source=linkedin&utm_campaign=launch-week` |
| Podcast (your website with an embed) | `https://example.com/trial?utm_source=podcast&utm_campaign=episode-42` |

Tips:

- Use one spelling per channel. Sources are shown as written, so `newsletter` and `Newsletter` appear as two sources. The exception is X: `twitter`, `twitter.com`, `x`, `x.com` and `t.co` are all shown as **X**.
- For a podcast or a talk, read out a short web address that redirects to your tagged link, or to a page on your site with the embed.
- `utm_medium`, `utm_content`, `utm_term` and `utm_id` are recorded too. **Offer conversion** filters by source and campaign.

## Where do sources show up?

### Offer conversion

**Analytics** → **Offer conversion** stacks each step of the funnel (**Offer visits**, **Activated**, **Used skill**, **Currently paying**) by source. Use **All sources** and **All campaigns** to filter.

Skillfully picks each visit's source in this order:

1. The `utm_source` tag.
2. If there's no tag, the referring website's hostname (for example `news.ycombinator.com`).
3. If neither is available, **Direct / unknown**.

The campaign is `utm_campaign`, or `utm_code` if that's what the link uses. People with no stored attribution, such as those who arrived before campaign tracking existed, show as **Unattributed**.

![Offer conversion showing unique visitors and the four funnel steps, each bar split by source](https://www.skillfully.sh/docs/screens/analytics-offer-conversion.webp "Offer conversion for the demo skill. The legend lists each source, and every bar is split by source.")

Read more in [Offer conversion](https://www.skillfully.sh/docs/analytics/offer-conversion).

### A person's acquisition

Select any person, in **Users** or from a chart, to open their details. The **Acquisition** section lists the **Source** and **Campaign** of the links they came through. See [Users](https://www.skillfully.sh/docs/analytics/users).

## For AI agents

- `get_skill_conversion` returns the offer conversion funnel with its `acquisition` breakdown and the available source and campaign filter values.
- `get_skill_person` returns one person's `acquisition` view.

Both are read-only tools on the [author MCP](https://www.skillfully.sh/docs/agents/author-mcp). An agent can also build tagged links for you: append `?utm_source=<channel>&utm_campaign=<name>` to the offer or gift link from **Copy link**.

## Related

- [Gift links](https://www.skillfully.sh/docs/sell/gifts)
- [Offers](https://www.skillfully.sh/docs/sell/offers)
- [Offer conversion](https://www.skillfully.sh/docs/analytics/offer-conversion)

---

Questions or corrections: eren@skillfully.sh
