---
title: "Form tracking on any site, with lead source | Rivil CRM"
description: "One snippet on any site: forms are found on their own, fields go where you want in CRM, and every lead arrives with UTM, first and last source. See how."
url: https://rivil.app/en/crm/form-tracking
language: en
publisher: Rivil Solutions
---

Site tracking

# Every form on your site lands in CRM, with its source

Add one snippet to your site and Rivil CRM finds your forms, connects them to your fields, and keeps the ad, campaign, and path behind every lead. Everything is set up from CRM, no developer needed.

How it works

## From one snippet to leads with a source

### Add one snippet to your site

Works on any site: WordPress, Webflow, Wix, a hand-built site, or a web app. You change settings in CRM, and the code on your site updates itself.

### Forms show up on their own

As people visit and after a scan of your pages, CRM shows you every form and the pages it lives on.

### Choose where each field goes

Send fields to the lead, to your own CRM fields, or to the form data, with a preview of the lead before you save.

### The lead arrives with its whole journey

Every submission lands in CRM with first and last source, campaign, landing page, and the visit path.

Forms found for you

## No more listing forms by hand

The code recognizes the forms on your site from real visits, including ones that load later on the page. A site scan also finds forms on pages nobody has opened yet.

For each form you see which pages it is on, how many fields it has, and whether it is new. Choose what to track and what to ignore, one at a time or several at once.

- Forms from visits and from a site scan
- The pages each form appears on
- New forms are flagged for you
- Search, filters, and bulk actions

Mapping

## Every field goes where you want in CRM

For each form field, pick a destination from a searchable list: the lead’s name, phone, and email, your company’s custom fields, or the form data.

Pick the same destination more than once and the values are joined, so first and last name become the full name. You can also add fixed values limited to certain pages, like the city on a location’s pages. Before you save, you see what the lead will look like.

- Searchable destinations, including your custom fields
- Several fields joined into one
- Fixed values site-wide or only on some pages
- Lead preview before you save

Lead source

## Know which ad brought each person

Every form carries the visit source: UTMs from first and last touch, the Google Ads or Meta click, the page the visitor landed on, the site they came from, and the full visit path.

You decide where each value goes in CRM, or turn it off. How long the source is kept and what counts as a new visit are set in CRM too.

- First and last touch, with source, medium, campaign, term, and content
- Google Ads and Meta clicks
- Landing page and referring site
- Each value sent where you want, or turned off

[How a lead path is built](https://rivil.app/en/crm/attribution-paths)

Contact gate

## People who call straight away reach CRM too

Many visitors skip the form and tap the phone number. Without them, your report shows fewer leads than you really have.

With the contact gate, a short window appears before a click on phone, email, or WhatsApp, where the visitor leaves a name and number. The contact lands in CRM with its source, and the call starts right after.

- Phone, email, and WhatsApp
- Window text and look, set in CRM
- Only on the pages you choose
- The contact arrives with the ad that brought it

Submissions

## No submission gets lost

Every submitted form is saved first and only then becomes a lead. If a form is not mapped yet, its submissions wait and you replay them after saving.

Each submission has its own record: what came from the site, what reaches CRM, and the lead created. Spam and duplicates are filtered, with the reason shown.

- A record for every submission, with the visit source
- Replay after a new mapping, one by one or all at once
- Spam and duplicate filter
- Submissions listed per form

In control

## Always know tracking works

### Status for every domain

See which domains run the code, which version, and when it last checked in. One click confirms it is installed correctly.

### Check it on the site, from CRM

Open your site from CRM in a check mode and see right away which forms it recognizes, what source the visit has, and what gets sent.

### An event for Google Tag Manager

After every submitted form, the page gets an event you can use as a conversion in Google Ads or GA4.

### Pages without tracking

Leave out account pages, checkout, or any other part of the site, by path.

### Your own visits do not count

What you or your team do on the site does not skew sources and never lands in CRM as a lead.

### Works next to the WordPress plugin

If a domain already runs the Rivil plugin, the new code steps aside so nothing is doubled.

Questions

## What people ask us

### What kind of site does it work on?

Any site where you can add code to your pages: WordPress, Webflow, Wix, Shopify, custom-built sites, or web apps. For WordPress there is also a plugin, but you do not need it.

### Do I have to change my existing forms?

No. Your forms stay as they are. The code recognizes them, and you choose in CRM what to track and where each field goes.

### What happens with a new form added to the site?

It shows up in CRM as a new form, with the pages it lives on. If it has an email or phone field it can be tracked right away, and you map it when you are ready. Submissions sent in the meantime are kept: you replay them after saving the mapping.

### Can I send first and last name as one field?

Yes. If you pick the same destination for several fields, the values are joined, so first and last name become the full name.

### I have the same page for several cities. How do I know which city a lead is from?

Add a fixed value, for example the city, and limit it to that city’s pages. Leads from those pages arrive in CRM with the city filled in.

### What about people who call straight from the site?

Turn on the contact gate: before a click on phone, email, or WhatsApp, the visitor leaves a name and number. The contact lands in CRM with its source, and the call starts right after.

### What about spam and double submissions?

Spam is filtered, and the same submission sent twice does not create two leads. You see all of them in the submissions list, with the reason.

### Who does the setup?

We do it with you on a call: add the code, connect the forms, and check the first lead. After that, you make changes from CRM without touching the site.
