Problem cookie popup marker
-
Hi,
I Still Have Problems for the popup of this tickethttps://www.ads-software.com/support/topic/popup-is-optivated-even-without-the-casent-of-cookies/
My Last Answer After Closing
I tried to send the form from your site but do not send
I did some tests, I inserted the ID 1409 in the code below, the site did not work
I copied the code in the Functions.php file of Thema Child
<? PHP // Ignore This First Line When Copying to Your Child Theme’s Functions.php File.
Function launch_a_popup_IF_COOKIE_CONSENT_ACCEPTED () {?>
<Script Type = “Text/Javascript”>Const Popupid = 1409; // Change to Your Popup ID Number.
// Here, We Use The Compliazian Plugin Accept Button Css Classes. Replace with Yours.
Document.queryselettor (‘Button.cmplz-Btn.cmplz-accept’). Aidentlisthener (‘Click’, Function (Event) {
Console.info (‘%Ci Heard a Button Click for Accepting The Cookie Notice.’, ‘Color: Limegreen; Font-Size: 18px’);
Settimeout (Function () {
Pum.open (Popupid); // Launch the Popup After in Delay.
}, 2000); // Change the 2 Second Delay to the Amount You Want.
}, false); // listener</script>
<? Php}
Add_ottion (‘WP_Footer’, ‘Launch_a_popup_IF_COOKIE_CONSENT_ACCEPTED’, 500);Thanks
- The topic ‘Problem cookie popup marker’ is closed to new replies.