Skip to content

Targeting ​

In short

  • Which pages: a targeting group of URL rules.
  • Which visitors: an audience by device, traffic source, new or returning, country, referrer or query parameter, combined with AND or OR.
  • The split: everyone who matches both enters the test, split evenly unless you adjust it at launch. A visitor keeps their variant for the visit.
  • Locked at launch: targeting can't change once the test runs.
Or just ask

No need to build rules by hand. Describe the pages with Generate with AI, and who should see the test to the editor agent. Dalton writes the rules.

Every product page on our US store.

Pages: targeting groups ​

A targeting group is a set of URL rules describing a slice of your site: your home page, every product page, every collection except clearance. Groups are reusable, and the Experiments screen groups your tests by them.

Choosing a targeting group

Starting a new experiment opens this picker. Each group shows its traffic over the last 7 days and how many experiments use it.

The targeting rule builder

Generate with AI turns a plain description, such as "every product page except the sale collection", into URL rules. It reads your actual site, so it needs the Dalton script installed. Write myself opens the builder directly.

URL rules ​

Each condition reads as: path does or does not [operator] [value]. Combine conditions with AND or OR, and nest groups for anything more involved.

OperatorMatches when the path
Exact matchis exactly the value
Simple matchis exactly the value. Behaves like Exact match, since the query string is never part of the path
Starts withbegins with the value, such as /products
Ends withends with the value
Containscontains the value anywhere
Wildcardfits a pattern. * stands for one or more characters, so /products/* matches /products/serum but not /products
Regexmatches a regular expression
How paths are compared
How paths are compared
Path onlythe query string and # fragment are ignored, so /products/serum?utm_source=meta is tested as /products/serum
Trailing slashstripped, so /sale/ and /sale are the same
Casecase-sensitive: /Sale does not match /sale
Canonical URLthe page's canonical URL is also checked
www. and m.ignored, so www.shop.com and shop.com are the same site
Other subdomainsseparate sites: eu.shop.com is not shop.com
Several domainsAdd a ruleset on another domain puts several domains in one group. A page matches if any of its rulesets does

A group's rules are set when you create it. To target different pages, create a new group.

Audiences ​

Click the audience in the editor's targeting sentence (Targeting All visitors on Home Page) to narrow who sees the test. Pick one option per section. Every rule you set must match; for country or OR rules, see below.

Opening the audience menu: device, traffic, visitor and the Advanced referrer and query parameter rules

SectionOptionsHow it is decided
DeviceAny, Mobile, Desktopfrom the browser's user agent. Tablets, iPad included, count as desktop
TrafficAny, Direct, Paid, Google Ads, Meta Ads, Email, AI assistantsfrom UTM tags first. The referrer is used only when there is no utm_source
VisitorAny, New, ReturningNew: Dalton has not seen this browser before. Returning: a known browser coming back after at least 30 minutes away
AdvancedReferrer, Query parameterrules with is, is not, contains, is set, is not set
How each traffic option is decided
OptionMatches when
Directno referrer and no UTM tags, or the referrer is your own domain
Paidthe UTM tags mark it as paid, paid social or paid display, or utm_medium is cpc, ppc, paid, cpm or cpv
Google Adspaid, and the source is Google
Meta Adspaid, and the source is Facebook, Instagram or Meta
Emailthe UTM tags or referrer classify the visit as email
AI assistantsthe visit comes from ChatGPT, Gemini, Perplexity, Copilot, Claude, you.com or Phind

Google's gclid and Microsoft's msclkid click IDs are ignored. A Google Ads click without UTM tags does not count as paid, so tag your ad URLs.

Advanced rules
  • Referrer matches on the root domain: mail.google.com counts as google.com.
  • Query parameter works with any parameter, not only utm_*. Parameter names are not case-sensitive. Values longer than 30 characters are not sent, so they can't be matched.

When it is decided. Audience is read from the landing page when the visit starts: its referrer and query parameters. That decision holds for the whole visit (24 hours), across every page. A visitor whose value can't be determined, such as a browser with no user agent, is left out of the test.

Markets and languages ​

Target a market by its URL or by country. Locale paths such as /fr-BE/ and separate domains such as shop.fr go in the targeting group. A language set in a query parameter, such as ?lang=fr, works as an audience rule under Advanced. A country is an audience rule you ask the agent for.

To run one test across all your markets, with results split by country and the winner deployed only where it won, see One test across markets.

Countries and combined rules ​

The menu covers the common cases. For a country, or rules combined with AND and OR, ask the editor agent in plain language, as in the example at the top of this page. The country comes from the visitor's connection. The audience card then shows the result as a Custom rule.

Your own data ​

Targeting on a cookie, a logged-in state or other data from your site is possible with a custom setup, where your site passes that information to Dalton. Ask us at team@getdalton.com.

Your own visits ​

There is no IP or internal-traffic exclusion. To load a page without Dalton on your own visits, add ?dalton_disable=1 to the URL.

Reach and time to results ​

As you build a group, the panel underneath shows:

  • Estimated reach, visits in the last 7 days
  • Pages matched, distinct paths covered
  • Time to results, how long a test on this group would run

Time to results uses the same calculation as an experiment's planned window, so you can see before launching whether a group resolves in two weeks or six. Use the search box to type a real URL and confirm it matches.

A rule matching 40 product pages resolves in a fortnight where one matching a single page may never resolve. Widen for generic changes such as trust badges or delivery messaging. Narrow when the change only makes sense on one template. Only test elements that exist, and mean the same thing, on every page in the group: see Testing across many pages.

Testing across many pages ​

A change applies to every page in the group. Change the title on one product page and every product shows that title.

So test only elements that are the same on every matched page:

WorksDoesn't work
"Add to cart" button textProduct titles
Free shipping bannerPrices
Trust badgesProduct descriptions
Review section headingSize and stock selectors

Before launch, preview the test on three to five different matching pages. If the element is missing or looks different on some, narrow the group or pick another element.

Traffic split ​

  • 100% of matching visitors enter the test. There is no setting to include only part of the traffic.
  • The split across the original and the variants is even by default.
  • Adjust in the launch review sets your own split: whole-number percentages that total 100. It is available when you launch a test for the first time.
  • The split stays fixed for the whole test.

Two tests on the same page ​

You can run several tests on the same pages. Each draws its variant independently, so a visitor can be in more than one, and the other tests spread evenly across every variant of each test. Only avoid two tests that change the same element: neither could tell which change caused the result.

After launch ​

  • The audience and page group lock once the test launches.
  • A visitor stays in their variant for the visit, even if their device, source or other signals change.