ID Resolution

Identifying anonymous visitors to your website

Quick Start

Note: The tag below is an example only, make sure you use the tag given to you by your rep.

To get started, simply paste your VisitorID Javascript tag into your site or tag manager.

<script>
!function(){var l6xtag=window.l6xtag=window.l6xtag||[];if(!l6xtag.initialize&&!l6xtag.invoked){l6xtag.invoked=!0;l6xtag.methods=["identify"];l6xtag.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);l6xtag.push(e);return l6xtag}};for(var t=0;t<l6xtag.methods.length;t++){var key=l6xtag.methods[t];l6xtag[key]=l6xtag.factory(key)}l6xtag.load=function(key,t){var e=document.createElement("script");e.async=!0;e.src="https://tag.visitor.id/js/v1/" + key + "/l6xtag.js";e.type="text/javascript";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n);l6xtag._loadOptions=t};l6xtag._writeKey="YOUR-WRITE-KEY-HERE";
l6xtag.load("YOUR-WRITE-KEY-HERE");
l6xtag.identify({ /* properties */ });
}}();
</script>

Advanced Usage

To pass custom values through the VisitorID tag, such as a click id, source id, or any other identifier that you would like to track, locate the identify line in the javascript. Make sure you retain your own unique value where it says "tag."

tag.identify({ /* properties */ });

Replace /* properties */ with your custom values (support any key/value pair):

Example:

tag.identify
({ 
click_id: "YOUR-CLICK_ID-HERE",
cid: "YOUR-CAMPAIGN-ID-HERE",
source_id: "YOUR-SOURCE-ID-HERE"
 }); 

Receiving Your Data

As visitors to your site are identified, VisitorID will send data in real-time to your endpoint via POST or GET.

Available Fields

Contact your rep about appending fields marked with *

Field Name
Description

email

email address*

email_md5

md5 hash of lowercase email address

email_sha1

sha1 hash of lowercase email address

email_sha256

sha256 hash of lowercase email address

email_domain

email_domain (example: gmail.com)

first_name

First Name*

middle_initial

Middle Initial*

middle_name

Middle Name*

last_name

Last Name*

birth_date

Date of Birth*

city

City Name

region

State (example: california)

region_code

State Code (example: ca)

country

Country (example: united states)

country_code

Country Code (example: us)

street_address

Street Address*

address_line_2

Street Address 2*

postal_code

Postal Code (Example: 90405)

postal_code_ext

Postal Code Extension (+4)

categories

Historical categories (Taxonomy)

ip

IP Address (Example: 192.168.1.100)

ip_city

IP Address City (Example: los angeles)

ip_region

IP Address Region (Example: california)

ip_region_code

IP Address Region Code (Example: ca)

ip_country

IP Address Country (Example: united states)

ip_country_code

IP Address Country Code (Example: us)

ip_postal_code

IP Address Postal Code (Example: 90405)

ip_timezone

IP Address Time Zone (Example:)

ip_connection_isp

IP Address Connection ISP (Example:)

ip_connection_type

IP Address Connection Type (Example:)

locale

Locale (example: en-US)

page_path

Path (Example: /news/article-01)

page_referrer

Referrer (Example: https://l.facebook.com/)

page_search

Search String (Example: ?utm_medium=news&utm_source=article01&fbclid=...)

page_title

Page Title (Example: Enjoy Article01!)

page_url

Page URL (Example: https://www.some-site.com/news/article-01?utm_medium=news&utm_source=article01&fbclid=...)

properties

Custom Properties that were passed through the tag (see above under "advanced settings") returned in an array. Example:

{
    "click_id": "abc12345",
    "cid": "99999",
    "source_id": "11111"
}

received_at

Date/Time Received (Example: 2024-02-21T21:57:58.832Z)

sent_at

Date/Time Sent (Example: 2024-02-21T21:57:58.832Z)

source_domain

Source Domain: (Example: some-site.com)

timezone

Timezone

user_agent

Full user_agent string (Example: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36)

user_agent_browser

user_agent: Browser (Example: chrome)

user_agent_browser_version

user_agent: Browser Version (Example: 121)

user_agent_device

user_agent: Device (Example: galaxy)

user_agent_type

user_agent: Type (Example: phone)

user_agent_vendor

user_agent: Vendor (Example: samsung)

user_agent_mobile

user_agent: Mobile (Example: true/false)

user_agent_platform

user_agent: Platform (Example: android)

user_agent_platform_version

user_agent: Platform Version (Example: 12)

Last updated