# Link contacts to tracked leads

**URL:** <https://forum.mautic.org/t/link-contacts-to-tracked-leads/2767>\
**Category:** Product Support\
**Created:** [November 13, 2015, 12:46pm UTC](https://forum.mautic.org/t/link-contacts-to-tracked-leads/2767 "2015-11-13T12:46:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobChed](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@RobChed](https://forum.mautic.org/u/RobChed)\
**Post date:** [November 13, 2015, 12:46pm UTC](https://forum.mautic.org/t/link-contacts-to-tracked-leads/2767/1 "2015-11-13T12:46:03Z")

</div>

I currently have leads generated through a download (not via a Mautic form), and I capture IP addresses. If I’m separately creating contacts in Mautic, how do I link these contacts to the tracking cookie? Can I just add the IP address and will that do the trick?  
  
  
  
Which brings me to the next question - any thoughts on the best way to transfer newly generated leads from my CRM (not included in the plugins) to Mautic? Manual or manual via csv isn’t going to be a runner here.  
  
  
  
My objective is to track points for contacts’ web activity.  
  
  
  
Also, what are the main differences between Hosted and self hosted?

---

<div class="post-metadata">

**Author:** ![RobChed](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@RobChed](https://forum.mautic.org/u/RobChed)\
**Post date:** [November 13, 2015, 12:46pm UTC](https://forum.mautic.org/t/link-contacts-to-tracked-leads/2767/2 "2015-11-13T12:46:03Z")

</div>

I currently have leads generated through a download (not via a Mautic form), and I capture IP addresses. If I’m separately creating contacts in Mautic, how do I link these contacts to the tracking cookie? Can I just add the IP address and will that do the trick?

Which brings me to the next question - any thoughts on the best way to transfer newly generated leads from my CRM (not included in the plugins) to Mautic? Manual or manual via csv isn’t going to be a runner here.

My objective is to track points for contacts’ web activity.

Also, what are the main differences between Hosted and self hosted?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [November 13, 2015, 1:06pm UTC](https://forum.mautic.org/t/link-contacts-to-tracked-leads/2767/3 "2015-11-13T13:06:37Z")

</div>

Hey, check [https://www.mautic.org/community/index.php/1148-importing-leads-through-integration](https://www.mautic.org/community/index.php/1148-importing-leads-through-integration)

For the differences between self hosted and [mauic.com](http://mauic.com), here is my view: [http://johnlinhart.com/blog/2-ways-how-to-host-mautic](http://johnlinhart.com/blog/2-ways-how-to-host-mautic)

---

<div class="post-metadata">

**Author:** ![RobChed](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@RobChed](https://forum.mautic.org/u/RobChed)\
**Post date:** [November 13, 2015, 1:47pm UTC](https://forum.mautic.org/t/link-contacts-to-tracked-leads/2767/4 "2015-11-13T13:47:21Z")

</div>

Ha! I was just reading that!

So to be clear, the IP will link previous (since cookie implementation) and future web activity?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [November 13, 2015, 1:50pm UTC](https://forum.mautic.org/t/link-contacts-to-tracked-leads/2767/5 "2015-11-13T13:50:50Z")

</div>

Mautic will merge the lead with the submitted data by IP address in this header:

```auto
curl_setopt($ch, CURLOPT_HTTPHEADER, array("X-Forwarded-For: $ip"));
```

---

<div class="post-metadata">

**Author:** ![RobChed](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@RobChed](https://forum.mautic.org/u/RobChed)\
**Post date:** [November 13, 2015, 1:51pm UTC](https://forum.mautic.org/t/link-contacts-to-tracked-leads/2767/6 "2015-11-13T13:51:46Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![RobChed](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@RobChed](https://forum.mautic.org/u/RobChed)\
**Post date:** [November 13, 2015, 6:34pm UTC](https://forum.mautic.org/t/link-contacts-to-tracked-leads/2767/7 "2015-11-13T18:34:48Z")

</div>

So the only limitation of the hosted version is number of contacts & plugins, but this is the same as self hosted if you go to the pro plan on hosted?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [November 13, 2015, 6:51pm UTC](https://forum.mautic.org/t/link-contacts-to-tracked-leads/2767/8 "2015-11-13T18:51:56Z")

</div>

Pro plan is quite close to the self-hosted but it has some limitations like maximally 1000 emails sent per hour, but you should ask this kind of questions directly to [mautic.com](http://mautic.com) support. This forum is for the self-hosted version.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/link-contacts-to-tracked-leads/2767/9 "2020-02-02T22:57:17Z")

</div>


