Adding custom field to every subscriber
I would like to add a custom field to every subscriber.
This custom field is a 16-letter entrance code that logs a user into my page when he/she clicks it.
I like to set it through the API and then use this field in the email that is send to the subscriber.
I see a column 'custom_field' in subscribers,
but can't find any documentation or way to initialise it and fill it with the API.
Is there any documentation?
Or can you give me some indicators of how this works?
This discussion has been closed.
Comments
Hi,
Create the custom field in your list first, let's call it
EntranceCode
.To feed in the value for
EntranceCode
, see the 'subscribe' API documentation (https://sendy.co/api):To use your custom field in your email, paste
[EntranceCode,fallback=]
into your email's HTML code.Hope this helps.
Best regards,
Ben
Thanks!
One of the pitfalls:
[EntranceCode,fallback=]
works, but[EntranceCode]
(without the fallback) gets deleted...Got it working now.