🔗 Embed Acknowledgement Widget
Learn how to create embeddable widgets that display incentive offer acknowledgements on your website.
What is the Acknowledgement Widget?​
The Acknowledgement Widget is a small, embeddable component that:
- Displays acknowledgements for specific incentive offers
- Shows that recipients have confirmed receiving incentives
- Builds trust and credibility with website visitors
- Works on any website that supports HTML/iframe
Prerequisites​
Before creating an embed widget:
| Requirement | Description |
|---|---|
| Incentive Offer exists | You need an existing offer |
| Status is "Acknowledged" | Widget only available for acknowledged offers |
| Access to embed page | Navigate to the embed configuration |
Important: You cannot create an embed widget for offers that haven't been acknowledged yet.
Accessing the Embed Page​
URL: /provider/incentive-offers/embed/[incentive_offer_id]
Navigation:
- Go to Incentive Offers in your dashboard
- Find an offer with Acknowledged status
- Click the three-dot menu (â‹®)
- Select Embed Acknowledgement Widget
Alternative: Use the FAB menu on any offer-related page (only appears when status is "Acknowledged").
Understanding the Embed Page​
Left Panel: Widget Configuration​
Embed Code Section​
- Text Area - Displays the iframe embed code
- Copy Button - Click to copy code to clipboard
- Visual Feedback - Checkmark (✓) appears when copied
- Read-Only - Code is auto-generated
Preview Button​
- "Preview Widget" button with external link icon
- Opens the widget in a new browser tab
- Shows exactly how visitors will see it
Right Panel: Preview and Instructions​
Widget Preview Card​
- Live Preview - Shows how the widget appears
- Iframe Display - Actual widget in an iframe
- Auto-updates - Reflects your configuration
Installation Instructions Card​
- Step-by-Step Guide - How to install the widget
- Three Main Steps - Copy, Paste, Customize
Creating an Embed Widget​
Step 1: Navigate to Embed Page​
- Ensure your offer status is "Acknowledged"
- Access the embed page using navigation methods above
- Page loads with embed code already generated
Step 2: Review the Embed Code​
The generated code looks like:
<iframe
src="https://incentise.com/incentive-offer-acknowledgement-widget?incentive_offer_id=[your_offer_id]"
width="320"
height="120"
frameborder="0"
style="border-radius: 8px;">
</iframe>
Code Components​
| Attribute | Description |
|---|---|
src | Widget URL with your offer ID |
width | Widget width (default: 320px) |
height | Widget height (default: 120px) |
frameborder | Border setting (0 = none) |
style | CSS styling for rounded corners |
Step 3: Copy the Embed Code​
- Click the Copy Button (📋 icon)
- See the checkmark (✓) confirmation
- Notice toast: "Copied! Embed code copied to clipboard"
- Checkmark disappears after 2 seconds
Step 4: Preview the Widget (Optional)​
- Click "Preview Widget"
- Widget opens in a new browser tab
- Verify display and information
- Ensure it matches your expectations
Step 5: Install on Your Website​
Choose your installation method:
Installation Methods​
Method 1: Direct HTML​
<!-- Add to your HTML page -->
<iframe
src="https://incentise.com/incentive-offer-acknowledgement-widget?incentive_offer_id=YOUR_ID"
width="320"
height="120"
frameborder="0"
style="border-radius: 8px;">
</iframe>
Method 2: Content Management System (CMS)​
WordPress, Shopify, Wix, Squarespace, etc.:
- Log into your CMS
- Navigate to the target page
- Switch to HTML/code editor mode
- Paste the embed code
- Switch back to visual editor
- Save and publish
Method 3: Website Builder​
- Open your website builder
- Add an "HTML" or "Code" block/component
- Paste the embed code
- Position and resize as needed
- Save and publish
Customizing the Widget​
Adjusting Size​
Modify width and height attributes:
<!-- Smaller widget -->
<iframe src="..." width="240" height="90" ...></iframe>
<!-- Larger widget -->
<iframe src="..." width="400" height="150" ...></iframe>
<!-- Responsive width -->
<iframe src="..." width="100%" height="120" ...></iframe>
Adding Styling​
Enhance with CSS:
<iframe
src="..."
width="320"
height="120"
frameborder="0"
style="border-radius: 8px;
border: 1px solid #e2e8f0;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
</iframe>
Responsive Design​
For mobile-friendly widgets:
<div style="max-width: 400px; width: 100%;">
<iframe
src="..."
width="100%"
height="120"
frameborder="0"
style="border-radius: 8px;">
</iframe>
</div>
Installation Steps Summary​
| Step | Action |
|---|---|
| 1 | Copy the embed code using the copy button |
| 2 | Paste on your website where you want the widget |
| 3 | Customize appearance (optional) |
Interactive Tour​
A guided tour is available:
- Click "Take Tour" button in the top-right corner
- Follow the highlighted areas and tooltips
- Tour auto-starts on first visit
- Uses localStorage to remember if you've seen it
Best Practices​
Placement Recommendations​
| Location | Purpose |
|---|---|
| Product Pages | Show incentives for specific products |
| Checkout Pages | Build trust during purchase |
| Landing Pages | Add credibility to promotions |
| Testimonials Section | Use as social proof |
| Email Signatures | Include in marketing emails |
Multiple Widgets​
- ✅ Same widget can be embedded on multiple pages
- ✅ Each widget shows the same acknowledgement
- ✅ Create different offers for different products
Performance​
- Widget loads asynchronously
- Won't slow down your page
- Lightweight and optimized
- No additional JS/CSS files needed
Troubleshooting​
Widget Doesn't Appear​
Possible Causes:
- Embed code pasted incorrectly
- Website doesn't support iframes
- Typos in the code
- Content blocked by browser
Solutions:
- Verify code was pasted correctly
- Check website supports iframe embedding
- Try previewing the widget URL directly
- Check browser console for errors
Widget Shows Incorrect Information​
Possible Causes:
- Wrong offer ID in the URL
- Offer not in "Acknowledged" status
- Offer was deleted or modified
Solutions:
- Verify the correct offer ID
- Check offer status is "Acknowledged"
- Regenerate the embed code
Copy Button Doesn't Work​
Possible Causes:
- Browser clipboard permissions denied
- Browser not supported
- JavaScript disabled
Solutions:
- Allow clipboard permissions when prompted
- Try a different browser
- Manually select and copy the code
- Enable JavaScript
Preview Doesn't Load​
Possible Causes:
- Network connection issue
- Incorrect offer ID
- Offer status changed
Solutions:
- Check internet connection
- Verify offer ID is correct
- Ensure status is still "Acknowledged"
- Open widget URL directly
Important Notes​
| Note | Description |
|---|---|
| Status Requirement | Only available when status is "Acknowledged" |
| One Widget Per Offer | Each embed code is specific to one offer |
| Automatic Updates | Widget updates when acknowledgements change |
| No Expiration | Embed code doesn't expire |
| Privacy | Only shows acknowledged information |
| Mobile Friendly | Widget is responsive |
Use Cases​
| Scenario | How to Use |
|---|---|
| E-commerce | Show product incentive acknowledgements |
| Service Landing Pages | Display service-based acknowledgements |
| Checkout | Build trust during purchase |
| Marketing Campaigns | Add to promotional pages |
| Social Proof | Use alongside customer reviews |