Dynamic Text Replacement

Last updated: 2026-03-12
Dynamic Text Replacement (DTR) lets you personalize any text or link element on your landing page using URL query parameters. When a visitor arrives via ?headline=Get+More+Leads, that parameter value replaces the default text instantly — no page reload, no flicker. The default copy is served to all other visitors and indexed by search crawlers.

How to use it

  1. Open the Visual Editor

    Open the landing page in the Visual Editor. Click any text element, button, or link that you want to personalize.

  2. Set a URL parameter name

    In the Properties panel on the right, find the 'URL Parameter Name' input under the element settings. Type a short, descriptive name — for example: headline, city, or offer.

  3. Save the page

    Click Save. The element now has a data-dtr attribute in the HTML (e.g. data-dtr="headline"). Repeat for as many elements as you need.

  4. View your parameters

    Go to the landing page Settings tab. The DTR section lists all configured parameters and shows an example URL like ?headline=Value&city=Value.

  5. Share personalized URLs

    Append your parameters to any link pointing to the landing page: https://yourdomain.com/landing?headline=Get+More+Leads&city=London. Visitors using that URL see personalized content immediately.

Frequently asked questions

Is Dynamic Text Replacement safe from XSS attacks?
Yes. Axerto uses textContent to replace text — not innerHTML — so URL parameter values are always treated as plain text, never as HTML or JavaScript.
Does DTR work with A/B variants?
Yes. Each variant is an independent landing page with its own data-dtr attributes. Both the original and any active variants support DTR independently.
Does DTR affect SEO?
No. DTR runs entirely in the visitor's browser after the page loads. Search crawlers see the default text in the HTML source, which is what gets indexed.
Can I use multiple parameters at once?
Yes. Add as many data-dtr parameters as you need and combine them in a single URL: ?city=London&service=Plumbing&offer=Free+Quote.
How does this help with Google Ads?
Google Ads ValueTrack parameters (like {keyword}) can be passed to your landing page URL. Map a ValueTrack token to a DTR parameter to automatically insert the searched keyword into your headline — improving perceived relevance and Quality Score.

Related