{"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-11-04T01:24:08","modified_gmt":"2026-11-04T01:24:08","slug":"hostinger-ecommerce-how-to-connect-google-analytics-and-meta-pixel-to-an-agentic-mode-store","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/hostinger-ecommerce-how-to-connect-google-analytics-and-meta-pixel-to-an-agentic-mode-store\/","title":{"rendered":"Hostinger Ecommerce: How to connect Google Analytics and Meta Pixel"},"content":{"rendered":"<p>Connect Google Analytics 4 (GA4) and Meta Pixel to your Hostinger Ecommerce store by entering a tracking ID for each sales channel in Store Manager \u2192 Integrations. Hostinger Ecommerce then loads the tags on your published Quick link store, Custom sales channel, and <a data-click-id=\"hgr-post-content-link-hostinger-ai-builder\" href=\"\/ai-builder\">Hostinger AI Builder<\/a> websites, and reports store events automatically, from product views to purchases. Tracking depends on visitor consent, so every store needs a cookie banner. Hostinger AI Builder agentic mode stores created before this feature need a short update first.<\/p>\n<h3>Before you start<\/h3>\n<ul>\n<li>These steps apply to Hostinger Ecommerce Quick link stores, Custom sales channels, and Hostinger AI Builder websites. WordPress websites aren&#8217;t listed on the <b>Integrations<\/b> page. For the manual mode editor settings, see <a data-click-id=\"hgr-post-content-link-how-to-connect-google-analytics-in-manual-mode\" href=\"\/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=\"\/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>\n<h2 id=\"h-connect-google-analytics-and-meta-pixel-to-a-hostinger-ecommerce-store\">Connect Google Analytics and Meta Pixel to a Hostinger Ecommerce store<\/h2>\n<p>Add Google Analytics and Meta Pixel to your store from the <b>Integrations<\/b> page of the <a data-click-id=\"hgr-post-content-link-store-manager\" href=\"\/support\/hostinger-ecommerce-how-to-navigate-the-store-manager\/\">Store Manager<\/a>, without code. Each sales channel has its own ID field, and sales channels without an ID aren&#8217;t tracked.<\/p>\n<ol>\n<li>In the Store Manager, go to <b>Integrations<\/b>.<\/li>\n<li>Under <b>More to add<\/b>, click <b>Get started<\/b> next to <b>Google Analytics<\/b> or <b>Meta Pixel<\/b>. If the integration is already added, click <b>Manage<\/b> next to it under <b>Your integrations<\/b>.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-21041\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24.png\/public\" alt=\"\" width=\"1687\" height=\"704\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24.png\/w=1687,fit=scale-down 1687w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24.png\/w=1536,fit=scale-down 1536w\" sizes=\"(max-width: 1687px) 100vw, 1687px\" \/><\/li>\n<li>Enter your Measurement ID in the <b>Google Analytics ID<\/b> field next to each sales channel you want to track.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-21042\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_1.png\/public\" alt=\"\" width=\"1108\" height=\"331\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_1.png\/w=1108,fit=scale-down 1108w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_1.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1108px) 100vw, 1108px\" \/><br \/>\nOr enter your Meta Pixel ID in the <b>Insert Meta Pixel ID<\/b> field next to each sales channel.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-21043\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_2.png\/public\" alt=\"\" width=\"1082\" height=\"313\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_2.png\/w=1082,fit=scale-down 1082w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_2.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_2.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-20_09-24_2.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1082px) 100vw, 1082px\" \/><\/li>\n<li>Click <b>Save<\/b>.<\/li>\n<\/ol>\n<p>Hostinger Ecommerce loads the tags on your published store and sends store events without extra setup. For Hostinger AI Builder websites, changes apply after you publish your site. To check your Meta Pixel data, click <b>Meta Events Manager<\/b> at the top of the Meta Pixel page.<\/p>\n<h2 id=\"h-store-events-tracked-by-google-analytics-and-meta-pixel-in-hostinger-ecommerce\">Store events tracked by Google Analytics and Meta Pixel in Hostinger Ecommerce<\/h2>\n<p>Hostinger Ecommerce sends store events to Google Analytics and Meta Pixel automatically once a tracking ID is saved. The events sent depend on the store type.<\/p>\n<h3>Store events from Hostinger AI Builder agentic mode stores<\/h3>\n<p>Hostinger AI Builder agentic mode stores send store events to Google Analytics automatically, in three groups:<\/p>\n<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>\n<p>Meta Pixel receives Meta standard events from agentic mode stores, including <b>PageView<\/b>, <b>InitiateCheckout<\/b>, <b>AddShippingInfo<\/b>, <b>AddPaymentInfo<\/b>, and <b>Purchase<\/b>.<\/p>\n<h3>Store events from Hostinger Ecommerce Quick link stores<\/h3>\n<p>Quick link stores send these events to Google Analytics 4:<\/p>\n<ul>\n<li>Storefront events: <code>page_view<\/code>, <code>view_item<\/code>, and <code>add_to_cart<\/code>.<\/li>\n<li>Checkout events: <code>begin_checkout<\/code>, <code>add_shipping_info<\/code>, and <code>add_payment_info<\/code>.<\/li>\n<\/ul>\n<h2 id=\"h-cookie-consent-for-google-analytics-and-meta-pixel-in-hostinger-ecommerce-stores\">Cookie consent for Google Analytics and Meta Pixel in Hostinger Ecommerce stores<\/h2>\n<p>Google Analytics and Meta Pixel only collect full tracking data after the visitor accepts cookies on your store&#8217;s cookie banner. Manage tracking consent with Hostinger&#8217;s cookie banner or a third-party consent management tool.<\/p>\n<ul>\n<li>Google Analytics runs in Google Consent Mode v2 (advanced mode) in agentic mode stores. 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>\n<p>Quick link stores show a cookie banner automatically on a visitor&#8217;s first visit. For Hostinger AI Builder agentic mode stores, the agent writes a cookie banner for each store, in the store&#8217;s language and design.<\/p>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #feedaf80;border-color: #fbc91633\">\n<p>Without a cookie banner, visitors can&#8217;t accept cookies. Google Analytics then receives only cookieless pings, which don&#8217;t appear in Realtime or reports.<\/p>\n<\/div>\n<h2 id=\"h-enable-google-analytics-and-meta-pixel-tracking-on-older-hostinger-ai-builder-agentic-mode-stores\">Enable Google Analytics and Meta Pixel tracking on older Hostinger AI Builder agentic mode stores<\/h2>\n<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>\n<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=\"\/support\/10506149-hostinger-ai-builder-agentic-mode-how-to-publish-your-app\/\">Publish<\/a> the store again.<\/li>\n<\/ol>\n<p><b>NOTES<\/b><\/p>\n<ul>\n<li>Hostinger AI Builder manual mode websites can connect Google Analytics and Meta Pixel either in <strong>Store Manager \u2192 Integrations<\/strong> or in the <a data-click-id=\"hgr-post-content-link-integrations-settings\" href=\"\/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&#8217;t show these integrations.<\/li>\n<li>Google Analytics 4 and Meta Pixel both work for Quick link stores on the hostinger.store subdomain. See <a data-click-id=\"hgr-post-content-link-hostinger-ecommerce-how-to-create-and-manage-a-quick-link-st\" href=\"https:\/\/www.hostinger.com\/support\/hostinger-ecommerce-how-to-create-and-manage-a-quick-link-store\/\">Hostinger Ecommerce: How to create and manage a Quick link store<\/a> for other details about Google Analytics in Quick link stores.<\/li>\n<\/ul>\n<p>Your Hostinger Ecommerce 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>Add GA4 and Meta Pixel IDs per sales channel to track visits, carts, and purchases.<\/p>\n","protected":false},"author":594,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","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":8,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/21040\/revisions"}],"predecessor-version":[{"id":24370,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/21040\/revisions\/24370"}],"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}]}}