Docs

Link Attribution

5 min readUpdated June 15, 2026

Link Attribution lets you track where your bio page visitors come from and pass that source information through to external destinations. Enable it at Link Bio → Attribution.

How it works#

When someone arrives at your bio page from Instagram, Reddit, YouTube, or any other source, their URL often contains tracking parameters — for example ?utm_source=instagram. Link Attribution captures those parameters and does one of two things when the visitor clicks an outbound link:

  1. UTM passthrough — appends the captured parameters to the destination URL so the external site (Shopify, OnlyFans, etc.) receives the source information
  2. Source routing — redirects the visitor to a different destination URL based on where they came from, using tracking links you have created on the destination platform

Social icon links and links pointing to your own domain are always skipped.

UTM passthrough#

When a visitor arrives at yoursite.com/links?utm_source=instagram, the plugin captures utm_source=instagram. When they click any outbound link — say, your Shopify store — the link becomes yourshop.com/products?utm_source=instagram&utm_campaign=linkinbio. Your Shopify analytics then shows Instagram as the traffic source.

Auto-generated campaign#

If the visitor’s URL does not include a utm_campaign, the plugin generates one automatically using the Default campaign name you set (default: linkinbio). With Language-aware campaign enabled, the language code is appended for translated pages — linkinbio-ar for Arabic, linkinbio-fr for French, and so on.

Parameters to forward#

Choose which UTM parameters to append to outbound links. All four are available:

  • utm_source — where the visitor came from (instagram, reddit, youtube)
  • utm_medium — the traffic medium (social, email, paid)
  • utm_campaign — the campaign name (linkinbio or your custom value)
  • utm_content — content variant (optional, off by default)

If the destination already has UTMs#

Choose whether to skip links that already have UTM parameters, or override their values with the visitor’s captured ones.

Excluded domains#

Add domains that should never receive appended UTMs — payment processors, partner sites, or any destination where UTM parameters could cause issues. Your own site’s domain is always excluded automatically.

Source routing rules#

Routing rules let you redirect visitors to a different URL based on their traffic source. This is designed for platforms that generate per-source tracking links, like OnlyFans tracking links or affiliate links with source-specific IDs.

How routing rules work#

Each rule has:

  • Match prefix — the URL pattern to match against outbound links. For example onlyfans.com/username matches any link to that account. Case-insensitive, prefix match.
  • Fallback URL — where to send visitors whose source has no mapping (e.g. direct visitors with no utm_source)
  • Source mappings — a table of utm_source value → destination URL pairs

When a visitor from Instagram (utm_source=instagram) clicks your OnlyFans link, the plugin checks the routing rules, finds the match, looks up the Instagram mapping, and redirects them to your Instagram tracking link (onlyfans.com/username/c2). A visitor from YouTube gets the YouTube tracking link. A visitor with no source gets the fallback.

Links matched by a routing rule are not subject to UTM passthrough — the routing rule takes over completely.

Setting up a routing rule#

  1. Go to Link Bio → Attribution
  2. Scroll to Source Routing Rules
  3. Click + Add Routing Rule
  4. Enter the Match prefix — the base URL of the destination (e.g. onlyfans.com/yourusername)
  5. Enter the Fallback URL — the plain destination for unmatched sources
  6. Click + Add Source and enter the source value and its tracking URL
  7. Repeat for each traffic source you want to map
  8. Save

You can add as many rules as you need. Multiple accounts on the same platform (e.g. two different OnlyFans profiles) are handled as separate rules with their own mapping tables.

OnlyFans has a built-in tracking link system that generates unique URLs per traffic source. Here is how to connect it to WP LinkCanvas.

  1. Log in to OnlyFans and go to Settings → Subscriptions → Tracking links (onlyfans.com/my/settings/subscription/tracking-links)
  2. Click Create tracking link
  3. Give it a name — for example “Instagram”
  4. OnlyFans generates a unique link like https://onlyfans.com/yourname/c2
  5. Repeat for each traffic source you want to track — create one for YouTube, one for Reddit, one for TikTok, and so on

Each tracking link has its own click and conversion stats inside your OnlyFans dashboard, so you can see exactly which platform is driving subscribers.

Add a Button link (or Enhanced Link) on your bio page pointing to your plain OnlyFans profile URL: https://onlyfans.com/yourname. This is the link visitors see on the page — the routing rule will swap it out silently based on source.

Step 3 — Set up the routing rule in WP LinkCanvas#

  1. Go to Link Bio → Attribution and make sure Enable attribution is checked
  2. Scroll to Source Routing Rules and click + Add Routing Rule
  3. Set Match prefix to onlyfans.com/yourname
  4. Set Fallback URL to https://onlyfans.com/yourname — direct visitors with no tracked source go here
  5. Click + Add Source and add a row for each tracking link:
utm_source valueRedirect to URL
instagramhttps://onlyfans.com/yourname/c2
youtubehttps://onlyfans.com/yourname/c3
reddithttps://onlyfans.com/yourname/c4
tiktokhttps://onlyfans.com/yourname/c5
  1. Save Attribution Settings

Step 4 — Post your bio page URL with UTM source#

When posting on Instagram, use:

yoursite.com/links?utm_source=instagram

When posting on YouTube, use:

yoursite.com/links?utm_source=youtube

The utm_source value must match what you entered in the routing rule exactly (case-insensitive).

What happens#

An Instagram follower clicks your bio link → arrives at yoursite.com/links?utm_source=instagram → clicks your OnlyFans button → gets redirected to onlyfans.com/yourname/c2. OnlyFans records the click against that tracking link. You can see in your OnlyFans dashboard how many clicks and subscribers came from Instagram vs YouTube vs Reddit.

A visitor who arrives directly with no utm_source goes to the fallback onlyfans.com/yourname.

Multiple OnlyFans accounts#

If you manage more than one OnlyFans profile, add a separate routing rule for each. Each rule has its own match prefix (onlyfans.com/profile1, onlyfans.com/profile2) and its own mapping table.