Skip to content

Track cohort in _setCustomVar at Visitor level scope #3

@kingo55

Description

@kingo55

Typically, most experimentation platforms will look at unique visitors and unique conversions. This is important because people may be influenced by a particular change in any one of their visit sessions to the site.

Basically, we need to update the storage adapter to capture this data:

_gaq.push(['_setCustomVar',{slot},{name},{value},{scope}],['_trackEvent'...]);

I suggest we allow for setting the {scope} and setting the {slot}. The name and the value can be pre-filled using the test parameters. Note it must be called before _trackEvent().

Full instructions are here: https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions