Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- function getCookie(cname) {
- var name = cname + "=";
- var ca = document.cookie.split(';');
- for(var i = 0; i <ca.length; i++) {
- var c = ca[i];
- while (c.charAt(0)==' ') {
- c = c.substring(1);
- }
- if (c.indexOf(name) == 0) {
- return c.substring(name.length,c.length);
- }
- }
- return "";
- }
- window._ssstats = window._ssstats || [];
- _ssstats.push([
- 'configure', {
- accountId: 497517
- }
- ]);
- _ssstats.push([ 'publish', 'order success', {
- Items: getCookie('cartArray'),
- orderId: $('.os-order-number').text().trim().split('#')[1],
- monetaryValue: getCookie('cartSubtotal')
- }
- ]); _ssstats.push([ 'publish', 'order success', {
- Items: getCookie('cartArray'),
- subtotal: getCookie('cartSubtotal')
- }
- ]);
- </script>
- <script src="//cdn.statstrk01.com/assets/javascripts/sdk2.js" async></script>
Advertisement
Add Comment
Please, Sign In to add comment