Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
erinecon authored Nov 12, 2023
1 parent db402e6 commit bc63a9e
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,34 +205,7 @@
}
}

document.addEventListener('DOMContentLoaded', function () {
setCountryCode('https://location.nicepagesrv.com/country');
setUserIdCookie();
updatePageViewCounter();

if (typeof gtag === 'function' && typeof canSendViewConversion === 'function' && window.isAuthenticated && canSendViewConversion()) {
if (sha256Email) {
gtag('set', 'user_data', { 'sha256_email_address': sha256Email });
}
//Event snippet for 2 Page View conversion page
gtag('event', 'conversion', { 'send_to': 'AW-797221335/GbWrCJ6Ht5wYENfDkvwC', 'transaction_id': clientUserId });

setAdsPageViewCookie();
}

var referrer = '';
var pageType = 'Template Page Preview';
sendAnalyticsFromUrl(referrer, pageType);

if (location.href.indexOf('/frame/') === -1) {
PureCookie.initCookieConsent({
description: 'By using this website, you automatically accept that we use cookies. Learn more about our ',
link: '<a href="https://nicepage.com/Privacy" target="_blank"> privacy and cookies policy</a>.',
buttonCaption: "Accept",
opacity: 0.88,
});
}
});

</script>

<!--
Expand Down

0 comments on commit bc63a9e

Please sign in to comment.