Revenue Widget Installation
The SendSquared Revenue Estimation Widget allows you to embed an interactive revenue projection calculator directly on your marketing website. This powerful tool helps potential property owners visualize their earning potential with your vacation rental management company.
Overview
The widget provides:
- Interactive revenue projections based on property characteristics
- Customizable styling to match your brand
- Monthly revenue charts
- Call-to-action buttons for lead generation
- Mobile-responsive design
Basic Installation
Step 1: Add the Script
Add the following script tag to your website's HTML, preferably in the <head>
section:
<script src="https://static.sendsquared.com/images/oa-proforma.bundled.js"></script>
Step 2: Add the Widget Element
Place the following HTML element where you want the widget to appear:
<!-- SendSquared Revenue Estimation Widget -->
<style>
:root {
--oa-primary-color: #0c2340;
--oa-block-text-color: #ffffff;
--oa-mobile-slide-height: 50vh;
}
</style>
<oa-proforma
position="right"
sticky="true"
taxValue="0"
unitType="house"
bedrooms="3"
bathrooms="2"
accommodates="6"
locationQuality="5"
propertyQuality="5"
viewQuality="5"
buttonText="Get Your Revenue Estimate"
buttonUrl="https://your-website.com/contact"
location="Your Location"
chartData="[10,12,15,8,7,9,11,13,14,12,10,9]"
></oa-proforma>
Configuration Options
The taxValue
attribute should be set to your area's average property tax assessment value, not individual property values. This ensures accurate revenue calculations across your market. For example, if the average assessed property value in your area is $985,418, use that value.
Widget Attributes
Attribute | Type | Description | Example |
---|---|---|---|
position | string | Widget position (left , right ) | "right" |
sticky | boolean | Make widget sticky on scroll | "true" |
taxValue | number | Property tax value | "500000" |
unitType | string | Property type | "house" |
bedrooms | number | Number of bedrooms | "3" |
bathrooms | number | Number of bathrooms | "2" |
accommodates | number | Maximum occupancy | "6" |
locationQuality | number | Location rating (1-10) | "7" |
propertyQuality | number | Property rating (1-10) | "8" |
viewQuality | number | View rating (1-10) | "6" |
buttonText | string | CTA button text | "Schedule a Call" |
buttonUrl | string | CTA button link | "https://..." |
buttonType | string | Button behavior (link ) | "link" |
location | string | Property location name | "Beach Town" |
chartData | array | Monthly revenue data | "[10,12,15,...]" |
Advanced Attributes
Attribute | Type | Description |
---|---|---|
noLoft | boolean | Exclude loft option |
normAccommodates | number | Normalization factor for occupancy |
normBedrooms | number | Normalization factor for bedrooms |
normBathrooms | number | Normalization factor for bathrooms |
normTax | number | Normalization factor for tax value |
normLocation | number | Normalization factor for location |
normProperty | number | Normalization factor for property |
normView | number | Normalization factor for view |
weightTax | number | Weight for tax in calculations |
weightInputs | number | Weight for other inputs |
textAccommodates | string | Custom tooltip for accommodates |
textBathrooms | string | Custom tooltip for bathrooms |
textLocation | string | Custom tooltip for location |
textProperty | string | Custom tooltip for property |
textView | string | Custom tooltip for view |
Styling Options
Customize the widget appearance using CSS variables:
:root {
--oa-primary-color: #0c2340; /* Primary brand color */
--oa-block-text-color: #ffffff; /* Text color on colored backgrounds */
--oa-mobile-slide-height: 50vh; /* Height on mobile devices */
}
Copy-Ready Code
<!-- SendSquared Revenue Estimation Widget -->
<script src="https://static.sendsquared.com/images/oa-proforma.bundled.js"></script>
<style>
:root {
--oa-primary-color: #0c2340;
--oa-block-text-color: #ffffff;
--oa-mobile-slide-height: 50vh;
}
</style>
<oa-proforma
position="right"
sticky="true"
taxValue="0"
unitType="house"
bedrooms="3"
bathrooms="2"
accommodates="6"
locationQuality="5"
propertyQuality="5"
viewQuality="5"
buttonText="Get Your Revenue Estimate"
buttonUrl="https://your-website.com/contact"
location="Your Location"
chartData="[10,12,15,8,7,9,11,13,14,12,10,9]"
></oa-proforma>
Widget Playground
Customize the widget parameters below to generate your personalized code:
Monthly Revenue Data (in thousands)
Generated Code:
<!-- SendSquared Revenue Estimation Widget -->
<script src="https://static.sendsquared.com/images/oa-proforma.bundled.js"></script>
<style>
:root {
--oa-primary-color: #0c2340;
--oa-block-text-color: #ffffff;
--oa-mobile-slide-height: 50vh;
}
</style>
<oa-proforma
position="right"
sticky="true"
taxValue="0"
unitType="house"
bedrooms="3"
bathrooms="2"
accommodates="6"
locationQuality="5"
propertyQuality="5"
viewQuality="5"
buttonText="Get Your Revenue Estimate"
buttonUrl="https://your-website.com/contact"
buttonType="link"
location="Your Location"
chartData="[10,12,15,8,7,9,11,13,14,12,10,9]"
></oa-proforma>
Integration Tips
1. Responsive Design
The widget is mobile-responsive by default. You can adjust the mobile height using the --oa-mobile-slide-height
CSS variable.
2. Lead Capture
Set the buttonUrl
to your contact form or scheduling page to capture leads directly from the widget.
3. Data Accuracy
For the most accurate revenue projections:
- Use actual local market data for
chartData
- Set quality ratings based on your property evaluation criteria
- Configure normalization factors based on your market analysis
4. Brand Consistency
Match the widget to your brand by customizing:
- Primary color (
--oa-primary-color
) - Button text and styling
- Location names and descriptions
Troubleshooting
Widget Not Appearing
- Ensure the script tag is loaded before the widget element
- Check browser console for JavaScript errors
- Verify all required attributes are present
Styling Issues
- Make sure CSS variables are defined in
:root
- Check for conflicting CSS rules on your site
- Use browser developer tools to inspect the widget
Data Not Updating
- Verify
chartData
is a valid JSON array - Check that all numeric values are properly formatted
- Ensure no typos in attribute names
Support
For additional help with widget installation or customization, please contact SendSquared support or refer to the Salesroom Overview documentation.