-
Notifications
You must be signed in to change notification settings - Fork 32
Delivery Options
Touchpoints can be delivered in a few different ways:
- On the Touchpoints website
- On your Website
- Modal
- Custom button Modal
- Inline
By default, a Touchpoint is available via the Touchpoints website. The URL to the Touchpoint (eg: https://touchpoints-demo.app.cloud.gov/touchpoints/41/submit) is shared with a user, who clicks on the link, arrives at the Touchpoints site, and completes the form.
A Touchpoint can be included on an existing web property by including it via a <script> tag.
The "Modal" option renders a tab in the bottom right corner of an existing web page.
When the tab button is clicked, a modal form is displayed that includes the Touchpoint.
The Touchpoint can be completed and submitted from within that modal window.
A Touchpoint can be included on an existing web property by including it via a <script> tag.
The "Custom button modal" option requires the webmaster to add a custom element to an existing web page that has a specified id tag (eg: <button id="open-my-touchpoint">Open the Touchpoint in a Modal</button>).
When the custom button is clicked, a modal form is displayed that includes the Touchpoint.
The Touchpoint can be completed and submitted from within that modal window.
A Touchpoint can be included on an existing web property by including it via a <script> tag.
The "Inline" option requires the webmaster to add a custom element to an existing web page that has a specified id tag (eg: <div id="insert-my-touchpoint-here">Javascript is required to see the Touchpoint</div>).
When the page is rendered, the Touchpoint is inserted into the custom element.
The Touchpoint can be completed and submitted from where it is rendered on the existing page.
If javascript is disabled in the browser, the user experiences the following:
- For the Touchpoints hosted version, the user sees a message indicating Javascript is required.
- For the Modal version, the user would not see the modal rendered
- For the Custom button Modal, the user may click the button and not see any action
- For the Inline option, the user would not see the form inserted into the element on the page