curl -X POST https://api.pinterest.com/v5/ad_accounts/{ad_account_id}/events --header 'Authorization: Bearer ' window.onload = function() { console.log("Age verification popup triggered."); var isOver21 = window.confirm("Please confirm you are 21 years or older to access this site."); if (!isOver21) { window.location.href = "https://www.cornerbrothas.com/"; // Redirect if under 21 } }; function executeCaptcha() { console.log("Executing reCAPTCHA."); grecaptcha.ready(function() { grecaptcha.execute('6LfbNtspAAAAALHWMmw3SELRJ70oi9Bt_H09JNcD', { action: 'homepage' }) .then(function(token) { console.log("reCAPTCHA token:", token); // Handle the token (e.g., send it to your server for verification) }); }); }