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.
All configuration options can be found here.
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 about 1 month ago