Advertisement
Guest User

Tag criteo

a guest
Sep 16th, 2014
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!--  Basket page tag ---->
  2. <script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script>
  3. <script type="text/javascript">
  4. window.criteo_q = window.criteo_q || [];
  5. window.criteo_q.push(  
  6.         { event: "setAccount", account: 7685 },
  7.         { event: "setHashedEmail", email: ["#Hashed email address#"] },
  8.         { event: "setSiteType", type: "#m for mobile or t for tablet or d for desktop#" },
  9.         { event: "viewBasket", item: [
  10.               { id: "#First item id#", price: #First item unit price#, quantity: #First item quantity# },
  11.               { id: "#Second item id#", price: #Second item unit price#, quantity: #Second item quantity# }
  12.               /* #add a line for each item in the user's cart# */
  13. ]});
  14. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement