Skip to content
linkifunnels.com Open app

LinkiFunnels pixel

Everything the pixel does, the attributes it understands, and the cookies and storage it uses.

<script async src="https://app.linkifunnels.com/embed.js?v=3" data-key="lf_pub_..."></script>

data-key is the workspace tracking key from Settings, then Connect your site. It is public and can only create leads.

On arrival the pixel stores the click id from ?lf_cid= in a cookie, then removes lf_cid and lf_test from the address bar with history.replaceState. Other query parameters and the hash stay as they are. If the cookie could not be written, the URL is left untouched. This keeps the click id out of copied and shared links, and out of page URLs in your own analytics.

Attribute On Effect
data-lf-capture An input Include this field as a custom field, up to ten per lead
data-lf-ignore An input, form, or any ancestor Never read anything inside
data-lf-event A form or button Use this string as the event name instead of the default

data-linkifunnels-capture, data-linkifunnels-ignore, and data-linkifunnels-event are accepted as long forms.

Fields are matched on name, id, autocomplete, aria-label, placeholder, and label text, plus input type for email and tel.

Field Recognized as
Email email, e_mail, email_address, and inputs with type="email"
First name, last name, full name Common variants in English
Phone phone, tel, mobile, and inputs with type="tel"
Company company, organization, business

Never read: hidden, password, and file inputs, disabled fields, unchecked boxes and radios, and anything whose name looks like a token, secret, password, one-time code, card number, or bank account.

What Limit
Email 254 characters
Phone 50 characters
Other profile fields 200 characters
Custom field value 500 characters
Custom fields 10
Request body 32 KB

form_submit for a form submission. For flows finished with a button: button_submit, button_finish, button_complete, button_send, button_register, button_book, button_schedule, button_apply, button_sign_up, button_create_account, button_get_results, based on the button text.

Name Where Lifetime Purpose
lf_cid Cookie on your domain 90 days The click id read from ?lf_cid= on arrival
lf_lead_<click id> localStorage 1 hour Fields seen so far, until the lead is sent
Sent marker localStorage 90 days Prevents sending the same lead twice
lf_test_token sessionStorage Session Present only during an installation test

Appending ?lf_test=<token> to a page URL puts the pixel in test mode for that tab. Submissions are reported to the settings page and do not create leads. Tokens come from Run test on the settings page and expire after 15 minutes.