Skip to main content

Newsletter Signup

A slice on the page which lets people subscribe to a newsletter. A user will enter their email and submit the form, which will send their information to the provided form URL for processing. The form requires the user agrees to the Raspberry Pi privacy policy before they can submit.

info

This component only submits information to the provided form URL that is provided. All logic around subscription, emailing the user for confirmation, and confirmation screens is handled by whatever system is entered into the form URL field.

Salesforce Form Handlers

Using Salesforce form handlers is recommended, and this component was built with this application in mind.

If a Salesforce form handler URL is used as the form URL, when a user subscribes to the newsletter through this component, they will be redirected to the form handler which will:

  • return them to a form if there is an error with their submission
  • or show them a confirmation screen, if this has been defined in Salesforce

Use

  • In Contentful, add a Newsletter Signup component to a page
  • Add a heading and some copy
  • Enter in a Form URL - this is where the email address the user enters will be submitted to

What it looks like

The component is a slice in a page, and has a fixed background colour. The copy and heading are customisable as is the action when the user presses submit. There is a text box and check box for the user to enter their email and confirm they accept the privacy policy.

What can be customised via the CMS

  • Title - the heading for the component
  • Copy
  • Form URL - where the entered information gets sent when the user presses submit

Preview

Preview component