{"id":3401,"date":"2025-04-08T02:39:41","date_gmt":"2025-04-08T02:39:41","guid":{"rendered":"https:\/\/gaconnector.com\/docs\/?p=3401"},"modified":"2026-06-03T16:38:51","modified_gmt":"2026-06-03T16:38:51","slug":"setting-up-gaconnector-with-consent-banners","status":"publish","type":"post","link":"https:\/\/gaconnector.com\/docs\/setting-up-gaconnector-with-consent-banners\/","title":{"rendered":"Setting up GA Connector with Consent Banners"},"content":{"rendered":"<p>GA Connector generally use cookies to store the tracking data from your web visitors and send them over to your CRM once they become leads. In order to become compliant with data privacy regulations such as GDPR, you need to ask consent from your website visitors before placing the cookies that will contain their tracking data.<\/p>\n<p>Various CMPs (Consent Management Platform) that can help you manage and document user consent for you and with some set up, GA Connector should be able work with all of them.<\/p>\n<p>Whether you use a Consent Management Platform or have your own custom software to manage your consent banner, you need to make sure the following conditions are met for GA Connector to work properly.<\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">GA Connector script must be placed on all your pages and should be below your Consent banner script.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The GA Connector script must be loaded only when cookie consent has been accepted.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Referrer must be available when the GA Connector script is loaded so it\u2019s recommended to turn off any setting that would cause the website to redirect or reload upon initial consent approval<\/span><\/li>\n<\/ol>\n<h2>Setting up GA Connector with CookieYes<\/h2>\n<p>We\u2019ve put together a dedicated guide for CookieYes that walks you through the entire setup, including ready-made scripts for both the Cookie-Based and API-Based integrations and how to categorize the GA Connector cookies.<\/p>\n<div class=\"gac-callout gac-note\">\n<p><span class=\"gac-label\">CookieYes guide<\/span><\/p>\n<p>Follow our step-by-step article here: <a href=\"\/docs\/integrating-ga-connector-with-cookieyes-consent-banner\/\"><strong>Integrating GA Connector with CookieYes<\/strong><\/a>.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>GA Connector generally use cookies to store the tracking data from your web visitors and send them over to your CRM once they become leads. In order to become compliant with data privacy regulations such as GDPR, you need to ask consent from your website visitors before placing the cookies that will contain their tracking [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,16],"tags":[],"_links":{"self":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/3401"}],"collection":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/comments?post=3401"}],"version-history":[{"count":6,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/3401\/revisions"}],"predecessor-version":[{"id":3834,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/3401\/revisions\/3834"}],"wp:attachment":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/media?parent=3401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/categories?post=3401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/tags?post=3401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}