{"id":21040,"date":"2026-10-20T02:29:24","date_gmt":"2026-10-20T02:29:24","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=21040"},"modified":"2026-10-20T03:44:35","modified_gmt":"2026-10-20T03:44:35","slug":"hostinger-ai-builder-how-to-connect-google-analytics-and-meta-pixel-to-an-agentic-mode-store","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/hostinger-ai-builder-how-to-connect-google-analytics-and-meta-pixel-to-an-agentic-mode-store\/","title":{"rendered":"Hostinger AI Builder: How to connect Google Analytics and Meta Pixel to an agentic mode store"},"content":{"rendered":"<p>Connect Google Analytics 4 (GA4) and Meta Pixel to a <a data-click-id=\"hgr-post-content-link-hostinger-ai-builder\" href=\"https:\/\/www.hostinger.com\/ai-builder\">Hostinger AI Builder<\/a> agentic mode store by entering your tracking IDs in Store Manager &rarr; Integrations. Hostinger AI Builder then loads the tags on your published store and reports store events automatically, from product views to purchases. Tracking depends on visitor consent, so every store needs a cookie banner. Stores created before this feature need a short update first.<\/p><h3><b>Before you start<\/b><\/h3><ul>\n<li>These steps apply to online stores built with Hostinger AI Builder agentic mode. For manual mode, see <a data-click-id=\"hgr-post-content-link-how-to-connect-google-analytics-in-manual-mode\" href=\"https:\/\/www.hostinger.com\/support\/6448915-hostinger-ai-builder-manual-mode-how-to-connect-google-analytics\/\">How to connect Google Analytics in manual mode<\/a> and <a data-click-id=\"hgr-post-content-link-how-to-connect-meta-pixel-in-manual-mode\" href=\"https:\/\/www.hostinger.com\/support\/6462952-hostinger-ai-builder-manual-mode-how-to-connect-meta-pixel\/\">How to connect Meta Pixel in manual mode<\/a>.<\/li>\n<li>Have your GA4 Measurement ID (<code>G-XXXXXXX<\/code>), your Meta Pixel ID, or both ready.<\/li>\n<\/ul><h2 id=\"h-connect-google-analytics-and-meta-pixel-to-an-agentic-mode-store\">Connect Google Analytics and Meta Pixel to an agentic mode store<\/h2><p>Add Google Analytics and Meta Pixel to an agentic mode store from the <b>Integrations<\/b> page of the <a data-click-id=\"hgr-post-content-link-store-manager\" href=\"https:\/\/www.hostinger.com\/support\/hostinger-ecommerce-how-to-navigate-the-store-manager\/\">Store Manager<\/a>, without code.<\/p><ol>\n<li>In the Store Manager, go to <b>Integrations<\/b>.<\/li>\n<li>Under <b>Your integrations<\/b>, click <b>Manage<\/b> next to <b>Google Analytics<\/b> or <b>Meta Pixel<\/b>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-21041\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24.png\" alt=\"\" width=\"1687\" height=\"704\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24.png 1687w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24-300x125.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24-1024x427.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24-768x320.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24-1536x641.png 1536w\" sizes=\"(max-width: 1687px) 100vw, 1687px\" \/><\/li>\n<li>Enter your Measurement ID in the <b>Google Analytics ID<\/b> field.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-21042\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_1.png\" alt=\"\" width=\"1108\" height=\"331\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_1.png 1108w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_1-300x90.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_1-1024x306.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_1-768x229.png 768w\" sizes=\"(max-width: 1108px) 100vw, 1108px\" \/><br>\nOr enter your Meta Pixel ID in the <b>Meta Pixel ID<\/b> field.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-21043\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_2.png\" alt=\"\" width=\"1082\" height=\"313\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_2.png 1082w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_2-300x87.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_2-1024x296.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_2-768x222.png 768w\" sizes=\"(max-width: 1082px) 100vw, 1082px\" \/><\/li>\n<\/ol><p>Hostinger AI Builder loads the tags on your published store and sends store events without extra setup.<\/p><h2 id=\"h-store-events-tracked-in-agentic-mode-stores\">Store events tracked in agentic mode stores<\/h2><p>Agentic mode stores send store events to Google Analytics automatically, in three groups:<\/p><ul>\n<li>Storefront events: <code>view_item<\/code>, <code>select_item<\/code>, <code>add_to_cart<\/code>, <code>remove_from_cart<\/code>, and <code>view_cart<\/code>.<\/li>\n<li>Checkout events: one event for each checkout step.<\/li>\n<li>Purchase events: <code>purchase<\/code>, sent when the buyer returns from checkout.<\/li>\n<\/ul><p>Meta Pixel receives Meta standard events, including <b>PageView<\/b>, <b>InitiateCheckout<\/b>, <b>AddShippingInfo<\/b>, <b>AddPaymentInfo<\/b>, and <b>Purchase<\/b>.<\/p><h2 id=\"h-cookie-consent-for-google-analytics-and-meta-pixel-in-agentic-mode-stores\">Cookie consent for Google Analytics and Meta Pixel in agentic mode stores<\/h2><p>Google Analytics and Meta Pixel only collect full tracking data after the visitor accepts cookies on your store&rsquo;s cookie banner.<\/p><ul>\n<li>Google Analytics runs in Google Consent Mode v2 (advanced mode). The tag is on every page, but it sets no cookies until the visitor accepts analytics cookies.<\/li>\n<li>Meta Pixel loads only after the visitor accepts marketing cookies.<\/li>\n<li>The cookie banner covers three categories: Analytics, Marketing, and Platform analytics.<\/li>\n<\/ul><p>The Hostinger AI Builder agent writes a cookie banner for each store, in the store&rsquo;s language and design.<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #feedaf80;border-color: #fbc91633\">\n<p>Without a cookie banner, visitors can&rsquo;t accept cookies. Google Analytics then receives only cookieless pings, which don&rsquo;t appear in Realtime or reports.<\/p>\n<\/div><h2 id=\"h-enable-tracking-on-older-agentic-mode-stores\">Enable tracking on older agentic mode stores<\/h2><p>Agentic mode stores created before Google Analytics and Meta Pixel integrations were available need a cookie banner and store events before tracking works.<\/p><ol>\n<li>Open the store in the Hostinger AI Builder editor. Opening the store updates its template.<\/li>\n<li>Ask the agent to add a cookie banner and the store events.<\/li>\n<li><a data-click-id=\"hgr-post-content-link-publish\" href=\"https:\/\/www.hostinger.com\/support\/10506149-hostinger-ai-builder-agentic-mode-how-to-publish-your-app\/\">Publish<\/a> the store again.<\/li>\n<\/ol><p><b>NOTES<\/b><\/p><ul>\n<li>Stores built in Hostinger AI Builder manual mode keep using the <a data-click-id=\"hgr-post-content-link-integrations-settings\" href=\"https:\/\/www.hostinger.com\/support\/6463270-hostinger-ai-builder-manual-mode-how-to-add-integrations\/\">integrations settings<\/a> in the manual mode editor.<\/li>\n<li>Standalone stores with only a manual sales channel don&rsquo;t show these integrations.<\/li>\n<\/ul><p>Your agentic mode store now sends visits, cart activity, checkouts, and purchases to Google Analytics and Meta Pixel once visitors accept cookies.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Track visits, carts, checkouts, and purchases on Hostinger AI Builder agentic mode online stores.<\/p>\n","protected":false},"author":594,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[293],"tags":[],"class_list":["post-21040","post","type-post","status-publish","format-standard","hentry","category-ai-builder"],"hreflangs":[],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/21040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/594"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=21040"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/21040\/revisions"}],"predecessor-version":[{"id":21059,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/21040\/revisions\/21059"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=21040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=21040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=21040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}