/* CookieConsent v2.8.1 https://www.github.com/orestbida/cookieconsent Author Orest Bida Released under the MIT License */ (function(){var jb=function(bb){var e={mode:"opt-in",current_lang:"en",auto_language:null,autorun:!0,page_scripts:!0,hide_from_bots:!0,cookie_name:"cc_cookie",cookie_expiration:182,cookie_domain:window.location.hostname,cookie_path:"/",cookie_same_site:"Lax",use_rfc_cookie:!1,autoclear_cookies:!0,revision:0,script_selector:"data-cookiecategory"},m={},g,t={},B=null,X,Y,na,S=!0,N=!1,oa=!1,Ea=!1,pa=!1,v,Z,T,qa,Fa,Ga,Ha=!1,ya=!0,U=[],za=!1,Ia,Ja=[],Ta=[],Ka=[],Ua=!1,ra,La,Ma=[],ja=[],O=[],G=[],Aa=[], sa=document.documentElement,P,ta,x,aa,ua,V,Q,R,ba,E,J,va,ka,la,y,ca,da,ea,fa,Va=function(a){function b(n){return(a||document).querySelectorAll('a[data-cc="'+n+'"], button[data-cc="'+n+'"]')}function c(n,q){n.preventDefault();m.accept(q);m.hideSettings();m.hide()}for(var d=b("c-settings"),f=b("accept-all"),l=b("accept-necessary"),p=b("accept-custom"),k=0;k
\x3c!--\x3e
\x3c!-->a/4).toString(16)})},gb=function(a,b){return"browser"===e.auto_language?(b=navigator.language||navigator.browserLanguage, 2 { dataLayer.push({ [event]: value }); }; // upon selection const handleDataLayerSelection = (choices) => { const valuesMapped = { necessary: 'ph_necessary_consent', analytics: 'ph_analytics_consent', advertising: 'ph_advertising_consent', }; const mappedKeys = Object.keys(valuesMapped); const trueChoices = choices.filter((choice) => { if (choice === undefined) { return false; } return mappedKeys.includes(choice); }); const falseChoices = mappedKeys.filter((choice) => { if (choices.includes(choice)) { return false; } return true; }); // map through all chosen choices, trueChoices.forEach((choice) => { pushEventValueToDataLayer(valuesMapped[choice], true); }); // map through all unchosen options falseChoices.forEach((choice) => { pushEventValueToDataLayer(valuesMapped[choice], false); }); }; pushEventValueToDataLayer(loadedTagName, true); // run plugin with your configuration cookieConsent.run({ current_lang: 'en', cookie_expiration: 365, // 1 year cookie_path: '/', autoclear_cookies: true, page_scripts: true, layout: 'cloud', onFirstAction: function (user_preferences, cookie) {}, onAccept: function (cookie) { handleDataLayerSelection(cookie.categories); }, onChange: function (cookie, changed_categories) { handleDataLayerSelection(cookie.categories); }, languages: { en: { consent_modal: { title: 'Pitchero Uses Cookies', description: 'We use cookies to give you the best online experience. You can review & change your preferences ', primary_btn: { text: 'Accept all', role: 'accept_all', // 'accept_selected' or 'accept_all' }, secondary_btn: { text: 'Reject all', role: 'accept_necessary', // 'settings' or 'accept_necessary' }, }, settings_modal: { title: 'Cookie preferences', save_settings_btn: 'Save settings', accept_all_btn: 'Accept all', reject_all_btn: 'Reject all', close_btn_label: 'Close', cookie_table_headers: [ { col1: 'Name' }, { col2: 'Domain' }, { col3: 'Expiration' }, { col4: 'Description' }, ], blocks: [ { title: 'Manage Your Privacy', description: 'To provide the best experience, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behaviour or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions. Click below to consent to the above or make granular choices, including exercising your right to object to companies processing personal data based on legitimate interest instead of consent. You can update your choices at any time by clicking “Manage Consents” in the footer.

You can review our Privacy Policy here.

', }, { title: 'Strictly necessary cookies', description: 'These cookies are necessary for the website to function and do not store personally identifiable information. They are usually set in response to user actions to enable key features like setting and maintaining logins or privacy preferences. These cookies typically can’t be switched off, however, certain browsers can block or alert you about these cookies. Be aware that blocking these cookies will affect site functionality.', toggle: { value: 'necessary', enabled: true, readonly: true, // cookie categories with readonly=true are all treated as "necessary cookies" }, }, { title: 'Analytics & measurement', description: 'These cookies collect anonymous, aggregated data and enable us to identify our most popular pages and content to improve our side and the xperience we offer to you. Disallowing these cookies negatively affects our ability to improve our products and services.

Providers: Google Analytics, Hotjar, HubSpot Analytics, Mixpanel

', toggle: { value: 'analytics', // your cookie category enabled: true, readonly: false, }, }, { title: 'Advertising and retargeting', description: 'These cookies are used to track signup conversations and other activity as part of our marketing and advertising funnels. We use them to track the effectiveness of our marketing campaigns and to show you relevant Pitchero advertising on external platforms such as Facebook.

Providers: Bing Ads, Facebook, Google Adwords, HubSpot

', toggle: { value: 'advertising', // your cookie category enabled: true, readonly: false, }, }, { title: 'More information', description: `For any queries in relation to our cookie policy, please click here.`, }, ], }, }, }, }); } initConsentPrompt();