{"id":128285,"date":"2019-02-18T18:33:56","date_gmt":"2019-02-18T18:33:56","guid":{"rendered":"http:\/\/sftarticles.wpenginepowered.com\/en\/?p=128285"},"modified":"2025-07-01T22:21:12","modified_gmt":"2025-07-02T05:21:12","slug":"add-google-analytics-to-wordpress","status":"publish","type":"post","link":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/","title":{"rendered":"How to add Google Analytics to your WordPress site"},"content":{"rendered":"<p>Google Analytics may not be the only web analytics software, but it is one of the most popular. It\u2019s also a great way to see exactly how your website is doing. Once installed, you can instantly see which posts are the most popular, how long people spend on your site, and where they came from. Then you can duplicate your efforts to draw in more readers.<\/p>\n<p>But you can\u2019t dig deep into your site until you install Google Analytics. Depending on your website, there are multiple ways to install the code.<\/p>\n<h2>How to add Google Analytics to your WordPress site<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-130377\" src=\"https:\/\/articles-img.sftcdn.net\/sft\/articles\/auto-mapping-folder\/sites\/3\/2019\/01\/google-analytics-700.jpg\" alt=\"google analytics\" width=\"700\" height=\"467\" srcset=\"https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2019\/01\/google-analytics-700.jpg 700w, https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2019\/01\/google-analytics-700-300x200.jpg 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<h3>Installing Google Analytics<\/h3>\n<p>1. First, you need to create a property in <a href=\"https:\/\/analytics.google.com\/analytics\/web\/provision\/?authuser=0#\/provision\" target=\"_blank\" rel=\"noopener noreferrer\">Google Analytics<\/a>. You will have to have a separate property for each website you own. This makes sense because you want to track the specific info from each site separately. You wouldn&#8217;t want all of that information jumbled together.<\/p>\n<p>2. When that&#8217;s finished, head into your admin account. Choose the account you need from the <strong>account column.<\/strong> Then, choose the property you want from the <strong>property column.<\/strong><\/p>\n<p>3. Under the Property section, you will see an area termed <strong>Tracking Info and then Tracking Code.<\/strong> Click on it to reveal your tracking code. Your tracking ID will appear at the top of the page. Copy it.<\/p>\n<p>4. Your tracking ID will look similar to this but you will replace the general GA_TRACKING_ID with your own code. This code will go after the &lt;head&gt; tag on each and every page of your website.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-128291 size-full\" src=\"https:\/\/articles-img.sftcdn.net\/sft\/articles\/auto-mapping-folder\/sites\/3\/2019\/01\/GoogleAnalyticsTrackingCode_ed.jpg\" alt=\"\" width=\"700\" height=\"194\" srcset=\"https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2019\/01\/GoogleAnalyticsTrackingCode_ed.jpg 700w, https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2019\/01\/GoogleAnalyticsTrackingCode_ed-300x83.jpg 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>5. If you use WordPress, paste the Google Analytics Tracking Code before the closing &lt;\/head&gt; tag in your <strong>header.php<\/strong> file. Use your child theme so you don\u2019t need to reinstall the code after every WordPress update.<\/p>\n<p>Or, you can visit the <strong>WordPress Customization<\/strong> tab from your dashboard. Visit <strong>Appearance<\/strong>, then <strong>Customize<\/strong>. This section offers a live preview of your changes. It also typically provides space to install header and footer codes.<\/p>\n<p>You will look for <strong>Header\/Footer Scripts<\/strong> under <strong>Theme Settings.<\/strong> Just remember your Google Analytics code belongs in the <strong>header<\/strong>.<\/p>\n<p>6. To see if your code is working correctly, jump over to the Real-Time reports in your Google Analytics dashboard.<\/p>\n<h3>Your website analytics<\/h3>\n<p>If it isn\u2019t working, try again. You may have neglected to copy over the whole code or you may have installed the code in the wrong place. Ensure the tracking ID code is copied correctly, then double check the placement.<\/p>\n<p>Once your code is installed, you will have more insight into your website than you ever thought possible. If you use a Mac, take a look at these\u00a0<a href=\"https:\/\/en.softonic.com\/articles\/top-5-blogging-widgets-for-your-mac\" target=\"_blank\" rel=\"noopener noreferrer\">blogging widgets<\/a>\u00a0for hassle-free ways to keep your website populated.<\/p>\n<div class=\"sc-related-articles-white\">\r\n<p class=\"sc-related-articles-white__title\">More from Softonic<\/p>\r\n  <div class=\"sc-related-articles-white__row\">\r\n    <a title=\"6 Chrome extensions to make you more productive at work\" href=\"https:\/\/en.softonic.com\/articles\/6-chrome-extensions-to-make-you-more-productive-at-work\">\r\n    <div class=\"sc-related-articles-white__article\">\r\n      <div class=\"sc-related-articles-white__image\">\r\n        <div style=\"background-image:url(https:\/\/articles-img.sftcdn.net\/sft\/articles\/auto-mapping-folder\/sites\/3\/2018\/01\/pexels-photo-374899.jpg)\"><\/div>\r\n      <\/div>\r\n      <div class=\"sc-related-articles-white__text\">\r\n        <p>6 Chrome extensions to make you more productive at work<\/p>\r\n      <\/div>\r\n    <\/div>\r\n    <\/a>\r\n    <a title=\"Be more productive with these 9 Chrome extensions\" href=\"https:\/\/en.softonic.com\/articles\/be-more-productive-with-these-9-chrome-extensions\">\r\n    <div class=\"sc-related-articles-white__article\">\r\n      <div class=\"sc-related-articles-white__image\">\r\n        <div style=\"background-image:url(https:\/\/articles-img.sftcdn.net\/sft\/articles\/auto-mapping-folder\/sites\/3\/2018\/03\/Best_Chrome_Ext_image4-1024x503.png)\"><\/div>\r\n      <\/div>\r\n      <div class=\"sc-related-articles-white__text\">\r\n        <p>Be more productive with these 9 Chrome extensions<\/p>\r\n      <\/div>\r\n    <\/div>\r\n    <\/a>\r\n  <\/div>\r\n  <div class=\"sc-related-articles-white__row\">\r\n    <a title=\"This is how to make Google Chrome more secure\" href=\"https:\/\/en.softonic.com\/articles\/this-is-how-to-make-google-chrome-more-secure\">\r\n    <div class=\"sc-related-articles-white__article\">\r\n      <div class=\"sc-related-articles-white__image\">\r\n        <div style=\"background-image:url(https:\/\/articles-img.sftcdn.net\/sft\/articles\/auto-mapping-folder\/sites\/3\/2017\/09\/Chrome-security-1024x576.jpg)\"><\/div>\r\n      <\/div>\r\n      <div class=\"sc-related-articles-white__text\">\r\n        <p>This is how to make Google Chrome more secure<\/p>\r\n      <\/div>\r\n    <\/div>\r\n    <\/a>\r\n    <a title=\"How to save articles to read offline in Google Chrome\" href=\"https:\/\/en.softonic.com\/articles\/how-to-save-articles-to-read-offline-on-google-chrome\">\r\n    <div class=\"sc-related-articles-white__article\">\r\n      <div class=\"sc-related-articles-white__image\">\r\n        <div style=\"background-image:url(https:\/\/articles-img.sftcdn.net\/sft\/articles\/auto-mapping-folder\/sites\/3\/2017\/05\/chrome-android-game-1024x614.png)\"><\/div>\r\n      <\/div>\r\n      <div class=\"sc-related-articles-white__text\">\r\n        <p>How to save articles to read offline in Google Chrome<\/p>\r\n      <\/div>\r\n    <\/div>\r\n    <\/a>\r\n  <\/div>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Google Analytics can reveal a lot about your audience. Here&#8217;s how to add it to your Wordpress site.<\/p>\n","protected":false},"author":9167,"featured_media":130376,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","wpcf-pageviews":0},"categories":[2441],"tags":[2594,1713,1712],"usertag":[],"vertical":[],"content-category":[],"class_list":["post-128285","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-app-subdomain-redirectionwordpress-cms","tag-google-analytics","tag-wordpress"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Google Analytics can reveal a lot about your audience. Here&#039;s how to add it to your Wordpress site.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Miranda Lucas\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Softonic English - Just another Softonic Sites site\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to add Google Analytics to your WordPress site - Softonic English\" \/>\n\t\t<meta property=\"og:description\" content=\"Google Analytics can reveal a lot about your audience. Here&#039;s how to add it to your Wordpress site.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-02-18T18:33:56+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-07-02T05:21:12+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to add Google Analytics to your WordPress site - Softonic English\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Google Analytics can reveal a lot about your audience. Here&#039;s how to add it to your Wordpress site.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/add-google-analytics-to-wordpress\\\/#blogposting\",\"name\":\"How to add Google Analytics to your WordPress site - Softonic English\",\"headline\":\"How to add Google Analytics to your WordPress site\",\"author\":{\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/author\\\/mirandalucas\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/articles-img.sftcdn.net\\\/auto-mapping-folder\\\/sites\\\/3\\\/2019\\\/01\\\/google-analytics-1280.jpg\",\"width\":1280,\"height\":720},\"datePublished\":\"2019-02-18T18:33:56-08:00\",\"dateModified\":\"2025-07-01T22:21:12-07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/add-google-analytics-to-wordpress\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/add-google-analytics-to-wordpress\\\/#webpage\"},\"articleSection\":\"How to, app-subdomain-redirection:wordpress-cms, Google Analytics, WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/add-google-analytics-to-wordpress\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/category\\\/how-to\\\/#listItem\",\"name\":\"How to\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/category\\\/how-to\\\/#listItem\",\"position\":2,\"name\":\"How to\",\"item\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/category\\\/how-to\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/add-google-analytics-to-wordpress\\\/#listItem\",\"name\":\"How to add Google Analytics to your WordPress site\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/add-google-analytics-to-wordpress\\\/#listItem\",\"position\":3,\"name\":\"How to add Google Analytics to your WordPress site\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/category\\\/how-to\\\/#listItem\",\"name\":\"How to\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/#organization\",\"name\":\"Softonic English\",\"description\":\"Just another Softonic Sites site\",\"url\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/author\\\/mirandalucas\\\/#author\",\"url\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/author\\\/mirandalucas\\\/\",\"name\":\"Miranda Lucas\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/add-google-analytics-to-wordpress\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bca1951c69a433418f6f0ed359c4e6c9b151f23ea41450ac3095a80a4ac95bb2?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Miranda Lucas\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/add-google-analytics-to-wordpress\\\/#webpage\",\"url\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/add-google-analytics-to-wordpress\\\/\",\"name\":\"How to add Google Analytics to your WordPress site - Softonic English\",\"description\":\"Google Analytics can reveal a lot about your audience. Here's how to add it to your Wordpress site.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/add-google-analytics-to-wordpress\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/author\\\/mirandalucas\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/author\\\/mirandalucas\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/articles-img.sftcdn.net\\\/auto-mapping-folder\\\/sites\\\/3\\\/2019\\\/01\\\/google-analytics-1280.jpg\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/add-google-analytics-to-wordpress\\\/#mainImage\",\"width\":1280,\"height\":720},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/add-google-analytics-to-wordpress\\\/#mainImage\"},\"datePublished\":\"2019-02-18T18:33:56-08:00\",\"dateModified\":\"2025-07-01T22:21:12-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/\",\"name\":\"Softonic English\",\"description\":\"Just another Softonic Sites site\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/cms-articles.softonic.io\\\/en\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to add Google Analytics to your WordPress site - Softonic English","description":"Google Analytics can reveal a lot about your audience. Here's how to add it to your Wordpress site.","canonical_url":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/#blogposting","name":"How to add Google Analytics to your WordPress site - Softonic English","headline":"How to add Google Analytics to your WordPress site","author":{"@id":"https:\/\/cms-articles.softonic.io\/en\/author\/mirandalucas\/#author"},"publisher":{"@id":"https:\/\/cms-articles.softonic.io\/en\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2019\/01\/google-analytics-1280.jpg","width":1280,"height":720},"datePublished":"2019-02-18T18:33:56-08:00","dateModified":"2025-07-01T22:21:12-07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/#webpage"},"isPartOf":{"@id":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/#webpage"},"articleSection":"How to, app-subdomain-redirection:wordpress-cms, Google Analytics, WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/cms-articles.softonic.io\/en\/#listItem","position":1,"name":"Home","item":"https:\/\/cms-articles.softonic.io\/en\/","nextItem":{"@type":"ListItem","@id":"https:\/\/cms-articles.softonic.io\/en\/category\/how-to\/#listItem","name":"How to"}},{"@type":"ListItem","@id":"https:\/\/cms-articles.softonic.io\/en\/category\/how-to\/#listItem","position":2,"name":"How to","item":"https:\/\/cms-articles.softonic.io\/en\/category\/how-to\/","nextItem":{"@type":"ListItem","@id":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/#listItem","name":"How to add Google Analytics to your WordPress site"},"previousItem":{"@type":"ListItem","@id":"https:\/\/cms-articles.softonic.io\/en\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/#listItem","position":3,"name":"How to add Google Analytics to your WordPress site","previousItem":{"@type":"ListItem","@id":"https:\/\/cms-articles.softonic.io\/en\/category\/how-to\/#listItem","name":"How to"}}]},{"@type":"Organization","@id":"https:\/\/cms-articles.softonic.io\/en\/#organization","name":"Softonic English","description":"Just another Softonic Sites site","url":"https:\/\/cms-articles.softonic.io\/en\/"},{"@type":"Person","@id":"https:\/\/cms-articles.softonic.io\/en\/author\/mirandalucas\/#author","url":"https:\/\/cms-articles.softonic.io\/en\/author\/mirandalucas\/","name":"Miranda Lucas","image":{"@type":"ImageObject","@id":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/bca1951c69a433418f6f0ed359c4e6c9b151f23ea41450ac3095a80a4ac95bb2?s=96&d=mm&r=g","width":96,"height":96,"caption":"Miranda Lucas"}},{"@type":"WebPage","@id":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/#webpage","url":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/","name":"How to add Google Analytics to your WordPress site - Softonic English","description":"Google Analytics can reveal a lot about your audience. Here's how to add it to your Wordpress site.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/cms-articles.softonic.io\/en\/#website"},"breadcrumb":{"@id":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/#breadcrumblist"},"author":{"@id":"https:\/\/cms-articles.softonic.io\/en\/author\/mirandalucas\/#author"},"creator":{"@id":"https:\/\/cms-articles.softonic.io\/en\/author\/mirandalucas\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2019\/01\/google-analytics-1280.jpg","@id":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/#mainImage","width":1280,"height":720},"primaryImageOfPage":{"@id":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/#mainImage"},"datePublished":"2019-02-18T18:33:56-08:00","dateModified":"2025-07-01T22:21:12-07:00"},{"@type":"WebSite","@id":"https:\/\/cms-articles.softonic.io\/en\/#website","url":"https:\/\/cms-articles.softonic.io\/en\/","name":"Softonic English","description":"Just another Softonic Sites site","inLanguage":"en-US","publisher":{"@id":"https:\/\/cms-articles.softonic.io\/en\/#organization"}}]},"og:locale":"en_US","og:site_name":"Softonic English - Just another Softonic Sites site","og:type":"article","og:title":"How to add Google Analytics to your WordPress site - Softonic English","og:description":"Google Analytics can reveal a lot about your audience. Here's how to add it to your Wordpress site.","og:url":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/","article:published_time":"2019-02-18T18:33:56+00:00","article:modified_time":"2025-07-02T05:21:12+00:00","twitter:card":"summary","twitter:title":"How to add Google Analytics to your WordPress site - Softonic English","twitter:description":"Google Analytics can reveal a lot about your audience. Here's how to add it to your Wordpress site."},"aioseo_meta_data":{"post_id":"128285","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":null,"isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2022-02-09 09:38:18","updated":"2025-07-04 12:04:33"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cms-articles.softonic.io\/en\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cms-articles.softonic.io\/en\/category\/how-to\/\" title=\"How to\">How to<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to add Google Analytics to your WordPress site\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/cms-articles.softonic.io\/en\/"},{"label":"How to","link":"https:\/\/cms-articles.softonic.io\/en\/category\/how-to\/"},{"label":"How to add Google Analytics to your WordPress site","link":"https:\/\/cms-articles.softonic.io\/en\/add-google-analytics-to-wordpress\/"}],"_links":{"self":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/128285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/users\/9167"}],"replies":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/comments?post=128285"}],"version-history":[{"count":1,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/128285\/revisions"}],"predecessor-version":[{"id":326565,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/128285\/revisions\/326565"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/media\/130376"}],"wp:attachment":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/media?parent=128285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/categories?post=128285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/tags?post=128285"},{"taxonomy":"usertag","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/usertag?post=128285"},{"taxonomy":"vertical","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/vertical?post=128285"},{"taxonomy":"content-category","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/content-category?post=128285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}