This task is for users with the following roles: OC Site Manager and OC System Administrator.
With govDelivery connected and Topic subscriptions turned on for the relevant sites, content types, and pages, you can start collecting subscriber information. For this, you use Subscriber Capture, which allows users to choose the topics for which they want to receive updates.
You have two options for Subscriber Capture:
The option you select will apply site-wide – you cannot choose which pages will link to Quick Subscribe and which have the Signup embedded.
Link to the Quick Subscribe page
The Quick Subscribe page works with the OpenCities Subscription module widget; when a user enters their email and selects Subscribe, they'll be linked to your govDelivery Quick Subscribe page where they can select the Topics they want.
You must set up your Quick Subscribe page in your govDelivery account before you can link it to your OpenCities pages.
Once you have set up your Quick Subscribe page:
- In your govDelivery account, go to Account Settings > Quick Subscribe Pages and copy the Code for the page you want your OpenCities site visitors to use.
- In your OpenCities admin, go to More > govDelivery and select the Subscriber Capture tab. The switch to replace Quick Subscribe must be set to Off.
- Paste your code into the Quick subscribe page code field and Save.
You can test this by visiting a live page and going through the process yourself.
Embed the govDelivery Signup
The second option is to embed a subscription signup form so that users can select Topics and subscribe without leaving the page.
Before you can embed it in OpenCities, you must create a signup in govDelivery. When your form is ready:
- In your govDelivery account, go to Subscriber Capture > Signup Builder and select the Signup you want for OpenCities. Your Signup form must be published.
- Select Embed under Share Signup and copy the 5-digit data-signup-id. In the example below, the necessary code is 11961. You do not need to copy the entire script.
- In your OpenCities admin, go to More > govDelivery and select the Subscriber Capture tab.
- Toggle the switch to replace quick subscribe to On.
- Paste your code into the Sign up ID field and Save.
You can test by visiting a live page and ensuring that the topic options appear within an embedded widget when a user subscribes.