You can use two methods to share information from your system or back office with AB Tasty:
_abtasty.push(["eco","key", "value"]);to record e-commerce variables. This is the equivalent of Google Analytics’ variables that are customized at the session level.
_abtasty.push(["cv","key", "value"]);to record customized variables. This is the equivalent of Google Analytics’ variables that are customized at the visitor level.
These methods allow us to record variables which will then be used to filter report data and/or target future tests.
To learn more about the use of e-commerce variables, read this article:
To learn more about the use of customizable variables, read this article:
Though the method for calling these functions seems similar, these two variables are fundamentally different in one important way:
- E-commerce variables are only passed on to the report for the test during which they were recorded. So you can only filter test results on variables recorded during the test.
- Customizable variables are passed on for all the tests the user saw, regardless of the session. So you can filter results of all the tests based on these variables.
In both cases, you can target your future tests based on the content of these variables.