{"id":25048,"date":"2026-11-10T09:37:12","date_gmt":"2026-11-10T09:37:12","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=25048"},"modified":"2026-11-10T09:37:12","modified_gmt":"2026-11-10T09:37:12","slug":"hostinger-ai-builder-how-to-add-google-tags-google-analytics-google-tag-manager-and-meta-pixel-in-agentic-mode","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/hostinger-ai-builder-how-to-add-google-tags-google-analytics-google-tag-manager-and-meta-pixel-in-agentic-mode\/","title":{"rendered":"Hostinger AI Builder: How to add Google tags, Google Analytics, Google Tag Manager, and Meta Pixel in agentic mode"},"content":{"rendered":"<p>Add Google Analytics 4, Google Tag Manager, Meta Pixel, and Google Ads conversion tracking to your Hostinger AI Builder agentic mode website by sending your tracking ID in the chat. Hostinger AI Builder adds the tag to every page and adds a cookie notice, so tags collect data only after visitors give consent. Agentic mode has no separate integrations settings for these tools, unlike manual mode, so each tool is added with a prompt and starts tracking after you publish your website.<\/p><h3>Before you start<\/h3><ul>\n<li>These steps apply to Hostinger AI Builder agentic mode websites. 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>, <a data-click-id=\"hgr-post-content-link-how-to-connect-google-tag-manager-in-manual-mode\" href=\"https:\/\/www.hostinger.com\/support\/6463092-hostinger-ai-builder-manual-mode-how-to-connect-google-tag-manager\/\">how to connect Google Tag Manager 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>For a Hostinger Ecommerce store, you can also add Google Analytics and Meta Pixel from the Store Manager, as explained in <a data-click-id=\"hgr-post-content-link-how-to-connect-google-analytics-and-meta-pixel\" href=\"https:\/\/www.hostinger.com\/support\/hostinger-ecommerce-how-to-connect-google-analytics-and-meta-pixel-to-an-agentic-mode-store\/\">how to connect Google Analytics and Meta Pixel<\/a>.<\/li>\n<li>Have your tracking ID ready: a Google Analytics 4 Measurement ID (G-XXXXXXXXXX), a Google Tag Manager container ID (GTM-XXXXXXX), a Meta Pixel ID, or a Google Ads tag ID (AW-XXXXXXXXX) with a conversion label.<\/li>\n<li>Each request uses AI credits, as explained in <a data-click-id=\"hgr-post-content-link-ai-credits-and-top-ups-in-agentic-mode\" href=\"https:\/\/www.hostinger.com\/support\/11136677-hostinger-ai-builder-agentic-mode-ai-credits\/\">AI credits and top-ups in agentic mode<\/a>.<\/li>\n<\/ul><h2 id=\"h-add-google-analytics-4-in-hostinger-ai-builder-agentic-mode\">Add Google Analytics 4 in Hostinger AI Builder agentic mode<\/h2><p>Send your Google Analytics 4 Measurement ID in the chat, and Hostinger AI Builder adds the Google tag to the head of every page.<\/p><ol>\n<li>Copy your Measurement ID from your Google Analytics 4 property. The ID starts with G-.<\/li>\n<li>Open your project in Hostinger AI Builder and send a prompt with the ID, for example: Add Google Analytics 4 to every page of my website. My Measurement ID is G-XXXXXXXXXX. Put the Google tag in the head of each page.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-25051\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34_1.png\" alt=\"\" width=\"769\" height=\"607\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34_1.png 769w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34_1-300x237.png 300w\" sizes=\"(max-width: 769px) 100vw, 769px\" \/><\/li>\n<li><a data-click-id=\"hgr-post-content-link-publish-your-website\" href=\"https:\/\/www.hostinger.com\/support\/10506149-hostinger-ai-builder-agentic-mode-how-to-publish-your-app\/\">Publish your website<\/a> to start tracking.<\/li>\n<\/ol><h2 id=\"h-add-google-tag-manager-in-hostinger-ai-builder-agentic-mode\">Add Google Tag Manager in Hostinger AI Builder agentic mode<\/h2><p>Send your Google Tag Manager container ID in the chat, and Hostinger AI Builder adds the container code to every page. Manage your other tags, such as Google Analytics or Google Ads, from your Google Tag Manager account afterward.<\/p><ol>\n<li>Copy your container ID from your Google Tag Manager account. The ID starts with GTM-.<\/li>\n<li>Send a prompt with the ID, for example: Add Google Tag Manager to every page of my website. My container ID is GTM-XXXXXXX. Put the main script in the head and the noscript iframe right after the opening body tag.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-25052\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34_2.png\" alt=\"\" width=\"766\" height=\"554\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34_2.png 766w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34_2-300x217.png 300w\" sizes=\"(max-width: 766px) 100vw, 766px\" \/><\/li>\n<li><a data-click-id=\"hgr-post-content-link-publish-your-website-2\" href=\"https:\/\/www.hostinger.com\/support\/10506149-hostinger-ai-builder-agentic-mode-how-to-publish-your-app\/\">Publish your website<\/a> to start tracking.<\/li>\n<\/ol><h2 id=\"h-add-meta-pixel-in-hostinger-ai-builder-agentic-mode\">Add Meta Pixel in Hostinger AI Builder agentic mode<\/h2><p>Send your Meta Pixel ID in the chat, and Hostinger AI Builder adds Meta Pixel to every page and tracks page views.<\/p><ol>\n<li>Copy your Pixel ID (dataset ID) from Meta Events Manager.<\/li>\n<li>Send a prompt with the ID, for example: Add Meta Pixel to every page of my website. My Pixel ID is 123456789012345. Track PageView on every page.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-25053\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34_3.png\" alt=\"\" width=\"771\" height=\"568\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34_3.png 771w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34_3-300x221.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34_3-768x566.png 768w\" sizes=\"(max-width: 771px) 100vw, 771px\" \/><\/li>\n<li><a data-click-id=\"hgr-post-content-link-publish-your-website-3\" href=\"https:\/\/www.hostinger.com\/support\/10506149-hostinger-ai-builder-agentic-mode-how-to-publish-your-app\/\">Publish your website<\/a> to start tracking.<\/li>\n<\/ol><h2 id=\"h-add-google-ads-conversion-tracking-with-a-google-tag-in-agentic-mode\">Add Google Ads conversion tracking with a Google tag in agentic mode<\/h2><p>Send your Google Ads tag ID and conversion label in the chat, and Hostinger AI Builder loads the Google tag on every page and sends a conversion event when the action you choose happens, such as a contact form submission.<\/p><ol>\n<li>Copy your Google tag ID and conversion label from your Google Ads conversion action. The tag ID starts with AW-.<\/li>\n<li>Send a prompt with both values, for example: Add Google Ads conversion tracking to my website. My Google tag ID is AW-XXXXXXXXX and my conversion label is XXXXXXXXXXXXXXXXX. Load the Google tag on every page and send the conversion event when the contact form is submitted successfully.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-25054\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-35.png\" alt=\"\" width=\"766\" height=\"602\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-35.png 766w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-35-300x236.png 300w\" sizes=\"(max-width: 766px) 100vw, 766px\" \/><\/li>\n<li><a data-click-id=\"hgr-post-content-link-publish-your-website-4\" href=\"https:\/\/www.hostinger.com\/support\/10506149-hostinger-ai-builder-agentic-mode-how-to-publish-your-app\/\">Publish your website<\/a> to start tracking.<\/li>\n<\/ol><p>Hostinger AI Builder creates a contact form if your website doesn&rsquo;t have one. Hostinger AI Builder may also suggest connecting Hostinger Reach for email marketing. Select <strong>Not now<\/strong> to skip it.<\/p><h2 id=\"h-cookie-consent-for-tracking-tags-in-hostinger-ai-builder\">Cookie consent for tracking tags in Hostinger AI Builder<\/h2><p>Hostinger AI Builder adds a <strong>Cookies &amp; privacy<\/strong> notice when you add a tracking tag, and the tags collect data only after visitors give consent. Visitors choose from three options:<\/p><ul>\n<li><strong>Accept all<\/strong>: allows essential cookies plus optional analytics and marketing cookies, so all tracking tags collect data.<\/li>\n<li><strong>Reject optional<\/strong>: allows only the essential cookies the website needs to work, so optional tracking stays off.<\/li>\n<li><strong>Customize<\/strong>: lets visitors choose which optional cookie categories to allow.<\/li>\n<\/ul><p><img decoding=\"async\" class=\"alignnone size-full wp-image-25049\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-32.png\" alt=\"\" width=\"1082\" height=\"689\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-32.png 1082w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-32-300x191.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-32-1024x652.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-32-768x489.png 768w\" sizes=\"(max-width: 1082px) 100vw, 1082px\" \/><\/p><p>Google Analytics needs analytics consent, while Google Ads and Meta Pixel need marketing consent.<\/p><h2 id=\"h-check-that-your-tracking-tags-work-on-your-hostinger-ai-builder-website\">Check that your tracking tags work on your Hostinger AI Builder website<\/h2><p>Check your tags on the published website, because tags don&rsquo;t run in the Hostinger AI Builder preview.<\/p><ol>\n<li>Open your published website and click <strong>Accept all<\/strong> on the cookie notice.<\/li>\n<li>Check that data arrives in the tool, such as the <strong>Realtime<\/strong> report in Google Analytics, <strong>Preview<\/strong> in Google Tag Manager, or Meta Events Manager.<\/li>\n<li>View the page source to confirm the code is on the page if no data arrives. Press Ctrl+U on Windows or Cmd+Option+U on Mac, then search for your tracking ID.<br>\n<img decoding=\"async\" class=\"alignnone wp-image-25050 size-full\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34-e1794303369837.png\" alt=\"\" width=\"1350\" height=\"850\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34-e1794303369837.png 1350w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34-e1794303369837-300x189.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34-e1794303369837-1024x645.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_16-34-e1794303369837-768x484.png 768w\" sizes=\"(max-width: 1350px) 100vw, 1350px\" \/><\/li>\n<\/ol><p>Your website now sends visits and conversions to your tracking tools, once visitors accept cookies.<\/p><p><strong>NOTES<\/strong><\/p><ul>\n<li>Add each tracking ID only once, because duplicate tags cause double counting in your reports.<\/li>\n<li>Add other third-party tools, such as Stripe, Mailchimp, or Zapier, with a prompt in the same way, as explained in <a data-click-id=\"hgr-post-content-link-how-to-use-integrations-in-agentic-mode\" href=\"https:\/\/www.hostinger.com\/support\/11132691-hostinger-ai-builder-agentic-mode-how-to-use-integrations\/\">how to use integrations in agentic mode<\/a>.<\/li>\n<li>Tracking data can take up to 24&ndash;48 hours to appear in standard Google Analytics reports, while the <strong>Realtime<\/strong> report updates within minutes.<\/li>\n<li style=\"list-style-type: none\">\n<\/ul><h2 id=\"h-frequently-asked-questions\">Frequently asked questions<\/h2><p><strong>Does Hostinger AI Builder agentic mode have Google Analytics settings?<\/strong><\/p><p>No. Agentic mode has no separate integrations settings for Google Analytics, Google Tag Manager, or Meta Pixel. Add these tools by sending your tracking ID to Hostinger AI Builder in the chat.<\/p><p><strong>Why doesn&rsquo;t Google Analytics show any data from my Hostinger AI Builder website?<\/strong><\/p><p>Google Analytics collects data only from visitors who accept analytics cookies. Make sure your website is published, click Accept all on the cookie notice, and check the Realtime report.<\/p><p><strong>Can I add Google tags to my Hostinger AI Builder website without AI credits?<\/strong><\/p><p>No. Adding a tracking tag in agentic mode is a request to Hostinger AI Builder, so it uses AI credits.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add GA4, Google Tag Manager, Meta Pixel, and Google Ads tracking to agentic mode websites with a prompt.<\/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-25048","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\/25048","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=25048"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/25048\/revisions"}],"predecessor-version":[{"id":25056,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/25048\/revisions\/25056"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=25048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=25048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=25048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}