๐ ONE LINE - That's It!
<script src="https://ewardme.net/BLW/v2/PitCrewWidget.js"></script>
โจ Done! Auto-detects the shop, auto-initializes. Just paste and go!
โ๏ธ Widget Builder
Required
Display
Colors
Presets:
Advanced Options โพ
Live Preview
Enter your Family ID to see the live preview
๐ Your Integration Code
๐ Quick Install Guide
| Floating | Just add the script. No HTML needed. Button appears in corner automatically. |
| Inline | Add one or more <div> elements where you want the form. Use different IDs for each. |
| Trigger | Add your own button(s). Use a class to target multiple buttons at once. |
โ ๏ธ The script goes on the page only ONCE โ even if you have multiple divs/buttons!
โ๏ธ All Options
Add any of these to PitCrewConfig:
familyId |
Your shop's ID. Auto-detected if not set. |
mode |
'floating' (default), 'inline', or 'trigger' |
position |
'bottom-right' (default), 'bottom-left', 'top-right', 'top-left' |
targetSelector |
CSS selector for inline/trigger modes. e.g. '#my-widget' or '.rewards-btn' |
buttonText |
Button label. Default: 'Check Rewards' |
buttonColor |
Background color. Default: '#f46231' (orange) |
buttonTextColor |
Text color. Default: '#ffffff' (white) |
offsetX |
Horizontal offset in pixels. Default: 20 |
offsetY |
Vertical offset in pixels. Default: 20 |
zIndex |
Stack order. Default: 999999. Increase if hidden behind other elements. |
showBranding |
true (default) or false to hide "Powered by" footer. |
Example:
<script>PitCrewConfig={offsetX:50,buttonColor:'#3b82f6',position:'bottom-left'}</script>
<script>PitCrewConfig={offsetX:50,buttonColor:'#3b82f6',position:'bottom-left'}</script>
๐ฑ URL Parameters
Open the widget with a pre-filled phone number - perfect for email/SMS links!
If URL has no params:
https://yoursite.com?p=5551234567
If URL already has params (use &):
https://yoursite.com?page=rewards&p=5551234567
https://yoursite.com?p=5551234567
If URL already has params (use &):
https://yoursite.com?page=rewards&p=5551234567
When someone visits a URL with p=, the widget automatically:
- Opens the popup
- Pre-fills the phone number
- Customer just clicks "Check Balance"!
๐ก Great for:
Email campaigns, SMS messages, QR codes, customer service links
๐ Note:
Use
?p= for the first parameter, or &p= if URL already has ? in it.