GovDelivery Quick Subscribe Snippets

Use these instructions to create subscription offerings to GovDelivery topics on GSA.gov pages. You can make links, a simple form, or a form styled as a widget. 

Here's how:

  1. Make arrangements to have a topic set up in the GovDelivery system with Enterprise Web Management at the Office of Communications.
  2. Obtain the GovDelivery "Topic ID" corresponding to your topic.  This will be in the form "USGSA_XXX" where XXX is your unique number.
  3. Open the page or infoblock in the CMS that you want to place a subscription link or form in.
  4. Choose the option you want (link, form, or widget) and copy the code below by clicking, dragging, and pressing <CTRL> C.  Go to the CMS, switch to Code View, and paste the code. 
  5. Update the topic ID and revise the text that displays. Note, the design view in the CMS will differ from the final published page.

 

Create Link to GovDelivery Sign Up

Add a link to your page or create a right column infoblock containing one. Revise the topic_id and update the text, "Get email updates..."
 

GovDelivery Get email updates when this page changes

 

Code for Link

<p>
<a href="https://public.govdelivery.com/accounts/USGSA/subscriber/new?topic_id=USGSA_43">
<img alt="GovDelivery" src="/portal/getMediaData?mediaId=206043" hspace="5" border="0" align="left" />
Get email updates when this page changes</a>
</p>

 

Embed a Sign Up Form

Add a form to your page or create an infoblock containing one. Revise the topic_id and change the text as needed.

GovDelivery Sign up for updates
about this topic.

 

Code for Form

<p>
<img alt="GovDelivery" src="/portal/getMediaData?mediaId=206043" style=" border: 0; float: left; padding-right: 6px;" />
Sign up for updates<br />
about this topic.</p>
<form action="https://public.govdelivery.com/accounts/USGSA/subscribers/qualify">
<input id="topic_id" name="topic_id" type="hidden" value="USGSA_43" />
<label for="email">Your E-mail Address</label>
<input type="text" id="email" name="email" value="Enter Email Address" onfocus="value=''" />
<div class="submitbutton" style=" margin-top: 5px;">
<input type="submit" value="Subscribe" name="commit" />
</div>
</form>

 

Widget Embedded Inside a Paragraph

Sign up for GSA updates & alerts  GovDelivery

The attributes in the first style tag can be modified to float the widget left and change the margins between text and widget.

The GSA vision is a government that works ever better for the American people.

This vision insists upon continual improvement in all that the GSA does, so that the mission work of our customers is not vulnerable to stagnating tools, services, and work environments but, instead, is accomplished with the benefit of excellence and forward leaning expertise.

 

Code for Widget

<div class="govDelivery" style=" font-size: 1.1em; margin-top: 8px; margin-bottom: 11px; float: right; margin-right: 20px;">
<span>Sign up for GSA updates &#38; alerts</span> 
<img alt="GovDelivery" src="/portal/getMediaData?mediaId=206043" />

<div>
<form action="https://public.govdelivery.com/accounts/USGSA/subscribers/qualify">
<input id="topic_id" name="topic_id" type="hidden" value="USGSA_43" />
<label for="email">Your E-mail Address</label>
<input type="text" id="email" name="email" value="Enter Email Address" onfocus="value=''" />
<input type="submit" value="Go" name="commit" />
</form>
</div>
</div>

 

Additional Assistance

Please consult with EWM to customize presentations for special circumstances. For example, similar topics can be grouped into a GovDelivery category and subscription links created that point to the whole category.  

Last Reviewed 2017-06-07