Web
The Scrimmage Rewards Widget can be integrated into your web application using an iframe.
-
Add the following:
<iframe id="scrimmage-rewards" src="https://<your org id>.apps.scrimmage.co?token=<token>" />
- Replace
<your org id>
with your organization ID. - Replace
<token>
with the user token. Check out the Getting Started page step 4 for more information.
- Replace
Optional steps
Styling
We recommend using the following CSS to style the iframe:
#scrimmage-rewards {
border: none;
min-width: 320px;
min-height: 640px;
}
Example
See the scrimmage-rewards-iframe repository for an example.
Updated 4 months ago