Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var date = new Date(); //current date to create the cookie
- var expires; //expire date of the cookie
- var value; //cookie's value
- var url = {{Page URL}}; //current page URL
- date.setTime(date.getTime() + (7 * 24 * 60 * 60 * 1000));
- expires = date.toUTCString();
- value = url.search("utm_source=criteo") != -
- 1 ? "criteo" : "other";
- document.cookie = "__utmz=" + value + "; expires=" +
- expires + "; domain=.wehkamp.nl; path=/";
- </script>
Advertisement
Add Comment
Please, Sign In to add comment