Create your account
Sign up with your name, work email, company name and a password. The first 60 days are free, and you add a card under Billing when you are ready.
Confirm your email from the message we send. Your site starts sending data once the address is confirmed.
Onboarding then walks through three steps: the scripts, the policy wording and your reports. Everything it shows stays under Settings, General, so you can come back to any step.
Your company settings live under Settings, General, Company: the website address, whether you sell by quote or by order, your currency and your time zone. Reports, uploads and exports all read dates and amounts in those.
Install the base script
Open Settings, General, Install and copy the base script. It already carries your client ID.
<script src="https://app.attributionlane.com/pixel.js?cid=YOUR_CLIENT_ID" async></script>Paste it inside the head of every page on your site. One tag is enough. It records page views, keeps the ad, search or referral that brought each visitor, and records the forms they submit, including forms a plugin adds after the page loads. It reads the name, email and phone fields by type, label and common field names, and it never holds a form back or sends it twice.
Where to paste it
- Google Tag Manager. Add a Custom HTML tag with the script, firing on All Pages.
- WordPress. Paste it into the header of your theme, or into a header scripts plugin.
- Webflow. Site settings, Custom code, Head code.
- Squarespace. Settings, Advanced, Code injection, Header.
- Shopify. Online Store, Themes, Edit code, then theme.liquid, above the closing head tag.
- Wix. Settings, Custom code, add it to the Head on all pages.
- Anything else. Any site that lets you add code to the head of every page works the same way.
Send it to your developer
The Install page has a form that emails the scripts and your client ID to whoever looks after your website, with a note from you. Or email support@attributionlane.com and we will install it for you.
Check it is recording
The box at the top of Settings, General, Install shows what your site has sent: the first and last page view, the counts, and the last five hits. It keeps checking until the first visit arrives.
- Open your site in an ordinary browser and look at two pages. Visits from scripts and headless browsers are ignored, so a test from a tool will not show.
- The page view count moves within a minute.
- Submit a form on your site with an email you will recognise.
- Open People and search for that email. The lead is there with its first and last touch.
If the test form does not appear within a minute, add the lead script to the page the form lands on.
Add the lead script
Most forms are recorded by the base script on its own. Add the lead script only when a test form does not show up. That happens with forms in a frame (HubSpot, Typeform, Jotform, Calendly, some intake tools) and forms that finish on another domain.
Copy it from Settings, General, Install and place it on the thank-you page the visitor lands on after submitting. Swap each placeholder for the field variable your form tool offers, and leave out fields you do not collect. Email alone is enough.
<script src="https://app.attributionlane.com/leadTrack.js?cid=YOUR_CLIENT_ID"
data-email="{{Email}}" data-fn="{{First Name}}" data-ln="{{Last Name}}"
data-phone="{{Phone}}" data-form-id="{{Form ID}}"></script>Fields
| Attribute | Meaning |
|---|---|
data-email | Visitor email. Send at least one of email, phone or a name. |
data-phone | Visitor phone, any format. |
data-fn | First name. |
data-ln | Last name. |
data-name | Full name, split into first and last when data-fn and data-ln are absent. |
data-form-id | Optional label for the form, shown on the lead, like contact or free-consult. |
Rules
- The base script has to be on the thank-you page too. The lead script reads the visitor ID the base script stored and records the lead against it.
- Do not add async or defer to the tag. The script reads its fields from its own tag when it runs.
- Values go in data attributes, so they stay out of the script address and out of server logs. The older form, with the fields in the script address, keeps working for tags already installed.
- If your form tool redirects to the thank-you page with the fields in the address, like /thank-you?email=jane%40example.com&first_name=Jane, the plain tag with only the client ID is enough. The script reads email, phone, name, first_name or fn, and last_name or ln from the page address.
- Use one method per form. A page where the base script also records the form can record the lead twice. Both land on the same person, and the identity matching merges them by email or phone, so it is cosmetic, but tidier to avoid.
Google Tag Manager
Add a Custom HTML tag that fires on the thank-you page address. Pull the values from Data Layer variables your form tool pushes. HubSpot, Gravity Forms and WPForms all push the submitted fields.
<script src="https://app.attributionlane.com/leadTrack.js?cid=YOUR_CLIENT_ID"
data-email="{{DL - Email}}" data-fn="{{DL - First Name}}" data-ln="{{DL - Last Name}}"
data-phone="{{DL - Phone}}" data-form-id="{{Page Path}}"></script>Record quotes and sales
Leads tell you which channel fills the inbox. Quotes and sales tell you which one pays. Each quote and sale is matched to a person by email or phone, so it lands on the same line as their first click.
There are four ways to get them in. Use whichever fits how you work, or several.
By hand
Open a person on People and use Add quote or Add sale, or add one from the Quotes and Sales pages. A quote marked Won gets its sale. If your company is set to ecommerce, quotes are hidden and you add sales only.
CSV upload
Upload takes a CSV from your CRM, invoicing or booking tool. You match its columns to fields once, and the matching is remembered for next time.
- One row per quote or sale, with a header row. Any column names work.
- Email or phone, to match the person. Rows for anyone not on file yet are not added, so add the person first.
- Date, like 2026-11-06, 11/6/2026 or Nov 6, 2026, with an optional time, read in your company time zone.
- Value, like 1200.50 or $1,200.50. Every sale needs one. A quote can be blank.
- Optional: name, status (Open, Won or Lost for quotes; Active or Refunded for sales) and an order or quote number.
- Up to 2,000 rows per file. Rows already uploaded are skipped, so the same file can go up twice.
Zapier
Send leads, quotes and sales from your other tools as they happen. See Zapier below.
Order webhook
A server that already knows about a sale, like a store or invoicing back end, can post it directly. Create an API key under Connected accounts with Sales ticked and send it as a bearer token. Sales are never accepted from a browser.
POST https://app.attributionlane.com/api/sale
Authorization: Bearer zap_your_key
Content-Type: application/json
{
"email": "jane@example.com",
"value": 1500,
"date": "2026-11-06",
"order_id": "INV-1042"
}Fields are the same as the Zapier sale fields below. The person is found by email or phone, the sale closes an open quote that fits it, and an order_id sent again updates the status (Active or Refunded) instead of counting twice.
Connect your accounts
Settings, Connected accounts holds the tools that feed Attribution Lane or read from it. Only an owner of the company can connect, disconnect or create keys. Members see the status.
CallRail
Every phone call shows next to the visit and ad that led to it, and callers become leads with their name and number filled in.
- In CallRail, open Settings and choose API keys, then create a key.
- Find your account ID: open any page in CallRail and look at the address bar. The nine digit number after /a/ is the account ID (app.callrail.com/a/123456789/...).
- In Connected accounts, paste the key and the account ID under CallRail and choose Connect.
Calls sync every 30 minutes, and Sync now pulls them on demand. They appear on the Calls page, which shows in the CRM menu once CallRail is connected, and on the caller's person page.
To tie a call to the visit that produced it, CallRail's own tracking script has to run on your site alongside the base script. That is the script CallRail gives you for swapping phone numbers. Without it, calls still arrive as leads, with CallRail's source and medium.
Disconnecting keeps the calls already recorded and stops new ones until you connect again.
Zapier
Send leads, quotes and sales from your CRM, booking or invoicing tool, so every job counts toward the ad that brought it in.
Create a key
- In Connected accounts, under Zapier, choose Create key. Name it after the tool it serves, like Jobber Zaps, and tick what it may send: Leads, Quotes, Sales.
- Copy the key straight away. It is shown once. A lost key is revoked and replaced, which takes a minute.
Build the Zap
Each Zap starts with a trigger in your other tool: a new contact, a new estimate, a paid invoice. Then add the action.
- Add an action step. For the app choose Webhooks by Zapier, and for the event choose POST.
- In URL, paste the address for what you are sending.
- Set Payload Type to JSON.
- Under Data, add one line per field: the field name on the left, and on the right the matching value from your trigger.
- Under Headers, add Authorization on the left. On the right, type Bearer, a space, then your key.
- Test the step in Zapier, then turn the Zap on. New leads show on the People page, quotes on Quotes, sales on Sales.
| Sending | URL |
|---|---|
| Leads | https://app.attributionlane.com/api/zapier/lead |
| Quotes | https://app.attributionlane.com/api/zapier/quote |
| Sales | https://app.attributionlane.com/api/zapier/sale |
Fields
Every body is JSON. Dates are read in your company time zone. A currency, when sent, has to be the one your company is set to.
Leads
| Field | Meaning |
|---|---|
email | Their email address. Send an email or a phone, or both. |
phone | Their phone number, in any format. |
name | Their full name. Or send first_name and last_name instead. |
form_id | Optional. Where they got in touch, like Facebook lead form or CRM. |
date | When the inquiry happened, like 2026-11-06 or 11/06/2026 2:30 PM, read in your company time zone. Leave it out to use the time it arrives. |
Quotes
| Field | Meaning |
|---|---|
email | Their email address. Send an email or a phone, or both. |
phone | Their phone number, in any format. |
name | Their full name. Or send first_name and last_name instead. |
value | The quote amount, like 2500. Optional. |
date | When the quote happened, like 2026-11-06 or 11/06/2026 2:30 PM, read in your company time zone. Leave it out to use the time it arrives. |
external_id | The quote number in your other system. Send it so the same quote can be updated later. |
status | Optional: Open, Won or Lost. New quotes are Open. |
currency | Optional. Leave it out or send the currency your company is set to. |
Sales
| Field | Meaning |
|---|---|
email | Their email address. Send an email or a phone, or both. |
phone | Their phone number, in any format. |
name | Their full name. Or send first_name and last_name instead. |
value | The sale amount, like 1500. Required. |
date | When the sale happened, like 2026-11-06 or 11/06/2026 2:30 PM, read in your company time zone. Leave it out to use the time it arrives. |
order_id | The order or invoice number. Send it so a repeat never counts twice and a refund can be sent later. |
status | Optional: Active or Refunded. New sales are Active. |
currency | Optional. Leave it out or send the currency your company is set to. |
Test it
Under Zapier in Connected accounts, Send a test lead pushes a sample named Test lead from Zapier setup through the key you pick. It appears on People within a minute. Remove it with the button beside it when you are done.
Google Ads offline conversions
Teach Google Ads which clicks became customers. Attribution Lane prepares a file of everyone who came from a Google ad, with their lead and their quote or sale value, in the format Google Ads imports.
One-time setup in Google Ads
- In Google Ads, go to Goals, then Conversions, and create two conversion actions of type Import, then Manual import using API or uploads, then Track conversions from clicks.
- Name the first Attribution Lane - Lead, with count One and no value.
- Name the second Attribution Lane - Sale, with count Every, using the value in the file.
Each upload
- In Connected accounts, under Google Ads offline conversions, download the Google Ads upload file.
- In Google Ads, go to Goals, then Conversions, then Uploads, and upload the file.
- Repeat as often as you like. Weekly is a good rhythm.
Each file holds everyone every time, and Google skips the conversions it already has. Leads are sent with no value. Each job is sent to the Sale action with its sale value once sold, or its quote value until then. Lost quotes and sales are left out, and so are ad clicks older than 90 days, which Google no longer accepts. Times use your company time zone and values use your company currency.
The People list download beside it holds the same people with their contact details, for your own checks.
Update your policies
Settings, General, Install has privacy policy and cookie policy wording with your company name filled in. Add it to your policies and have it reviewed before you publish.
Invite your team
Under Settings, General, Company, the Team section invites people by email as an Owner or a Member. Owners manage connections, keys, billing and the team. Members see the reports and records.
An agency with several client sites sees each one under a single login and switches between them from the top bar. Client users see their own site only.
The plan and founder pricing
There is one plan, and everything in this guide is in it: the scripts, lead attribution, quotes and sales, Google Ads offline conversions, Zapier, team seats and several companies under one login. 500,000 tracked events a month are included, then $20 per extra 500,000.
Founder pricing
Early customers pay $129 a month per company. That price stays for as long as the subscription runs, whatever later customers pay. The regular price is $199 a month.
Founder customers also get a direct line to us. Write to support@attributionlane.com with what is missing, what is confusing or what you wish the reports showed, and it goes on the list we build from. You hear back from the people who build it, not a ticket queue.
Trial and billing
Every account starts with an extended trial of 60 free days. Billing shows your usage for the month and where to add a card. Adding a card during the trial keeps the trial: the first charge lands when the 60 days end, then monthly. Cancel any time from Manage billing on the same page and the subscription ends at the end of the period you paid for.
Get help
Email support@attributionlane.com. We answer by email, and we will install the scripts for you if you would rather not touch the site.