Contact ID in email

Highlighted
Retail

Contact ID in email

As part of a campaign we were considering the idea of including a url in each email that included the contact's unique contact-id number; the hope was to be able to do some custom tracking on our side as the contact interacted with our site. However, I'm not finding any documentation showing the ability to include contact-id in the same way that you can include FirstName or CustomText14 (for instance).

 

https://knowledgebase.constantcontact.com/articles/KnowledgeBase/13914-Personal-Contact-Details-for-...

 

Is this possible? Is it allowed by Constant Contact? 

 

Thanks for your help.

1 REPLY 1
Highlighted
CTCT Employee

Re: Contact ID in email

Hi,

 

You can see the contact ID--in our new API it is just labeled "ID" when it is returned in the JSON payload from a GET on a specific contact.  One important thing to note is that the contact ID is read only, so you can pull and use it on your side, but you won't be able to change/specify a contact ID upon adding a new contact or updating an existing contact.  Let us k now if you have any follow up questions!

 

Edit:  For the purposes of email campaigns, there isn't a property tag (what the FAQ showed) for the contact ID.  You could use the APi to pull back the contact ID from the contact API, however.  For use with a custom link inside your campaign, the process would be far simpler if you used the email address property as the identifier though.  Using the contact ID would involve storing the actual contact ID in another field, like one of the custom field links.

 

Best Regards,

Shannon W.

API Support Specialist

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured