On This Page
Dynamic text replacement (DTR) changes text on a landing page based on a parameter in the link the visitor clicked. Add something like ?service=gutter-cleaning to an ad's URL, and the page headline can change to match that service. One page can then serve many ads and keywords, while each visitor still sees wording that matches what they clicked.
It's most useful for paid search campaigns with many similar ad groups, where building and maintaining a separate page for each would be a lot of work.
DTR at a Glance
- What changes: headlines, subheadings, button labels or other text.
- What triggers it: a URL parameter in the ad's link.
- What happens without a parameter: visitors see the default text.
- Where it helps most: search ads with many related keywords.
How Dynamic Text Replacement Works
Every DTR setup has three parts.
- A URL parameter added to the link, such as
?city=denveror?keyword=solar-panels. - A marked piece of text on the page that should change, such as the headline.
- A default value that shows when there's no parameter, so the page always makes sense.
When a visitor arrives, the page reads the parameter from the link and replaces the marked text. If someone visits the page directly, they see the default.
Example: A Home Services Company
Base page headline (default): Fast, Reliable Home Repairs With Upfront Pricing
Ad link: yoursite.com/repairs?service=Gutter+Cleaning
What the visitor sees: Fast, Reliable Gutter Cleaning With Upfront Pricing
Another ad link: yoursite.com/repairs?service=Drywall+Repair
What that visitor sees: Fast, Reliable Drywall Repair With Upfront Pricing
Two Ways to Use DTR

Inserting the Parameter Value Directly
The simplest approach inserts the value from the URL straight into the page. It's flexible but has risks: anyone can edit the URL, so the page could display odd or inappropriate text, and keyword values may come through with awkward capitalization.
Mapping Values to Approved Text
A safer approach maps specific parameter values to text you've written in advance. For example, ?service=gutters shows "Gutter Cleaning," while any unrecognized value falls back to the default. Leadpages' DTR works this way: you set the parameter name, default text and replacement mappings, so the page shows only wording you've approved.
DTR With Google Ads Keyword Insertion
DTR pairs naturally with Google Ads keyword insertion, which places the matched keyword into the ad itself. You can also pass the keyword into the landing page URL using a parameter, so the ad and the page use the same words.
Many advertisers prefer to pass a value they control, such as the ad group's theme, rather than the raw search term. That keeps the wording predictable and avoids displaying unusual queries on the page.
When DTR Helps
| Situation | DTR Fit | Why |
|---|---|---|
| Many similar ad groups for one service | Strong | One page, matched headlines |
| Same offer across several cities | Strong, if you genuinely serve them | Match the location named in the ad |
| Different audiences for one product | Good | Change the headline angle per audience |
| Completely different offers | Weak | Build separate pages instead |
| Organic SEO pages | Not useful | Search engines see the default text |
DTR changes words, not the whole page. If two audiences need different proof, offers or page structure, separate pages will serve them better.
Match your ads to your pages without building dozens of variations. Dynamic text replacement is included on Leadpages Grow and above.
Try LeadpagesSetting Up DTR: A General Process
The exact steps vary by builder, but the process is similar everywhere.
- Choose the text to change, usually the headline and sometimes the button.
- Name the parameter, such as
serviceorcity. - Write the default text that works for anyone.
- Add mappings or allow direct insertion, depending on your builder.
- Add the parameter to your ad links, one value per ad group.
- Test each link to check the page displays correctly.
In Leadpages, DTR is available on Grow, Optimize and Enterprise plans. Our Leadpages pricing guide compares what each plan includes.
Writing Headlines That Work With DTR
A DTR headline is a template with one changing part. Write it so every value reads naturally.
| Template | Example Values | Result |
|---|---|---|
| Fast, Reliable [Service] With Upfront Pricing | Gutter Cleaning, Drywall Repair | Fast, Reliable Gutter Cleaning With Upfront Pricing |
| [Software Category] for Small Teams | Project Management, Time Tracking | Project Management for Small Teams |
| Get [Outcome] in 30 Days | More Local Customers, Your First Sale | Get More Local Customers in 30 Days |
Test the longest value you plan to use on a phone. A long value can push the headline onto several lines and move the form below the first screen.
Pitfalls to Avoid
- Awkward wording. Write the headline so that every value reads naturally: "Fast, Reliable [Service] With Upfront Pricing" works; "We're the best [service] people" might not.
- Raw values on display. Direct insertion can show misspelled or edited text. Mapped values avoid this.
- Mismatched page content. If the headline says "Drywall Repair" but the rest of the page only talks about plumbing, visitors notice.
- Promising locations you don't serve. Only use city or region values where you genuinely operate.
- Forgetting the default. Visitors without parameters should still see a sensible page.
DTR Versus Personalization
DTR is a simple, rules-based form of personalization driven by the link. More advanced personalization tools change content based on visitor behavior or attributes. Leadpages' Optimize plan adds AI-based auto-personalization, while Instapage and Unbounce also offer personalization features in their higher plans. For most small advertisers, DTR delivers much of the benefit with far less setup.
Testing DTR Pages
DTR and A/B testing work together. You can test two headline structures, each with DTR, to see which framing performs better across all your ad groups. Our Google Ads landing page guide covers testing and message match in more detail.
Dynamic Text Replacement FAQs
What is dynamic text replacement?
A landing page feature that changes text, such as the headline, based on a parameter in the link the visitor clicked.
Does DTR improve conversions?
It can, because it improves message match between the ad and the page. Results vary, so test it against a fixed headline.
Does DTR affect SEO?
Search engines generally see the default text. DTR is mainly useful for paid traffic and links you control.
Which Leadpages plans include dynamic text replacement?
Grow, Optimize and Enterprise include DTR. The Pro and Business plans don't.
Is DTR safe to use?
Yes, if you use mapped values or check how direct insertion handles unusual input. Mapped values ensure only text you've written is shown.