{"id":59,"date":"2024-01-09T12:27:57","date_gmt":"2024-01-09T12:27:57","guid":{"rendered":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/?p=59"},"modified":"2024-10-16T09:34:52","modified_gmt":"2024-10-16T09:34:52","slug":"how-to-set-up-and-install-google-analytics-4","status":"publish","type":"post","link":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/","title":{"rendered":"How to Set up and Install Google Analytics 4"},"content":{"rendered":"<h2><span data-contrast=\"auto\">Creating a Google Analytics 4 Property &amp; Data Stream<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">Let&#8217;s start your journey into Google Analytics 4 with the essential first step &#8211; creating a new property.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3><span data-contrast=\"auto\">Navigate to the Admin Section:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-61\" src=\"https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/Analytics-Home.png?resize=1286%2C611&#038;ssl=1\" alt=\"Google Analytics Home Page\" width=\"1286\" height=\"611\" \/><\/p>\n<p><span data-contrast=\"auto\">Begin by accessing the Admin section of your Google Analytics interface. You can do this by visiting <a href=\"http:\/\/analytics.google.com\">analytics.google.com<\/a> and selecting the relevant account and property. Once here, click on &#8220;Admin&#8221; in the lower-left corner of your dashboard to access the Admin section.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>\u00a0<\/p>\n<p>Once inside the Admin section, use the drop down menu in the top left hand side of the page to create a new property.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-62\" src=\"https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/Analytics-property.png?resize=1235%2C556&#038;ssl=1\" alt=\"\" width=\"1235\" height=\"556\" \/><\/p>\n<p><strong>If you&#8217;re new to Google Analytics and haven&#8217;t worked with it before, head over to <a href=\"https:\/\/analytics.google.com\">analytics.google.com<\/a> and follow the steps to create your Google Analytics account.<\/strong><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3><span data-contrast=\"auto\">Property Information:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"auto\">Now, you&#8217;ll need to enter some fundamental information about your property. This could be the name of your website, your company, or a specific brand. Additionally, select your company&#8217;s country, reporting time zone, and the primary currency your business operates in.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-87\" src=\"https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/GA4-Set-Up-Details.png?resize=972%2C725&#038;ssl=1\" alt=\"GA4 Set Up Details\" width=\"972\" height=\"725\" \/><\/p>\n<h3><span data-contrast=\"auto\">Setting Objectives:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"auto\">After filling in the basic details, proceed to the next step where you&#8217;ll be asked a series of questions. These questions are designed to help you define your business objectives, which will impact the reports you see in the interface. For simplicity at this stage, select &#8220;Get baseline reports.&#8221;<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-88\" src=\"https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/GA4-Objective-Details.png?resize=962%2C838&#038;ssl=1\" alt=\"GA4 Objective Details\" width=\"962\" height=\"838\" \/><\/p>\n<h3><span data-contrast=\"auto\">Create Your Property:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"auto\">Click the &#8220;Create&#8221; button to finalise the creation of your property.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h2><span data-contrast=\"auto\">Configuring Your Data Stream:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">The next crucial step is configuring your first data stream. A data stream is essentially a data source from which events will be sent to your Google Analytics 4 property. Keep in mind that you can have multiple data sources within a single property, such as different web properties, Android apps, or iOS apps.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">For the purpose of this blog post, we&#8217;ll focus on setting up a Web stream.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3><span data-contrast=\"auto\">Enter Your Website Details:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"auto\">Provide the URL of your website (e.g., https:\/\/www.mywebsite.com). Note that the protocol (https) is already selected. <\/span><\/p>\n<p><span data-contrast=\"auto\">Additionally, enter the name of your website.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-89\" src=\"https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/GA4-Set-Up-Data-Stream.png?resize=1516%2C422&#038;ssl=1\" alt=\"GA4 Set Up Data Stream\" width=\"1516\" height=\"422\" \/><\/p>\n<h3><span data-contrast=\"auto\">Enhanced Measurement:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"auto\">Google Analytics 4 offers an Enhanced Measurement feature that simplifies event tracking for marketers. It automatically tracks various events to populate your reports without the need for developer assistance or configuring them in Google Tag Manager.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">By default, this feature is enabled and tracks events such as page views, scrolls, outbound link clicks, site searches, video engagement, file downloads, and form events. You can toggle these events on or off individually by clicking the gear icon in the Enhanced Measurement section.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-90 aligncenter\" src=\"https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/GA4-Enhanced-Measurements.png?resize=756%2C617&#038;ssl=1\" alt=\"GA4 Enhanced Measurement Options\" width=\"756\" height=\"617\" \/><\/p>\n<h3><span data-contrast=\"auto\">Create Your Stream:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"auto\">When you&#8217;re ready, hit the &#8220;<strong>Create &amp; Continue<\/strong>&#8221; button to complete the setup.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Congratulations! You&#8217;ve successfully taken the initial steps in setting up Google Analytics 4 with your property and data stream. As you delve deeper into this tool, you&#8217;ll uncover more advanced features and reporting options that can provide valuable insights for your marketing efforts.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h2><span data-contrast=\"auto\">Install Google Analytics 4 with the native tracking code<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">If you are working with a website, that does not have a native GA4 integration or doesn\u2019t support GA4 plugins, then you can ask the developer to install the native GA4 tracking code directly in the source code of the website.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">In GA4 Admin &gt; Data Collection and modification &gt;Data Streams, select your Web Data Stream.<\/span><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-63\" src=\"https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/Analytics-datastream.png?resize=1577%2C746&#038;ssl=1\" alt=\"\" width=\"1577\" height=\"746\" \/><\/p>\n<p><span data-contrast=\"auto\">Then click View tag instructions.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-64\" src=\"https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/Analytics-taginstruction.png?resize=1161%2C772&#038;ssl=1\" alt=\"\" width=\"1161\" height=\"772\" \/><\/p>\n<p><span data-contrast=\"auto\">Then select Install manually and copy the code that you\u2019ll get:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-65\" src=\"https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/Analytics-manualinstall.png?resize=1265%2C620&#038;ssl=1\" alt=\"\" width=\"1265\" height=\"620\" \/><\/p>\n<p><span data-contrast=\"auto\">You should give that code to a developer and ask to install this code in the &lt;head&gt; section of *all* pages of your website. The developer will know what this means. <\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Done! <\/span><\/p>\n<p><span data-contrast=\"auto\">The next step is to test your set up, which will be covered in a future blog post.\u00a0<\/span><\/p>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"chilling ~ 90&#039;s r&amp;b\/soul\/playlist \ud83c\udfb6 Mary J. Blige, Akon, Nelly, Ne-Yo, Usher\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/GBh3Pk2ctqY?feature=oembed&#038;wmode=opaque\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Creating a Google Analytics 4 Property &amp; Data Stream\u00a0 Let&#8217;s start your journey into Google Analytics 4 with the essential first step &#8211; creating a new property.\u00a0 Navigate to the Admin Section:\u00a0 Begin by&#46;&#46;&#46;<\/p>\n","protected":false},"author":352,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[3],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-ga4"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Set up and Install Google Analytics 4 - Google Tag Manager | Google Analytics 4 | Higher Education Website Analytics<\/title>\n<meta name=\"description\" content=\"Need to set up and install Google Analytics 4? Read our step by step guide and get started using GA4 to measure and improve your website.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set up and Install Google Analytics 4 - Google Tag Manager | Google Analytics 4 | Higher Education Website Analytics\" \/>\n<meta property=\"og:description\" content=\"Need to set up and install Google Analytics 4? Read our step by step guide and get started using GA4 to measure and improve your website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/\" \/>\n<meta property=\"og:site_name\" content=\"Google Tag Manager | Google Analytics 4 | Higher Education Website Analytics\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-09T12:27:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-16T09:34:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/Analytics-Home.png\" \/>\n<meta name=\"author\" content=\"scottfergusonadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scottfergusonadmin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/\"},\"author\":{\"name\":\"scottfergusonadmin\",\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/#\\\/schema\\\/person\\\/08a657b1ed5fd57d4c21a7640a4d56d2\"},\"headline\":\"How to Set up and Install Google Analytics 4\",\"datePublished\":\"2024-01-09T12:27:57+00:00\",\"dateModified\":\"2024-10-16T09:34:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/\"},\"wordCount\":640,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/wp-content\\\/uploads\\\/sites\\\/125\\\/2024\\\/01\\\/Analytics-Home.png\",\"articleSection\":[\"GA4\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/\",\"url\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/\",\"name\":\"How to Set up and Install Google Analytics 4 - Google Tag Manager | Google Analytics 4 | Higher Education Website Analytics\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/wp-content\\\/uploads\\\/sites\\\/125\\\/2024\\\/01\\\/Analytics-Home.png\",\"datePublished\":\"2024-01-09T12:27:57+00:00\",\"dateModified\":\"2024-10-16T09:34:52+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/#\\\/schema\\\/person\\\/08a657b1ed5fd57d4c21a7640a4d56d2\"},\"description\":\"Need to set up and install Google Analytics 4? Read our step by step guide and get started using GA4 to measure and improve your website.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/wp-content\\\/uploads\\\/sites\\\/125\\\/2024\\\/01\\\/Analytics-Home.png\",\"contentUrl\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/wp-content\\\/uploads\\\/sites\\\/125\\\/2024\\\/01\\\/Analytics-Home.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/how-to-set-up-and-install-google-analytics-4\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set up and Install Google Analytics 4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/#website\",\"url\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/\",\"name\":\"Google Tag Manager | Google Analytics 4 | Higher Education Website Analytics\",\"description\":\"Website Analytics with a focus on the Higher Education Sector\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/#\\\/schema\\\/person\\\/08a657b1ed5fd57d4c21a7640a4d56d2\",\"name\":\"scottfergusonadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6a3404307dbb1aa4d33ce361be9ca4bd905b5f8fa0ce77e169b82ebe17cf0ced?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6a3404307dbb1aa4d33ce361be9ca4bd905b5f8fa0ce77e169b82ebe17cf0ced?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6a3404307dbb1aa4d33ce361be9ca4bd905b5f8fa0ce77e169b82ebe17cf0ced?s=96&d=mm&r=g\",\"caption\":\"scottfergusonadmin\"},\"url\":\"https:\\\/\\\/blogs.napier.ac.uk\\\/websiteanalytics\\\/author\\\/scottfergusonadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set up and Install Google Analytics 4 - Google Tag Manager | Google Analytics 4 | Higher Education Website Analytics","description":"Need to set up and install Google Analytics 4? Read our step by step guide and get started using GA4 to measure and improve your website.","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:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/","og_locale":"en_GB","og_type":"article","og_title":"How to Set up and Install Google Analytics 4 - Google Tag Manager | Google Analytics 4 | Higher Education Website Analytics","og_description":"Need to set up and install Google Analytics 4? Read our step by step guide and get started using GA4 to measure and improve your website.","og_url":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/","og_site_name":"Google Tag Manager | Google Analytics 4 | Higher Education Website Analytics","article_published_time":"2024-01-09T12:27:57+00:00","article_modified_time":"2024-10-16T09:34:52+00:00","og_image":[{"url":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/Analytics-Home.png","type":"","width":"","height":""}],"author":"scottfergusonadmin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scottfergusonadmin","Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/#article","isPartOf":{"@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/"},"author":{"name":"scottfergusonadmin","@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/#\/schema\/person\/08a657b1ed5fd57d4c21a7640a4d56d2"},"headline":"How to Set up and Install Google Analytics 4","datePublished":"2024-01-09T12:27:57+00:00","dateModified":"2024-10-16T09:34:52+00:00","mainEntityOfPage":{"@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/"},"wordCount":640,"commentCount":1,"image":{"@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/#primaryimage"},"thumbnailUrl":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/Analytics-Home.png","articleSection":["GA4"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/","url":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/","name":"How to Set up and Install Google Analytics 4 - Google Tag Manager | Google Analytics 4 | Higher Education Website Analytics","isPartOf":{"@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/#primaryimage"},"image":{"@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/#primaryimage"},"thumbnailUrl":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/Analytics-Home.png","datePublished":"2024-01-09T12:27:57+00:00","dateModified":"2024-10-16T09:34:52+00:00","author":{"@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/#\/schema\/person\/08a657b1ed5fd57d4c21a7640a4d56d2"},"description":"Need to set up and install Google Analytics 4? Read our step by step guide and get started using GA4 to measure and improve your website.","breadcrumb":{"@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/#primaryimage","url":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/Analytics-Home.png","contentUrl":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2024\/01\/Analytics-Home.png"},{"@type":"BreadcrumbList","@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/how-to-set-up-and-install-google-analytics-4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/"},{"@type":"ListItem","position":2,"name":"How to Set up and Install Google Analytics 4"}]},{"@type":"WebSite","@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/#website","url":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/","name":"Google Tag Manager | Google Analytics 4 | Higher Education Website Analytics","description":"Website Analytics with a focus on the Higher Education Sector","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/#\/schema\/person\/08a657b1ed5fd57d4c21a7640a4d56d2","name":"scottfergusonadmin","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/6a3404307dbb1aa4d33ce361be9ca4bd905b5f8fa0ce77e169b82ebe17cf0ced?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6a3404307dbb1aa4d33ce361be9ca4bd905b5f8fa0ce77e169b82ebe17cf0ced?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a3404307dbb1aa4d33ce361be9ca4bd905b5f8fa0ce77e169b82ebe17cf0ced?s=96&d=mm&r=g","caption":"scottfergusonadmin"},"url":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/author\/scottfergusonadmin\/"}]}},"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":5,"url":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/ga4-vs-universal-analytics\/","url_meta":{"origin":59,"position":0},"title":"GA4 V&#8217;s Universal Analytics","author":"scottfergusonadmin","date":"January 27, 2023","format":false,"excerpt":"Overview At the start of 2022, Google announced it was retiring Universal Analytics (UA) and would replace it with Google Analytics 4 (GA4) and that new user data would only flow in to GA4 properties from 1st July 2023. This change is majorly influenced by modern browsing behaviour and recent\u2026","rel":"","context":"In &quot;GA4&quot;","block_context":{"text":"GA4","link":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/category\/ga4\/"},"img":{"alt_text":"GA4 Reporting Identity","src":"https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2023\/01\/GA4_ReportingIdentity.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2023\/01\/GA4_ReportingIdentity.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2023\/01\/GA4_ReportingIdentity.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blogs.napier.ac.uk\/websiteanalytics\/wp-content\/uploads\/sites\/125\/2023\/01\/GA4_ReportingIdentity.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":53,"url":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/understanding-ga4-scopes-of-traffic-sources\/","url_meta":{"origin":59,"position":1},"title":"Understanding GA4 Scopes of Traffic Sources","author":"scottfergusonadmin","date":"September 18, 2023","format":false,"excerpt":"Google Analytics 4 (GA4) is a powerful tool that provides invaluable insights into user behaviour and website performance. To make the most of GA4, it's essential to understand the various scopes of traffic sources it offers. In this post, we'll delve into the User, Session, and Event scopes of traffic\u2026","rel":"","context":"In &quot;GA4&quot;","block_context":{"text":"GA4","link":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/category\/ga4\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-json\/wp\/v2\/users\/352"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":8,"href":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"predecessor-version":[{"id":139,"href":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-json\/wp\/v2\/posts\/59\/revisions\/139"}],"wp:attachment":[{"href":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.napier.ac.uk\/websiteanalytics\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}