Settings Edit the file on GitHub

The available configuration options of the Analytics tracking code.

Table of Contents

Session

connect

The connect command initializes the tracker object for your Account. This is a required call, in order to set up correctly the tracking code. Usually it is the first call you will do.

Data Parameters
Name Type Required Description
shop_account_id String Yes The unique Shop Account ID that you received from us. (e.g. SA-XXXX-YYYY)
Example
sa('session', 'connect', 'SA-0001-0001');