Library to get UTM params from url and cookies
npm install --save @norvikit/utm-aska
yarn add @norvikit/utm-aska
<html>
<head>
<script src="dist/utm-aska.min.js"></script>
</head>
<body>
<div id="app" />
<script>
const utmParams = utmAska.getUtmParams()
console.log(utmParams)
</script>
</body>
</html>
import { getUtmParams } from "@norvikit/utm-aska"
const utmParams = getUtmParams()
console.log(utmParams)
const utmAska = require("utm-aska");
utmAska.getUtmParams();
// or
const { getUtmParams } = require("utm-aska");
getUtmParams();
Get utm tags from current page url or cookies
Get utm tags from current page url
Get utm tags from cookies
Get value of single cookie record by name