Personalization

Personalization JavaScript API reference

Note

Acquia recommends that you install and use the Drupal modules to send information to Personalization. If you use the Personalization modules, you do not need to use the JavaScript API.

The following JavaScript functions are available for your use:

Function

Description

capture

Capture a visitor’s page view.

captureIdentity

Capture specific visitor information.

setDoNotTrack

Enable or disable the tracking of visitors.

updatePerson

Update Person information without adding new records.

runConfigTest

Verify the installation and configuration of Personalization.

Additional JS API Resources