RxWare Self-Invite Widget
Home » RxWare Developer Site » 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:
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: