Skip to main content

Log in to comment and vote

Comments1

  • OpenPolicy

    Team•

    Jul 9, 2025

    As a visitor to OpenPolicy.me,

    I want to register for the newsletter easily,

    So that I can receive updates about new bills, platform features, and civic participation opportunities.


    Acceptance Criteria:

    1. ✅ A prominent “Subscribe to Newsletter” section is added to the homepage footer and blog pages.

    2. ✅ A modal or inline form allows users to enter their email address and click “Subscribe”.

    3. ✅ On submission, the email address is stored securely in the newsletter system (e.g., Mailchimp or custom DB).

    4. ✅ A success message or thank-you confirmation appears after a successful subscription.

    5. ✅ Duplicate or invalid emails are handled gracefully with appropriate error messages.

    6. ✅ Include a privacy statement/link near the form that explains email usage and data policy.

    7. ✅ Subscribed users are added to the “[OpenPolicy Newsletter]” audience segment.


    Designs / References:

    • Link to Figma or wireframes (if available)

    • Example footer from similar civic tech platforms


    Tasks (optional):

    • Design and place form on homepage and blog page

    • Connect form to newsletter backend

    • Validate email format

    • Show success/failure feedback

    • Add to database / newsletter list

    • QA across devices


    🔘

    Frontend Form Fields

    These are the fields users will see and interact with:

    Field Name

    Type

    Required

    Notes

    email

    Email

    ✅ Yes

    Validate format and check for duplicates

    firstName

    Text

    Optional

    Can be used for personalized emails

    lastName

    Text

    Optional

    Optional, for better segmentation

    topicsOfInterest

    Multi-select Checkbox or Dropdown

    Optional

    E.g., Housing, Health, Economy, etc.

    consentCheckbox

    Boolean

    ✅ Yes

    For compliance: “I consent to receive communications…”

    captcha

    Captcha/Checkbox

    ✅ Yes

    To prevent spam submissions


    🗄️

    Backend/Database Fields

    These are stored in your backend, CRM, or email marketing platform:

    Field Name

    Type

    Description

    id

    UUID

    Unique identifier

    email

    Email

    Primary key

    firstName

    Text

    User’s first name

    lastName

    Text

    User’s last name

    topicsOfInterest

    Array/Text

    Comma-separated values or array

    consentGiven

    Boolean

    True/False flag

    consentDate

    Timestamp

    When the consent was recorded

    subscriptionStatus

    Enum

    e.g., subscribed, unsubscribed, pending

    source

    Text

    E.g., “OpenPolicy.me Homepage”

    createdAt

    Timestamp

    Record creation time

    updatedAt

    Timestamp

    Last modified time


    🔐

    Compliance & Security Considerations

    • Store all PII securely and encrypt email addresses at rest if possible.

    • Record IP address and userAgent (optional) for audit trail or compliance.

    • Include opt-out/unsubscribe link in all newsletters.