{"id":714,"date":"2026-10-26T03:49:59","date_gmt":"2026-10-26T03:49:59","guid":{"rendered":"https:\/\/sitefitters.com\/learn\/guides\/add-google-analytics-to-your-website\/"},"modified":"2026-10-26T03:49:59","modified_gmt":"2026-10-26T03:49:59","slug":"add-google-analytics-to-your-website","status":"publish","type":"page","link":"https:\/\/sitefitters.com\/fr\/learn\/guides\/add-google-analytics-to-your-website\/","title":{"rendered":"How to Add Google Analytics 4 to Your Website"},"content":{"rendered":"<section class=\"sfl-hero sfl-hero-s\"><div class=\"sfl-w\"><div class=\"sfl-bc\"><a href=\"\/learn\/\">Learn<\/a> \/ <a href=\"\/learn\/guides\/\">How-To Guides<\/a><\/div><h1>How to Add Google Analytics 4 to <em>Your Website<\/em><\/h1><div class=\"sfl-lead\"><p>Google Analytics 4 (GA4) is Google&#8217;s free tool for counting who visits your website, where they came from and what they do once they arrive. In this guide you will create an Analytics account, connect it to your site and confirm that real visits are showing up.<\/p><p>Without analytics, every marketing decision is a guess. With it, you can see which pages bring in calls and form fills, which ads or social posts send traffic, and where visitors give up. Setup takes about half an hour, and the data starts building the moment it is live.<\/p><\/div><div class=\"sfl-meta\"><span>\u23f1 30 minutes<\/span><span>\u25ce Beginner<\/span><span>\u2630 8 steps<\/span><span>\u21bb Updated Oct 2026<\/span><\/div><\/div><\/section><div class=\"sfl-w sfl-art sfl-art3\"><nav class=\"sfl-toc\" aria-label=\"On this page\"><b>On this page<\/b><a href=\"#need\">What you need<\/a><a href=\"#steps\">Steps<\/a><a href=\"#mistakes\">Common mistakes<\/a><a href=\"#faq\">FAQ<\/a><\/nav><article class=\"sfl-prose\"><div class=\"sfl-box sfl-need\" id=\"need\"><h4>What you need<\/h4><ul><li>A Google account owned by the business<\/li><li>Admin access to your website or website builder<\/li><li>Your website address<\/li><\/ul><\/div><h2 id=\"steps\">Steps<\/h2><div class=\"sfl-step\"><b>1<\/b><div><h3>Create your Analytics account<\/h3><p>Go to analytics.google.com and sign in with a Google account that belongs to the business, not to an employee or outside agency. If this is your first visit, click Start measuring. Otherwise open Admin, click Create and choose Account. Give the account your business name, review the data sharing options and click Next.<\/p><div class=\"sfl-tip\"><b>Tip:<\/b> Use a shared business login, such as an info@ address, so you never lose access when someone leaves.<\/div><\/div><\/div><div class=\"sfl-step\"><b>2<\/b><div><h3>Set up a GA4 property<\/h3><p>A property holds the data for one website. Enter a property name, then pick your reporting time zone and currency so daily totals line up with your business day. Click Next, choose your industry and business size, then select what you want to use Analytics for. Click Create and accept the Terms of Service and Data Processing Amendment.<\/p><\/div><\/div><div class=\"sfl-step\"><b>3<\/b><div><h3>Add a web data stream<\/h3><p>A data stream is the connection between your property and your site. In Admin, under Data collection and modification, click Data streams, then Add stream and Web. Enter your website address and a simple stream name like Main website. Leave enhanced measurement turned on. It records page views, scrolls, outbound clicks, site searches and file downloads without extra setup. Click Create stream.<\/p><\/div><\/div><div class=\"sfl-step\"><b>4<\/b><div><h3>Copy your Measurement ID<\/h3><p>Open the web stream you just created. Under Stream details you will see a Measurement ID that starts with G- followed by letters and numbers. Copy it somewhere handy. Most website platforms only need this ID to connect to Analytics, so you may never touch any code.<\/p><\/div><\/div><div class=\"sfl-step\"><b>5<\/b><div><h3>Install the Google tag on your site<\/h3><p>On WordPress, the simplest route is a plugin that adds the tag for you. Google&#8217;s free Site Kit plugin is one example, and many SEO plugins and themes also have a field for your Measurement ID. Website builders such as Wix, Squarespace and Shopify have a built-in Google Analytics setting. If none of these apply, click View tag instructions in your stream, choose Install manually, and paste the code right after the opening head tag on every page.<\/p><div class=\"sfl-tip\"><b>Tip:<\/b> Pick one installation method only, because two copies of the tag will double count every visit.<\/div><\/div><\/div><div class=\"sfl-step\"><b>6<\/b><div><h3>Confirm data is coming in<\/h3><p>Open your website on your phone or in a private browser window and click through a few pages. Then in Analytics, go to Reports and open Realtime. Your visit should appear within a few minutes, though Google says it can take up to 30 minutes. Standard reports fill in more slowly, usually within a day or two.<\/p><\/div><\/div><div class=\"sfl-step\"><b>7<\/b><div><h3>Adjust a few key settings<\/h3><p>By default, GA4 keeps detailed user-level data for only two months. In Admin, open Data retention under the property&#8217;s data settings, change event data retention to 14 months and click Save. This affects explorations and funnel reports, not the standard reports. While you are in Admin, add teammates under Access management, and later mark important actions, like contact form submissions, as key events.<\/p><div class=\"sfl-tip\"><b>Tip:<\/b> Exclude your own visits by defining your office IP address as internal traffic in the data stream&#8217;s tag settings.<\/div><\/div><\/div><div class=\"sfl-step\"><b>8<\/b><div><h3>Update your privacy policy<\/h3><p>Analytics uses cookies to recognize returning visitors, so your privacy policy should say you use Google Analytics and why. If you serve visitors in places with strict consent rules, such as the European Union or the UK, add a cookie consent banner that works with Google&#8217;s consent mode. Many consent tools for WordPress and website builders support it out of the box.<\/p><\/div><\/div><h2 id=\"mistakes\">Common Mistakes<\/h2><ul class=\"sfl-mk\"><li>Installing the tag through both a plugin and the theme, which doubles page views and wrecks your numbers.<\/li><li>Letting a former employee or web agency own the only admin login, so the business loses its own history.<\/li><li>Leaving data retention at two months and then finding last year&#8217;s detail missing from explorations.<\/li><\/ul><h2 id=\"faq\">FAQ<\/h2><details class=\"sfl-faq\" open><summary>Is Google Analytics 4 free?<\/summary><p>Yes. The standard version of Google Analytics 4 is free and is more than enough for most small businesses. Google sells a paid version called Analytics 360, but it is built for large companies with very high traffic and advanced reporting needs. You can start with the free version and never need anything more.<\/p><\/details><details class=\"sfl-faq\"><summary>What is the difference between Google Analytics and Search Console?<\/summary><p>Google Analytics shows what visitors do on your site from every source, including ads, social media and email. Search Console shows how your site performs in Google Search before anyone clicks, such as which searches show your pages and any indexing problems. They answer different questions, so most businesses use both and link them together.<\/p><\/details><details class=\"sfl-faq\"><summary>How long until I see data in my reports?<\/summary><p>Realtime data usually appears within minutes, and Google says to allow up to 30 minutes. Standard reports, like traffic sources and top pages, can take 24 to 48 hours to process. Analytics only records visits from the day the tag goes live, so it cannot show traffic from before you installed it.<\/p><\/details><\/article><aside class=\"sfl-aside\"><div class=\"sfl-box sfl-box-o\"><h4>Want to be found on Google?<\/h4><p>On-page SEO, Google Business Profile and analytics are built into our website packages.<\/p><a class=\"sfl-btn sfl-btn-w\" href=\"\/web-design-development\/#pricing\">See website packages<\/a><\/div><div class=\"sfl-box\"><h4>Terms in this guide<\/h4><div class=\"sfl-rel\"><a href=\"\/learn\/glossary\/google-analytics\/\">Google Analytics<\/a><a href=\"\/learn\/glossary\/google-search-console\/\">Google Search Console<\/a><a href=\"\/learn\/glossary\/conversion-rate\/\">Conversion rate<\/a><a href=\"\/learn\/glossary\/bounce-rate\/\">Bounce rate<\/a><a href=\"\/learn\/glossary\/organic-traffic\/\">Organic traffic<\/a><a href=\"\/learn\/glossary\/cookie\/\">Cookie<\/a><a href=\"\/learn\/glossary\/plugin\/\">Plugin<\/a><a href=\"\/learn\/glossary\/wordpress\/\">WordPress<\/a><\/div><\/div><div class=\"sfl-box\"><h4>More guides<\/h4><div class=\"sfl-rel sfl-col\"><a href=\"\/learn\/guides\/choose-and-register-a-domain-name\/\">How to Choose and Register a Domain Name for Your Business<\/a><a href=\"\/learn\/guides\/point-your-domain-to-your-website\/\">How to Point Your Domain to Your Website (DNS Records Explained)<\/a><a href=\"\/learn\/guides\/set-up-business-email-on-your-domain\/\">How to Set Up Business Email on Your Own Domain<\/a><a href=\"\/learn\/guides\/set-up-spf-dkim-dmarc\/\">How to Set Up SPF, DKIM and DMARC So Your Emails Don&#8217;t Land in Spam<\/a><\/div><\/div><\/aside><\/div><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Is Google Analytics 4 free?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes. The standard version of Google Analytics 4 is free and is more than enough for most small businesses. Google sells a paid version called Analytics 360, but it is built for large companies with very high traffic and advanced reporting needs. You can start with the free version and never need anything more.\"}},{\"@type\":\"Question\",\"name\":\"What is the difference between Google Analytics and Search Console?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Google Analytics shows what visitors do on your site from every source, including ads, social media and email. Search Console shows how your site performs in Google Search before anyone clicks, such as which searches show your pages and any indexing problems. They answer different questions, so most businesses use both and link them together.\"}},{\"@type\":\"Question\",\"name\":\"How long until I see data in my reports?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Realtime data usually appears within minutes, and Google says to allow up to 30 minutes. Standard reports, like traffic sources and top pages, can take 24 to 48 hours to process. Analytics only records visits from the day the tag goes live, so it cannot show traffic from before you installed it.\"}}]}<\/script>","protected":false},"excerpt":{"rendered":"<p>Learn \/ How-To Guides How to Add Google Analytics 4 to Your Website Google Analytics 4 (GA4) is Google&#8217;s free tool for counting who visits your website, where they came from and what they do once they arrive. In this guide you will create an Analytics account, connect it to your site and confirm that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":533,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"sitefitters-canvas.php","meta":{"_acf_changed":false,"_yoast_wpseo_title":"How to Add Google Analytics 4 to Your Website","_yoast_wpseo_metadesc":"Set up Google Analytics 4 step by step: create an account and property, add a web data stream, install the Google tag, and confirm your visits are recorded.","sfb_learn":"1","footnotes":""},"class_list":["post-714","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.7 (Yoast SEO v28.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Add Google Analytics 4 to Your Website<\/title>\n<meta name=\"description\" content=\"Set up Google Analytics 4 step by step: create an account and property, add a web data stream, install the Google tag, and confirm your visits are recorded.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sitefitters.com\/fr\/learn\/guides\/add-google-analytics-to-your-website\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Google Analytics 4 to Your Website\" \/>\n<meta property=\"og:description\" content=\"Set up Google Analytics 4 step by step: create an account and property, add a web data stream, install the Google tag, and confirm your visits are recorded.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sitefitters.com\/fr\/learn\/guides\/add-google-analytics-to-your-website\/\" \/>\n<meta property=\"og:site_name\" content=\"Sitefitters\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sitefitters.com\\\/learn\\\/guides\\\/add-google-analytics-to-your-website\\\/\",\"url\":\"https:\\\/\\\/sitefitters.com\\\/learn\\\/guides\\\/add-google-analytics-to-your-website\\\/\",\"name\":\"How to Add Google Analytics 4 to Your Website\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sitefitters.com\\\/#website\"},\"datePublished\":\"2026-10-26T03:49:59+00:00\",\"description\":\"Set up Google Analytics 4 step by step: create an account and property, add a web data stream, install the Google tag, and confirm your visits are recorded.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sitefitters.com\\\/learn\\\/guides\\\/add-google-analytics-to-your-website\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sitefitters.com\\\/learn\\\/guides\\\/add-google-analytics-to-your-website\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sitefitters.com\\\/learn\\\/guides\\\/add-google-analytics-to-your-website\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sitefitters.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Business Website 101\",\"item\":\"https:\\\/\\\/sitefitters.com\\\/learn\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How-To Guides\",\"item\":\"https:\\\/\\\/sitefitters.com\\\/learn\\\/guides\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How to Add Google Analytics 4 to Your Website\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sitefitters.com\\\/#website\",\"url\":\"https:\\\/\\\/sitefitters.com\\\/\",\"name\":\"Sitefitters\",\"description\":\"Custom Websites, Apps &amp; WHMCS experts\",\"publisher\":{\"@id\":\"https:\\\/\\\/sitefitters.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sitefitters.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/sitefitters.com\\\/#organization\",\"name\":\"Sitefitters\",\"url\":\"https:\\\/\\\/sitefitters.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/sitefitters.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/sitefitters.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/sitefitters-logo-elephant-dot.png\",\"contentUrl\":\"https:\\\/\\\/sitefitters.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/sitefitters-logo-elephant-dot.png\",\"width\":717,\"height\":140,\"caption\":\"Sitefitters\"},\"image\":{\"@id\":\"https:\\\/\\\/sitefitters.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Add Google Analytics 4 to Your Website","description":"Set up Google Analytics 4 step by step: create an account and property, add a web data stream, install the Google tag, and confirm your visits are recorded.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sitefitters.com\/fr\/learn\/guides\/add-google-analytics-to-your-website\/","og_locale":"fr_FR","og_type":"article","og_title":"How to Add Google Analytics 4 to Your Website","og_description":"Set up Google Analytics 4 step by step: create an account and property, add a web data stream, install the Google tag, and confirm your visits are recorded.","og_url":"https:\/\/sitefitters.com\/fr\/learn\/guides\/add-google-analytics-to-your-website\/","og_site_name":"Sitefitters","twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/sitefitters.com\/learn\/guides\/add-google-analytics-to-your-website\/","url":"https:\/\/sitefitters.com\/learn\/guides\/add-google-analytics-to-your-website\/","name":"How to Add Google Analytics 4 to Your Website","isPartOf":{"@id":"https:\/\/sitefitters.com\/#website"},"datePublished":"2026-10-26T03:49:59+00:00","description":"Set up Google Analytics 4 step by step: create an account and property, add a web data stream, install the Google tag, and confirm your visits are recorded.","breadcrumb":{"@id":"https:\/\/sitefitters.com\/learn\/guides\/add-google-analytics-to-your-website\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sitefitters.com\/learn\/guides\/add-google-analytics-to-your-website\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sitefitters.com\/learn\/guides\/add-google-analytics-to-your-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sitefitters.com\/"},{"@type":"ListItem","position":2,"name":"Business Website 101","item":"https:\/\/sitefitters.com\/learn\/"},{"@type":"ListItem","position":3,"name":"How-To Guides","item":"https:\/\/sitefitters.com\/learn\/guides\/"},{"@type":"ListItem","position":4,"name":"How to Add Google Analytics 4 to Your Website"}]},{"@type":"WebSite","@id":"https:\/\/sitefitters.com\/#website","url":"https:\/\/sitefitters.com\/","name":"Sitefitters","description":"Custom Websites, Apps &amp; WHMCS experts","publisher":{"@id":"https:\/\/sitefitters.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sitefitters.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/sitefitters.com\/#organization","name":"Sitefitters","url":"https:\/\/sitefitters.com\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/sitefitters.com\/#\/schema\/logo\/image\/","url":"https:\/\/sitefitters.com\/wp-content\/uploads\/2026\/10\/sitefitters-logo-elephant-dot.png","contentUrl":"https:\/\/sitefitters.com\/wp-content\/uploads\/2026\/10\/sitefitters-logo-elephant-dot.png","width":717,"height":140,"caption":"Sitefitters"},"image":{"@id":"https:\/\/sitefitters.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/sitefitters.com\/fr\/wp-json\/wp\/v2\/pages\/714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sitefitters.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sitefitters.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sitefitters.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sitefitters.com\/fr\/wp-json\/wp\/v2\/comments?post=714"}],"version-history":[{"count":0,"href":"https:\/\/sitefitters.com\/fr\/wp-json\/wp\/v2\/pages\/714\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/sitefitters.com\/fr\/wp-json\/wp\/v2\/pages\/533"}],"wp:attachment":[{"href":"https:\/\/sitefitters.com\/fr\/wp-json\/wp\/v2\/media?parent=714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}