google-analytics Sampling Sample Rate


ga('create', 'UA-XXXX-Y', {'sampleRate': 5});

Optional. This may only be set in the create method.

Specifies what percentage of users should be tracked. This defaults to 100 (no users are sampled out) but large sites may need to use a lower sample rate to stay within Google Analytics processing limits.