How to Add the LeadTruffle Texting Widget to Leadpages
LeadTruffle Insights

How to Add the LeadTruffle Texting Widget to Leadpages

Add LeadTruffle's texting widget to Leadpages. Covers Classic Builder and Page Studio scripts, page scope, SMS consent, and live-page testing.

Quick answer

tl;dr: To add a Leadpages texting widget, copy the full Website Texting Widget snippet from LeadTruffle, install it through the builder's supported custom-code method, and test the published page. The visitor enters their 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

See if your page is created with Classic Builder or Page Studio. They have different account-wide features and control.

Be prepared with editing access, the full LeadTruffle Website Texting Widget snippet and a published page. A widget is an independent lead-capture widget; it will not automatically integrate each of your Leadpages forms with LeadTruffle.

Step 1: Copy the full widget code

In LeadTruffle, copy the current account-specific snippet. Keep all initialization code and the company identifier.

For a floating contact option, select the Website Texting Widget. When you want to have a form within a page layout, copy the appropriate form code (inline) instead.

Step 2: Use the route for your builder

Classic Builder

Go to the appropriate page or site and then Settings β†’ Analytics. Head/body code fields are documented on Leadpages.

Apply the placement that you were given to your LeadTruffle embed and save and update the asset. The GA4 Measurement ID field is not for widget script, it's for a measurement ID.

Classic analytics documentation focuses on tracking tools and cautions against unrelated code in tracking fields. If the available fields differ from your installation instructions, confirm the supported widget placement with LeadTruffle or Leadpages.

Page Studio

Click on the Settings in the page and expand the Scripts menu. Copy and paste the entire snippet in the right head/body field and then update or publish the page.

Verify the live result prior to using. Not all the features of Page Studio and Classic Builder are integrated or available via a global script.

If you manage several landing pages

Use Classic Global Scripts across assets where your plan supports them. Check the selected assets carefully, and avoid running both a global copy and a page-level copy of the widget.

A header field determines where code is placed in that asset. It does not automatically turn a one-page installation into an account-wide one.

Step 3: Configure a useful conversation

Create a welcome message appropriate for the landing page. If conducting an inspection campaign of roofs, the visitor should be invited to give details of the property and the inspection request. Avoid asking for all the details of the project at once and make the following question easy to answer.

Qualify and establish service-area rules and team handoff in LeadTruffle. You need a supported scheduling setup in order to be able to book. The page script does not create appointments.

Step 4: Publish and test the campaign URL

Open the same public landing page in a private web browser window. Look at the desktop and mobile layouts, and provide your own mobile phone number to test via the consent option you want to test.

Verify contact, SMS conversation, and/or any CRM handoff configured. If the widget is used for multiple pages or variants, test each active variant of the widget.

Also ensure that campaign parameters are passed through on the landing URL's for an advertising campaign. A widget lead and a native Leadpages form conversion are two distinct events – please distinguish in reporting.

Troubleshooting

In case the widget does not appear, review the builder, field, publication status and scope of the asset. If it shows up twice, search for a Global Script and a page level embed.

If the greeting is not showing up, please go to current account settings and cached page. Not every future change of widgets will work without a change in the snippet.

If submissions work but texts do not, check consent and messaging configuration before changing the landing-page script.

Try both the submission routes in LeadTruffle's opt-in guide. The widget can begin the automatic text conversation when the SMS consent box is checked by the visitor. If that isn't included, it will save the contact and provide a QR code or Text Us Now link for the visitor to start the conversation in the Inbox; the unchecked submission does not make an Inbox conversation.

Do not modify the provided disclosure or opt-out function. The checkbox is part of the messaging workflow and it's not a statement of assurance that all future messaging with the number adheres to the rules.

Review the AI's business information, qualification questions and handoff rules. To pass details to your team in the CRM, connect the relevant supported CRM integration. Direct booking depends on the actions it supports and your configuration.

Measure useful outcomes

Separate tracking of widget submissions, started conversations, qualified inquiries and bookings. A contact does not have to be a qualified lead or a completed appointment.

In the case of paid traffic, you can utilize a tagged test URL and review the lead's Attribution & Tracking information. LeadTruffle automatically captures available campaign and page context, if this is missing or blocked, investigate it and don't simply assume that it is available. See the attribution guide.

FAQs

Can I use one script across all pages?

Classic Global Scripts may be used on multiple assets, when supported. Verify the plan and builder; Page Studio has other controls.

Does choosing Header Code make an install site-wide?

No. Code placement and page or account scope are separate choices.

Will this capture submissions from my current Leadpages form?

The widget collects their own submissions. If you need to connect an existing form, you need to have an existing supported workflow.

Can I keep my existing form?

Yes. Keep the main landing-page action clear and offer texting as another useful contact option without covering the form with a popup.

See the widget in action

Schedule a LeadTruffle demo to witness a Leadpages site inquiry turn into a helpful text conversation. You can also check out the Website Texting Widget first before deciding your set up.