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:

    1. Open the Modules application.
    2. Edit () the Email marketing module.
    3. Select the Classes tab and edit the Newsletter - Subscriber class.
    4. 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:

Managing unsubscriptions from all marketing campaigns

Email marketing web parts

To integrate email marketing into your website, place the following web parts onto pages:

Web partDescription
Newsletter subscriptionDisplays 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:

  1. Open the Modules application.
  2. Edit () the Email marketing module.
  3. Select the Classes tab and edit the Newsletter - Subscriber class.
  4. Create the form on the Alternative forms tab.
Newsletter unsubscriptionUnsubscribes 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 archiveDisplays 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.

  • The content of the email is based on the Email campaigns - Unsubscription request e‑mail template. You can edit the template in the Email templates application.
  • The unsubscription link in the sent email does not expire. Subscribers can use it to unsubscribe from email campaigns for an unlimited amount of time.
My subscriptionsThis web part can be used by users to add or remove their newsletter subscriptions.
My accountCan be configured to display email campaign subscriptions. Users can then add or remove their subscriptions.
Subscription approvalApproves 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.