_gas.setUniqueUserCustomVarSlot

Extended Google Analytics measuremet.

_gas.setUniqueUserCustomVarSlot

Description

_gas.setUniqueUserCustomVarSlot (slot : int) : void

Enables generating unique visitor hashes. They are stored in custom variable with slot marked with given number.

Parameters

slot

Number of slot where is unique IDs stored. Value must be from 1 to 5.

Return value

Nothing

Example

Every visitor will be marked with unique ID stored in custom var slot 5.

<script type="text/javascript">
    _gas.setUniqueUserCustomVarSlot(5);
    _gas.push(['_setDomainName', 'ga-script.org']);
    _gas.create('UA-27938322-1', 't1');
</script>