# Track referral source with # attribute in link

**URL:** https://forum.mautic.org/t/track-referral-source-with-attribute-in-link/4890
**Category:** Development
**Created:** [August 14, 2016, 5:06pm UTC](https://forum.mautic.org/t/track-referral-source-with-attribute-in-link/4890 "2016-08-14T17:06:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![theatereleven](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@theatereleven](https://forum.mautic.org/u/theatereleven)
#### Post date: [August 14, 2016, 5:06pm UTC](https://forum.mautic.org/t/track-referral-source-with-attribute-in-link/4890/1 "2016-08-14T17:06:56Z")

</div>

I want to have a landing page that tracks referrals. Assume the page is:  
  
  
  
[http://site.com/test-page](http://site.com/test-page)  
  
  
  
Now let’s say I have a list of existing contacts, and I’ve added a custom field that assigns them each a unique ID number. I want them to be able to send people to the landing page using their unique number, so the lead is assigned to them. So if Jimmy’s number was 12345, his link would be:  
  
  
  
[http://site.com/test-page#12345](http://site.com/test-page#12345)  
  
  
  
Is something like this possible? Thanks!

---

<div class="post-metadata">

### Author: ![theatereleven](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@theatereleven](https://forum.mautic.org/u/theatereleven)
#### Post date: [August 14, 2016, 5:06pm UTC](https://forum.mautic.org/t/track-referral-source-with-attribute-in-link/4890/2 "2016-08-14T17:06:56Z")

</div>

I want to have a landing page that tracks referrals. Assume the page is:

[http://site.com/test-page](http://site.com/test-page)

Now let’s say I have a list of existing contacts, and I’ve added a custom field that assigns them each a unique ID number. I want them to be able to send people to the landing page using their unique number, so the lead is assigned to them. So if Jimmy’s number was 12345, his link would be:

[http://site.com/test-page#12345](http://site.com/test-page#12345)

Is something like this possible? Thanks!
