Etichette Zebra 57x102mm bianche 1432PZ 880156-101 termiche compatibile con Zebra ZT230,ZT411,ZM400,S4M Z-2000D 2.2x4x3 Core
Label Compatible for Stampante di etichette:
var pp_price_precision = 2;
var event_time = 1765715993;
var local_time = new Date().getTime();
var consentStatus = false;
/* TODO Implement the generation on each event */
function generateEventId(eventName, round) {
//return window.event_id_gen;
round = (typeof round !== ‘undefined’) ? round : 10;
return ‘200203’ + ‘.’ + eventName + ‘.’ + generateEventTime(round);
}
function getRandomString(length) {
var randomChars = ‘ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789’;
var result = ”;
for (var i = 0; i < length; i++) {
result += randomChars.charAt(Math.floor(Math.random() * randomChars.length));
}
return result;
}
function generateEventTime(round) {
return Math.floor(((new Date().getTime() - local_time) / 1000 + event_time) / round) * round;
}
facebookpixelinit(20);
function facebookpixelinit(tries) {
if (typeof fbq == 'undefined') {
!function(f,b,e,v,n,t,s){if (f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if (!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '', {"external_id":"e30e580a4c2916bcff30ca047f2d6a494168ceaf8fb9171037a773a9f8e7268e","client_ip_address":"2.32.48.66","client_user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15"});
/* Code to avoid multiple pixels call */
/* Used to make it compatible with onepagecheckout */
if (typeof window.fbq_pageview == 'undefined') {
console.log('Header initialized');
fbq('track', 'PageView');
window.fbq_pageview = 1;
}
} else if (typeof fbq == 'function' && typeof window.fbq_pageview == 'undefined') {
fbq('init', '',{"external_id":"e30e580a4c2916bcff30ca047f2d6a494168ceaf8fb9171037a773a9f8e7268e","client_ip_address":"2.32.48.66","client_user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15"});
fbq('track', 'PageView');
} else {
if (tries > 0) {
setTimeout(function() { facebookpixelinit(tries – 1); }, 200);
} else {
console.log(‘Failed to load the Facebook Pixel’);
}
}
}
document.addEventListener(‘DOMContentLoaded’, function() {
$(document).on(‘click mousedown’, ”, function() {
setTimeout(function() {
if (!consentStatus) {
jQuery.ajax({
url: ‘https://b2b.puntorigenera.com/module/facebookconversiontrackingplus/AjaxConversion’,
type: ‘POST’,
cache: false,
data: {
cookieConsent: true,
token : ‘751e1ffdcfa9d219698beb73d1897162’,
}
})
.done(function(data) {
consentStatus = true;
if (data.return == ‘ok’) {
fbq(‘consent’, ‘grant’);
console.log(‘Pixel consent granted’);
} else {
console.log(‘Pixel consent not granted’);
}
})
.fail(function(jqXHR, textStatus, errorThrown) {
console.log(‘Pixel Plus: Cookie consent could not be validated’);
});
}
}, 1500);
});
});

