RxWare Self-Invite Widget

RxWare offers customers the option to add the RxWare Self-Invite Widget on a live “Public” site or in a local “Private” environment that enables patients to enroll in patient programs by entering their phone number.

The RxWare Self-Invite Widget SDK provides JavaScript libraries to access composition properties, control, and data structures.

On the right, you can see an example of a fake drug named Abelformin as it might appear on a customer’s site ➡️

RxWare Invite Widget Example:

abelformin widget example

iFrame Setup Instructions

If you want to insert the widget using a standard iFrame, you will need to follow the steps below.

Step 1: Get the JS Script for the Site

  • Customers can obtain the JS script from the RxWare implementation team during onboarding
  • RxWare can also provide the customer with a ZIP archive of the same JS script to be uploaded to the client’s website for use with platforms like WordPress

Step 2: Insert the DIV container for the widget with id="smsWidgetContainer"
Step 3: Insert the script into the page after the body tag

Step 4: Replace URL_TO_JS_SCRIPT with the path of the JS file

  • RxWare’s development team will provide the parameters below to be utilized as identifier keys for our standard widget during implementation:
    • PID
    • SID
    • WID

Example Code Snippet:

				
					<div id="smsWidgetContainer"></div>

</body>
<script>
    src="URL_TO_JS_SCRIPT"
    id="sendSMSWidget"
    data-pid="PID"
    data-sid="SID"
    data-wid="WID"
</script>
</html>
				
			

WordPress Setup Instructions

Step 1: Upload the RxWare Widget Plugin in the WordPress Administrator Panel by clicking the Plugins link on the sidebar and then selecting the Add New link

Step 2: Click Upload Plugin at the top of the screen

screenshot of how to install a plugin in WordPress

Step 3: Click the Choose File button and select the ZIP archive provided to you by the RxWare development team

Step 4: Click Install Now

instructions on how to upload a plugin to WordPress

Step 5: Now you need to activate the widget plugin. Click the Activate link

Screenshot of WordPress install

Step 6: Select Tools and then click RxWare Widget settings to view and copy the shortcode

  • Please note that the PID, SID and WID credentials will be supplied to you during implementation

Step 7: Open the page where you want to insert the widget and insert the shortcode you copied from the previous step

Step 8: Success! Your new widget will display on your company’s approved website and/or landing page. Users will be able to simply input their mobile phone number to send themselves an SMS link to the services.

RxWare Invite Widget
Skip to content