Welcome to the OpenCities help centre. Search for what you're after, or browse the categories.
Can't find what you're looking for? Submit a support ticket and we'll be in touch.

Follow

Set Up Topic Subscription Capture for your Site

avatar of Kira Hartley

Kira Hartley

Last updated

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:

  1. Link to the Quick Subscribe page
  2. Embed the govDelivery Signup

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.

subscribe widget.png

You must set up your Quick Subscribe page in your govDelivery account before you can link it to your OpenCities pages.

quick subscribe.png

Once you have set up your Quick Subscribe page:

  1. 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.
  2. 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.
  3. 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.

signup embed.png

Before you can embed it in OpenCities, you must create a signup in govDelivery. When your form is ready:

  1. In your govDelivery account, go to Subscriber Capture > Signup Builder and select the Signup you want for OpenCities. Your Signup form must be published.
  2. 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.
    signup id.png
  3. In your OpenCities admin, go to More > govDelivery and select the Subscriber Capture tab.
  4. Toggle the switch to replace quick subscribe to On.
  5. 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.

What else?

Was this article helpful?
0 out of 0 found this helpful