Sample subscription model
This section explains how the sample pages shipped with Audience Manager implement a simple subscription model and how to add templating code to use these webpages.
This subscription model is a simple system, with a typical set of four save events with identifiers, along with different webpages and emails along the way. Your own subscription model will likely have more events to reflect multiple brands or languages or the use of a different set of events. The sample subscription model consists of the following events:
- Subscription
- A website visitor submits their Contact details. Audience Manager creates a new Contact with this information and sets the Subscription Status of this new Contact to Subscribed, Audience Manager then sends an email message with a confirmation link to the address provided.
- Subscription confirmation
- The website visitor clicks the link from the email message to visit the confirmation webpage. The website visitor fills in the password to confirm the subscription. The confirmation page sends a second email to confirm the subscription and welcome the new subscriber. Audience Manager sets the Subscription Status of the Contact to OptedIn.
- Changing profile
- At any time, the subscriber may change his or her personal information by using the Change Profile page. This triggers a ProfileChanged event. Audience Manager sends an email to the Contact to confirm that the profile has changed.
- Unsubscribing
- At any time, the subscriber may stop his or her subscription on the Unsubscribe page. Audience Manager sets the Subscription Status of the Contact to Unsubscribed and sends an email to the Contact to confirm that the Contact is no longer subscribed.
The standard subscription model is implemented using the following Subscription webpages:
| Component | .NET example page (confirmation email identifier values) | E-mail identifier value | Java example page |
|---|---|---|---|
| Subscription | subscribe.aspx subscribe.aspx.cs (Subscribed) | Subscribed | subscribe.jsp |
| Subscription confirmation | confirm.aspx confirm.aspx.cs(Opted In) | OptedIn | confirm.jsp |
| Changing profile | changeprofile.aspx changeprofile.aspx.cs | ProfileChanged | changeprofile.jsp |
| Unsubscribing | unsubscribe.aspx unsubscribe.aspx.cs | Unsubscribed | unsubscribe.jsp |
The sample pages shipped with Audience Manager work out of the box in a default installation using the default extended details fields. If you change the default extended fields, you need to update these webpages to take these changes into account.