(function () {
var ENDPOINT = "https://app.cash4pawn.com/api/functions/trackEvent";
function getSessionId() {
try {
var sid = sessionStorage.getItem("c4p_session_id");
if (!sid) {
sid = "sess_" + Date.now() + "_" + Math.random().toString(36).slice(2, 10);
sessionStorage.setItem("c4p_session_id", sid);
}
return sid;
} catch (e) {
return "sess_" + Date.now();
}
}
function getDeviceType() {
var ua = navigator.userAgent;
if (/tablet|ipad/i.test(ua)) return "tablet";
if (/mobi|android|iphone/i.test(ua)) return "mobile";
return "desktop";
}
function trackPageView() {
var event = {
event_type: "page_view",
source: "wix",
page_url: window.location.href,
page_path: window.location.pathname,
page_title: document.title,
session_id: getSessionId(),
referrer: document.referrer,
user_agent: navigator.userAgent,
device_type: getDeviceType(),
};
fetch(ENDPOINT, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ events: [event] }),
mode: "cors",
}).catch(function () {});
}
if (document.readyState === "complete") {
trackPageView();
} else {
window.addEventListener("load", trackPageView);
}
var lastPath = window.location.pathname;
setInterval(function () {
if (window.location.pathname !== lastPath) {
lastPath = window.location.pathname;
trackPageView();
}
}, 1000);
})();
top of page
Sistema de irrigación bucal compacto Interplak, inalámbrico, funciona con pilas. De Conair. NUEVO EN CAJA SELLADA Sistema de irrigación bucal compacto Interplak, inalámbrico, funciona con pilas. De Conair. Seguro y eficaz para todo tipo de tratamientos dentales. Limpia donde el cepillado no llega. bottom of page