Exkluzivní komentáře a kauzy
Rozhovory s lidmi, co mají co říct
Nekorektní vtipy kreslířů ReflexuPředplatit za 1 Kč');
// handle order button
var orderButton = document.querySelector('.subscriptionpopup__order');
orderButton.addEventListener('click', function(e) {
e.preventDefault();
dataLayer.push({"event":"premium.offer.clicked"});
document.location = e.currentTarget.href;
});
// handle GTM function
function gtm_show_subscription_offer( state ) {
if (state == "show") {
setPremiumCookie('premiumPopupShown', true, 14);
premiumModal.open();
}
else if (state == "decline") {
premiumModal.close();
}
else if (state == "accept") {
orderButton.click();
}
}
Sezóna stavebnictví je tu: Co si z ní vzít pro další sektory a na co využít Rogera?
Prezentace klienta
22. července 2021 • 00:00