no source field

info no-source-field Attributing AI traffic (check --forms)

A click from an AI assistant often arrives with no referrer at all: links opened from the ChatGPT app land in Direct or Unassigned, and Alice sets no UTM tags. Analytics cannot tell those visits apart; the person filling in the form can, if the form asks. Reported only by indexgap check --forms, once per page. A lead form is a <form> with a contact field (type email or tel, or a name, id, placeholder or autocomplete that says email, phone, телефон, WhatsApp or Telegram) and at least two fields to fill in, or a single phone field (a call-back form). Left alone: search forms (role=search, type=search, a lone q, s or query field), login forms (any password field), a single email field and two-field forms that say subscribe, newsletter or рассылка, and comment, cart and checkout forms. A field counts as the source question when its name, id, placeholder or label says source, referral, how did you hear, откуда вы узнали or источник, or when a select offers at least two AI assistants. Hidden fields such as utm_source do not count: they ask the browser, not the person. Forms inside template and noscript, and forms a script draws after load, are not seen. indexgap analytics --form prints a ready field.

What indexgap reports

The finding reads:

info  no-source-field  a lead form without a “How did you hear about us?” field: a click from an AI assistant's app often arrives without a referrer and looks like a direct visit in analytics, while the person's answer in the form keeps it. `indexgap analytics --form` prints a ready field

How to fix it

Add an optional “How did you hear about us?” field to the lead form with ChatGPT, Perplexity, Google AI, Alice, Claude and “other”. `indexgap analytics --form` prints the HTML; read the answers next to the “AI” channel in GA4 and the Metrica segment.

How it behaves at scale

Collapsed when it fires template-wide. If it appears on 90% or more of the pages — or of one language version — of a site with at least 20 pages, it is a property of the template and is reported once, with the count, instead of once per page.

Finding it

indexgap check --forms
indexgap analytics --form

See indexgap analytics for the GA4 channel, the Metrica segment and the form field.

Related checks in attributing ai traffic (check --forms)

All checks · Attributing AI traffic (check --forms)