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.

18 lines (14 loc) 453 B
import forEach from "lodash-es/forEach" const whiteListParams = function () { let window_location_search_whitelisted = [] forEach(window.location.search, function () { }) let query_params = window_location_search_whitelisted /* let new_document_location = window.location + build_query_string(query_params); dataLayerPush({ "document_location":new_document_location }); */ } export default whiteListParams