Aggiunge la garanzia Soddisfatti o rimborsati di 30 giorni su prezzi, homepage e Termini.
Riduce il rischio percepito all'acquisto (Light e Full) e chiama l'archivio replay in modo orientato all'utente, senza cambiare prezzi o logica dei piani. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -283,6 +283,27 @@
|
||||
});
|
||||
}
|
||||
|
||||
function trackNamedEvent(name) {
|
||||
if (!name) return;
|
||||
if (typeof window.gtag === "function") {
|
||||
window.gtag("event", name, { event_category: "engagement" });
|
||||
}
|
||||
}
|
||||
|
||||
function onNamedEventClick(event) {
|
||||
var target = event.target;
|
||||
if (!(target instanceof Element)) return;
|
||||
var el = target.closest("[data-mltv-event-click]");
|
||||
if (!el) return;
|
||||
trackNamedEvent(el.getAttribute("data-mltv-event-click"));
|
||||
}
|
||||
|
||||
function onDetailsToggle(event) {
|
||||
var el = event.target;
|
||||
if (!(el instanceof HTMLDetailsElement) || !el.open) return;
|
||||
trackNamedEvent(el.getAttribute("data-mltv-event"));
|
||||
}
|
||||
|
||||
function start() {
|
||||
if (started) return;
|
||||
if (excludedPath(location.pathname)) return;
|
||||
@@ -310,6 +331,9 @@
|
||||
|
||||
window.mltvSiteAnalyticsStart = start;
|
||||
|
||||
document.addEventListener("click", onNamedEventClick, true);
|
||||
document.addEventListener("toggle", onDetailsToggle, true);
|
||||
|
||||
if (document.readyState === "loading") {
|
||||
document.addEventListener("DOMContentLoaded", start);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user