visitorID

Adobe uses several different methods to identify visitors on your site. The visitorID variable overrides all other methods of visitor identification.

IMPORTANT

Adobe advises against using this variable. Use the Adobe Experience Cloud Identity Service instead.

Visitor ID in Adobe Experience Platform Launch

Visitor ID is a field under the Cookies accordion when configuring the Adobe Analytics extension.

  1. Log in to launch.adobe.com using your AdobeID credentials.
  2. Click the desired property.
  3. Go to the Extensions tab, then click the Configure button under Adobe Analytics.
  4. Expand the Cookies accordion, which reveals the Visitor ID field.

Assign this field to the data element containing your custom visitor ID. Do not set this field to a static value.

s.visitorID in AppMeasurement and Launch custom code editor

The s.visitorID variable is a string that contains a custom unique identifier for the visitor. Valid values include alpha-numeric characters up to 100 bytes. Avoid using dashes, spaces, underscores, or symbols in this variable.

WARNING

If you set the visitorID variable partway through a visit, data results in two separate unique visitors.

s.visitorID = "abc123";
CAUTION

An invalid implementation of custom visitor ID’s can lead to incorrect data and poor reporting performance. If this variable contains a default value (such as "0" or "NULL"), Adobe treats these hits as if they are the same visitor. This situation results in incorrect data, with low visitor counts and visitor-level segments not working as expected. Incorrectly implemented custom visitor ID’s also introduce heavy load on processing servers, increasing latency and decreasing report performance.

On this page