Integrating email marketing campaigns into sites
Allowing site visitors to subscribe to email campaigns
You can use the following web parts to allow users to subscribe to email campaigns:
Newsletter subscription web part - displays a dialog that allows website visitors to subscribe to newsletters.
Custom subscription form web part - Provides an email campaign subscription form similar to the the Subscription web part. You can, however, set up this web part to use a different layout and appearance.
To be able to modify the web part’s layout and appearance
You need to define the customized subscription form as an alternative form:
- Open the Modules application.
- Edit () the Email marketing module.
- Select the Classes tab and edit the Newsletter - Subscriber class.
- Create the form on the Alternative forms tab.
My subscriptions web part - users can use this web part to add or remove their newsletter subscriptions.
My account web part - you can configure this web part to display email campaign subscriptions. Users can then add or remove their subscriptions.
Subscribing contacts to email campaigns via Marketing automation
You can use the Newsletter subscription marketing automation step to automatically subscribe contacts to email campaigns.
Allowing recipients to unsubscribe from email campaigns
Kentico contains two macros that generate an address that you can use in unsubscription links of your email campaigns:
- UnsubscribeFromCampaign- creates an address to the unsubscription page, as defined by the Unsubscription page URL property of the given email campaign.
- On the page, the recipient is unsubscribed from a specific email campaign.
- If ‘Send confirmation email’ is enabled in the ‘Newsletter unsubscription’ web part, recipients receive a confirmation email.
- Unsubscribing using an address created by this macro logs the ‘Unsubscription from a single email campaign’ activity.
- UnsubscribeFromAllCampaigns- creates an address to the unsubscription page, as defined by the Unsubscription page URL property of the given email campaign.
- On the page, the recipient is unsubscribed from all email campaigns. This link can behave in two ways, based on the Opt-out list setting.
- After unsubscribing, recipients do not receive a confirmation email.
- Unsubscribing using an address created by this macro logs the ‘Unsubscription from all email campaigns’ activity.
- You can segment contacts that unsubscribed from all email campaigns using the UnsubscribedFromAllEmails macro.
- Recipients unsubscribed from all campaigns can still receive regular and transactional emails.
You can use these macros in:
- Email campaign templates - for emails in static email campaigns that use a predefined template
- Links that you create on pages - for dynamic newsletters
Managing unsubscriptions from all marketing campaigns
- You can unsubscribe a recipient from all email marketing campaigns manually.
- You can remove a recipient who unsubscribed from all email marketing campaigns.
Email marketing web parts
To integrate email marketing into your website, place the following web parts onto pages:
Web part |
Description |
Newsletter subscription |
Displays a dialog that allows website visitors to subscribe to newsletters. |
Custom subscription form |
Provides an email campaign subscription form similar to the the Subscription web part. You can, however, set up this web part to use a different layout and appearance. You need to define the customized subscription form as an alternative form:
|
Newsletter unsubscription |
Unsubscribes users from an newsletter and displays a confirmation message. Users are typically directed to the page containing this web part through Unsubscribe links in individual campaign emails. The web part reads the exact email campaign and subscriber from parameters passed in the query string of the URL. |
Email campaign archive |
Displays archived issues of a specified email campaign to authenticated users. |
Unsubscription request |
This web part allows email campaign subscribers to request an unsubscription email by submitting their email address.
|
My subscriptions |
This web part can be used by users to add or remove their newsletter subscriptions. |
My account |
Can be configured to display email campaign subscriptions. Users can then add or remove their subscriptions. |
Subscription approval |
Approves subscriptions to newsletter with double opt-in enabled and displays a confirmation message. Subscribers are typically directed to the page containing this web part through a link in the double opt-in activation email. An identifier of the exact subscription is read from a parameter passed in the query string of the URL. |