UNPKG

measurement-framework

Version:

Collection of Javascript code to implement a browser based measurement system for websites. It uses a cookie to store a users action on a webpage and let you map thoose actions to a particular state in the user journey.

9 lines (7 loc) 240 B
import customTask from "./customTask" const clientIdSetter = function (clientIdDimension) { customTask(function (model) { model.set("dimension" + clientIdDimension, model.get("clientId")) }) } export default clientIdSetter