Embed Acknowledgement Widget
Display social proof on your website with acknowledgement testimonials
Overview
The Incentive Request Acknowledgement Widget allows you to display social proof on your website by showing acknowledgement messages from Incentive Recipients who have received incentives. This builds trust and increases conversions.
What the Widget Shows
| Element | Description |
|---|---|
| Acknowledgement Message | Recipient's confirmation message |
| Recipient Information | Username and avatar |
| Visual Design | Professional testimonial-style card |
How to Access
From Request Detail Page
- Navigate to an incentive request detail page
- Click the Floating Action Button (FAB) in bottom-right
- Select "Embed Acknowledgement Widget"
Direct URL
Navigate to: /provider/incentive-requests/embed/<incentive_request_id>
Page Layout
Header Section
| Element | Description |
|---|---|
| Back Button | Return to previous page |
| Title | "Embed Incentive Request Acknowledgement Widget" |
| Description | Purpose explanation |
| Take Tour | Interactive guide |
Configuration Panel (Left Side)
| Section | Description |
|---|---|
| Embed Code | Textarea with iframe code |
| Copy Button | Copy code to clipboard |
| Preview Button | Open widget in new tab |
Preview Panel (Right Side)
| Section | Description |
|---|---|
| Live Preview | Widget as it appears on your site |
| Installation Instructions | Step-by-step guide |
Getting Your Embed Code
Step 1: Navigate to Embed Page
Access via FAB or direct URL.
Step 2: Copy the Embed Code
- Locate the embed code textarea
- Click the Copy button (clipboard icon)
- See confirmation: "Copied! Embed code copied to clipboard"
Embed Code Format
<iframe
src="https://incentise.com/incentive-request-acknowledgement-widget?incentive_request_id=<ID>"
width="320"
height="120"
frameborder="0"
style="border-radius: 8px;">
</iframe>
Installing the Widget
Step 1: Copy the Embed Code
Use the copy button on the embed page.
Step 2: Paste on Your Website
Add the code where you want the widget to appear.
Common Locations:
- Product pages
- Service pages
- Landing pages
- Checkout pages
- Homepage testimonials section
Step 3: Customize (Optional)
Adjust the iframe attributes:
| Attribute | Default | Description |
|---|---|---|
width | 320 | Widget width in pixels |
height | 120 | Widget height in pixels |
style | border-radius: 8px | Custom CSS styling |
Previewing the Widget
Preview Button
- Click "Preview Widget" button
- Widget opens in new browser tab
- See exactly how it appears to visitors
Live Preview on Page
- Right panel shows live preview
- Updates automatically
- Accurate representation of final appearance
How the Widget Works
Data Source
- Displays acknowledgement from specific incentive request
- Shows recipient's username and avatar
- Uses the acknowledgement message
Real-Time Updates
- Widget automatically updates when data changes
- No manual embed code updates needed
Widget States
| State | Description |
|---|---|
| Loading | Spinner while fetching data |
| Success | Shows acknowledgement message and info |
| Error | Error message if data unavailable |
Requirements
Acknowledgement Required
The widget only displays data if:
- Recipient has acknowledged receiving the incentive
- Request has reached "Acknowledged" status
- Valid acknowledgement message exists
One Widget Per Request
- Each embed code is specific to one request
- For multiple acknowledgements, embed multiple widgets
Best Practices
Strategic Placement
✅ Recommended:
- Place on high-traffic pages
- Position where visible but not intrusive
- Consider multiple widgets for different requests
- Use on product/service pages
Design Integration
- Adjust widget dimensions to match your design
- Test on different devices and screen sizes
- Ensure widget complements page layout
Content Strategy
- Use widgets for requests with positive acknowledgements
- Rotate widgets periodically for fresh content
- Highlight specific products or services
Performance
- Widget loads asynchronously
- Won't slow down your page
- Lightweight and optimized
Customization Examples
Larger Widget
<iframe
src="https://incentise.com/incentive-request-acknowledgement-widget?incentive_request_id=<ID>"
width="400"
height="150"
frameborder="0"
style="border-radius: 12px;">
</iframe>
Full-Width Widget
<iframe
src="https://incentise.com/incentive-request-acknowledgement-widget?incentive_request_id=<ID>"
width="100%"
height="120"
frameborder="0"
style="border-radius: 8px; max-width: 400px;">
</iframe>
Troubleshooting
Widget Shows "Error" or "Failed to Load"
Causes:
- Request doesn't have an acknowledgement yet
- Request ID in embed code is incorrect
- Network connectivity issues
Solutions:
- Verify recipient has acknowledged
- Check request ID matches
- Test with preview button
- Check browser console for errors
Widget Doesn't Appear on Website
Causes:
- Iframe code not pasted correctly
- Website blocks iframes
- CSS/JavaScript conflicts
Solutions:
- Verify embed code copied completely
- Check platform supports iframe embedding
- Test in simple HTML page first
- Contact website administrator if blocked
Widget Size Doesn't Fit
Solutions:
- Modify
widthandheightattributes - Adjust
styleattribute for custom CSS - Test different sizes
Privacy Considerations
- Widget displays public information only
- Shows username and avatar
- Recipients can choose to remain anonymous
- No sensitive data exposed