Event API
  • Introduction
  • JavaScript API
    • Library installation
    • Event registration
    • Visitor identification
    • Dynamic parameters
    • Examples
  • REST API
    • Event registration
    • Visitor identification
    • Dynamic parameters
    • Examples
Powered by GitBook
On this page
  1. JavaScript API

Visitor identification

The hybrid.ai library allows you to associate data with a specific visitor, such as a unique identifier, social network identifiers, demographic data, etc.

Call the following JavaScript from your place on the Web page to identify the visitor:

<script>
    _txq.push(['identify', 'CUSTOMER_ID', IDENTIFY_CONTENT, USER_CONTENT ]);
</script>

where:

  • CUSTOMER_ID is a unique client identifier (required parameter).

  • IDENTIFY_CONTENT is an object of unique visitor identifiers (optional parameter).

  • USER_CONTENT is the visitor data object (optional parameter).

PreviousEvent registrationNextDynamic parameters

Last updated 5 years ago