How to Add the LeadTruffle Texting Widget to Instapage
Install LeadTruffle's texting widget on Instapage with the JavaScript settings. Includes workspace scripts, live tests, SMS consent, and fixes.
Quick answer
tl;dr: To add an Instapage texting widget, copy LeadTruffle's full Website Texting Widget snippet, install it through the supported custom-code method, and test the published page. The widget asks for the visitor's name and mobile number, then the conversation continues by SMS. Check the consent choice and account settings before expecting an automated first text.
Before you install
An edit access to the landing page, a complete LeadTruffle snippet code and a published URL to test is required. Determine if you want the widget on one page or multiple pages in the workspace.
The Website Texting Widget collects its own submissions. It doesn't automatically convert an existing Instapage form to a LeadTruffle form.
Step 1: Copy the current account-specific embed
Copy the Website Texting Widget installation code from LeadTruffle. Include the full initializer and company identifier.
Avoid using the cdn.leadtruffle.com/widget.js snippet that appears in older versions of the draft. The working install needs to be with the code provided for your existing account.
Step 2: Open the JavaScript settings
In the Instapage builder, open the JavaScript setting in the sidebar. It provides Header, Body and Footer sections.
The page-level JavaScript editor automatically adds opening and closing <script> tags. Use JavaScript-only code prepared for that editor; do not paste a complete HTML embed with its own script tags into an automatically wrapped field.
If your LeadTruffle snippet includes external script tags or other HTML, use Workspace Scripts as described below, or ask LeadTruffle support for a compatible page-level installation. Do not simply remove the tags: an external script's URL and loading attributes still need to be preserved. Use the script controls for a floating widget rather than positioning it as an HTML box.
See Instapage's JavaScript guide.
Step 3: Choose the correct page scope
If the script is for only one landing page, maintain the script at the page level.
Where your subscription includes the feature, Workspace Scripts can cover several pages. Open Assets β Scripts and review which pages should receive the snippet.
Workspace Scripts requires valid HTML, including opening and closing <script> tags around JavaScript. Paste the full account-specific embed into the Head, Body or Footer section specified by LeadTruffle, preserving its script tags, loading attributes, initializer and company identifier. Click Apply and enable the script for the intended page or pages.
Do not have a workspace copy and page copy running at the same time. Test all active variants of landing pages, not just a single tested URL.
Step 4: Publish and test the live URL
Custom code is supposed to be applied in the live published environment and not in the editor or preview, Instapage says. Update and open the public landing page in a private browser window.
In desktop and mobiles:
- Open the widget and enter your own cell phone number.
- Go through the consent route and read through the SMS conversation screen.
- Check that the correct contact is showing in LeadTruffle.
- Reply with a realistic service request.
- Review any set up handoff or CRM record.
If it is a paid page, ensure campaign details are retained on the final page. Be sure that the widget doesn't obscure the main form or sticky button/cookie banner.
Configure the conversation for the offer
An effective landing page for storm damage should seek to identify the location of the storm damage and what type of damage it is, not offer an immediate inspection. Set your service area, helpful job questions and when your team should get involved using the AI settings.
Photo collection and booking depend on the capabilities enabled in your account. The roofing example illustrates a workflow; it does not claim a measured increase in qualified leads.
Troubleshooting
If no content shows up in preview, test the published page first. If it is still not present, look at the current snippet, selected placement and page/workspace scope.
If two bubbles appear, identify which script should own the installation and remove the duplicate initialization.
If the widget is able to capture the number, but no automated message follows, check the consent choice and messaging settings. Pass support the published URL, affected page variant and test time.
Check consent, qualification and handoff
Try both submission routes, as outlined in the LeadTruffle's opt-in guide. If the visitor ticks the SMS consent box, the widget can initiate the automatic SMS conversation. If that is not checked, it does not automatically create an Inbox conversation, but instead saves the contact and provides the visitor with a QR code or Text Us Now link to kick off a text.
Maintain provision of disclosure and handling of opt-outs. The checkbox is part of the messaging workflow and shouldn't be interpreted as a guarantee of conformity for all future usage of the number.
Check the AI's business data, qualification questions and handoff rules. If you wish to pass details to your team via a relevant supported CRM integration, connect it. The supported actions of that integration, along with your configuration, will determine what you can do with direct booking.
Measure useful outcomes
Separate tracking of widget submission, started conversation, qualified inquiries and bookings. Not all contacts are necessarily qualified contacts or booked appointments.
If it's paid traffic, use a tagged test URL and review the lead's Attribution & Tracking information. LeadTruffle captures context by default if it is available; if it is not available or is blocked, it should be investigated, but not assumed to be there. Refer to the guide for attribution.
FAQs
Can I use Workspace Scripts for every landing page?
If your plan is applicable, you have the option to select the applicable pages. Carefully examine that selection and do not duplicate a page-level script.
Should I paste only a script URL?
No. Preserve the script loader, initializer and company identifier. Workspace Scripts accepts the full embed with its script tags; the page-level JavaScript editor adds those tags automatically and needs compatible JavaScript-only code. Ask LeadTruffle support if your embed needs adapting.
Will it work in Instapage preview?
Instapage documents custom script execution on published pages. Use the live URL for your installation test.
Will this automatically sync my existing Instapage form?
The widget embed does not imply a native-form connection. If necessary, create a new supported form workflow.
See the widget in action
Schedule a LeadTruffle demo to see how an Instapage website inquiry can continue as a useful text conversation. You can also explore the Website Texting Widget before choosing your setup.



