Untitled

mail@pastecode.io avatar
unknown
plain_text
16 days ago
718 B
5
Indexable
Never
<!-- Criteo Basket / Cart Tag -->

<script type="text/javascript">

window.criteo_q = window.criteo_q || [];

var deviceType = /iPad/.test(navigator.userAgent) ? "t" : /Mobile|iP(hone|od)|And

roid|BlackBerry|IEMobile|Silk/.test(navigator.userAgent) ? "m" : "d";

window.criteo_q.push(

{ event: "setAccount", account: YOUR_PARTNER_ID},

{ event: "setEmail", email: "##Email Address of User##" },

{ event: "setEmail", email: "##SHA256-hashed Email Address of User##", hash_method: "sha256" },

{ event: "setEmail", email: "##MD5-hashed Email Address of User##", hash_method: "md5" },

{ event: "setSiteType", type: deviceType},

{ event: "viewBasket", item: [

{id: "1", price: "1", quantity: "1" }

]}

);

</script>
Leave a Comment