Customize your points history widget appearance and generate embed code
Embed Code
<script src="https://your-domain.com/js/points-history-widget.js"></script> <legion-points-history auth-token="YOUR_AUTH_TOKEN"> </legion-points-history>
Step 1: Add the script to your site header
<script src="https://your-domain.com/js/points-history-widget.js"></script>
Step 2: Add the widget where you want it
<legion-points-history auth-token="YOUR_AUTH_TOKEN"> </legion-points-history>
auth-token
JWT token for authentication
theme
light | dark
base-url
Base URL for API calls
width
Widget width in pixels
height
Widget height in pixels
page-size
Entries per page (5-50)
show-close
Show close button (true/false)