Liqiud basics
Modules
API
Mailer
Subscriber
On this page
Overview
Below you can see all the available drops on the subscriber object
| Name | Description |
| subscriber.id | ID of the subscriber |
| subscriber.name | Name of the subscriber |
| subscriber.email | Subscriber's email |
| subscriber.company | Subscriber's company name |
| subscriber.activate_url | Return the activate URL |
| subscriber.unsubscribe_url | Return the unsubscribe_url URL |
| subscriber.opt_in_url | Return the opt in, or GDPR consent, URL |
| subscriber.opt_out_url | Return the opt out, or GDPR consent rejection, URL |
subscriber.activate_url, subscriber_url, subscriber.opt_in_url and subscripber.opt_out_url can all have customized mailers. More on this in the section "Subscriber mailers" on this page
Subscriber mailers
When a user subscriber or unsubscribes to a newsletter there will be an email sent to the user. This email can be customized. To be able to this you need to create a mailer template and name it. In the table below you can see which emails you can customize and what names they should have.
| Name | Mailer name |
| subscriber.activate_url | subscriber_activation.ml |
| subscriber.unsubscribe_url | subscriber_unsubscribe.ml |
| subscriber.opt_in_url | subscriber_opt_in.ml |
| subscriber.opt_out_url | subscriber_opt_out.ml |
Activation and opting in can be combined by adding "?opt_in=yes" to the activation url. Any value, including "no", will opt in but use values that make sense.
Import subscribers
You can import subscribers from a .csv file. To be able to do this your .csv needs to contain two columns:
- Name
Updated: 2020-11-24