The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Question about custom attribute

Highlighted
Member

Question about custom attribute

I had a question. We are trying to append the clickable links with an custom attribute value for the contacts. However we tried following and none of them seem to be working:

SUBSCRIBER.CUSTOM.EUP

$SUBSCRIBER.CUSTOM.EUP

EUP

SUBSCRIBER.EUP

$SUBSCRIBER.EUP

When the email is sent out the placeholder is not being replaced with the custom attribute value for the contact.

Can you please help us out?

1 REPLY 1
Highlighted
Moderator

Re: Question about custom attribute

Hello,

 

This is something that you can ask on our other boards this topic is not specific to a developer scenario. However; I'm happy to assist in any way I can.

 

The answer depends on what type of email you are using. Are you using a custom code email? If so, HTML or XHTML? Are you using our 2ge editor? Are you using our 3ge editor?

 

Custom Code HTML: If you are using this editor then you should be using this format $subscriber.custom.fieldname (fieldname is the name of your custom field). So in your example $subscriber.custom.eup should be fine (it is not case sensitive). That is assuming there is data located in that field for the specific contact that is receiving the email.

 

One thing to keep in mind is that this info does not show up on a preview/test email; it will only show up on a live send. I suggest you create a test email list that contains yourself as a contact with your custom fields filled out and send yourself your email to verify that you have the code written correctly.


Regards,
Jimmy D.
Tier II API Support Engineer
Developer Portal

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

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured