# Using inf\_contact\_key

**URL:** <https://integration.keap.com/t/using-inf-contact-key/29503>\
**Category:** Max Classic\
**Created:** [February 2, 2018, 6:53pm UTC](https://integration.keap.com/t/using-inf-contact-key/29503 "2018-02-02T18:53:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harvinder\_Singh](https://avatars.discourse-cdn.com/v4/letter/h/5e9695/32.png) [@Harvinder\_Singh](https://integration.keap.com/u/Harvinder_Singh)\
**Post date:** [February 2, 2018, 6:53pm UTC](https://integration.keap.com/t/using-inf-contact-key/29503/1 "2018-02-02T18:53:32Z")

</div>

Hello!  
I’d like to know the contact’s details (ContactID preferred) that clicked any link to our website from an email that’s sent from IS. I see that inf\_contact\_key is always appended to URLs, however I’m not sure if this is useful outside of IS forms and landing pages. Is there any way of appending ‘ContactID=~Contact.Id~’ to all links without doing it manually for all links or use inf\_contact\_key to get the contact’s ID?

Thanks,  
Harv

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [February 2, 2018, 9:17pm UTC](https://integration.keap.com/t/using-inf-contact-key/29503/2 "2018-02-02T21:17:32Z")

</div>

Then add to the end of the link ?contactId=~Contact.Id~

keep case in mind

---

<div class="post-metadata">

**Author:** ![Harvinder\_Singh](https://avatars.discourse-cdn.com/v4/letter/h/5e9695/32.png) [@Harvinder\_Singh](https://integration.keap.com/u/Harvinder_Singh)\
**Post date:** [February 2, 2018, 9:21pm UTC](https://integration.keap.com/t/using-inf-contact-key/29503/3 "2018-02-02T21:21:22Z")

</div>

Is there any way to add this to **all links** without manually editing all of them, much like inf\_contact\_key is?

Or Is there any way to get this info from inf\_contact\_key - is this some sort of encoded ID?

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [February 2, 2018, 9:34pm UTC](https://integration.keap.com/t/using-inf-contact-key/29503/4 "2018-02-02T21:34:42Z")

</div>

Using campaign merge fields (not the same as your contact merge fields) you can keep from having to repeat the action and only have to change it in one place should you ever need to, and all the links would change with it. But if you’re asking is there a setting that will tell IS to append contactId=~Contact.Id~ (or any equivalent to it) then no, there isn’t something to make that happen without manually placing it at the end as described.

---

<div class="post-metadata">

**Author:** ![Harvinder\_Singh](https://avatars.discourse-cdn.com/v4/letter/h/5e9695/32.png) [@Harvinder\_Singh](https://integration.keap.com/u/Harvinder_Singh)\
**Post date:** [February 2, 2018, 9:37pm UTC](https://integration.keap.com/t/using-inf-contact-key/29503/5 "2018-02-02T21:37:14Z")

</div>

Thank you!
