{"id":534,"date":"2025-06-30T14:55:59","date_gmt":"2025-06-30T14:55:59","guid":{"rendered":"https:\/\/blog.ngocha.biz\/?p=534"},"modified":"2025-06-30T14:55:59","modified_gmt":"2025-06-30T14:55:59","slug":"website-analytics-in-ghost","status":"publish","type":"post","link":"https:\/\/blog.ngocha.biz\/?p=534","title":{"rendered":"How to Set Up Website Analytics on Your Ghost Blog (Step-by-Step Guide)"},"content":{"rendered":"<p>Looking for a best option for tracking analytics for your Ghost website? <\/p>\n<p>This guide is for you. In this guide, I\u2019ve shared the steps to set up Ghost website analytics using the Plausible Analytics platform.<\/p>\n<p>I am a blogger and I want a simple yet effective way to track my website visitors, user activity, and more. As you might know the native Ghost analytics is of no use.<\/p>\n<p>Initially, I tried tracking with Google Analytics, but it was too complex for my needs.<\/p>\n<h2 id=\"moving-from-google-analytics-to-plausible\">Moving from Google Analytics to Plausible<\/h2>\n<p>When I was using <a href=\"https:\/\/devopscube.com\/setup-wordpress-on-cloudways\/\" rel=\"noreferrer\">WordPress<\/a>, Jetpack was simple and did the job well. But with Ghost, I had to find a good alternative and ended up choosing Plausible.<\/p>\n<p>The data shown in the dashboard is clean, and as a blogger, it has everything I need. Plausible is a similar one but with subscription charges. <\/p>\n<p>So why did I choose Plausible?<\/p>\n<p>I chose Plausible because it\u2019s lightweight and doesn\u2019t affect website performance. This is important for blogs trying to build a brand, as a smooth user experience helps keep visitors engaged. I didn\u2019t want to slow down my site with heavy or random tools.<\/p>\n<div class=\"kg-card kg-callout-card kg-callout-card-yellow\">\n<div class=\"kg-callout-text\"><b><strong style=\"white-space: pre-wrap;\">Note: <\/strong><\/b>Plausible is not free, but for the subscription price, the value it offers is worth it.<\/div>\n<\/div>\n<h2 id=\"setting-up-plausible-analytics-on-ghost\">Setting Up Plausible Analytics on Ghost<\/h2>\n<p>In this post, I\u2019ve shared step-by-step instructions to get started with Plausible and also showed how to import data from Google Analytics.<\/p>\n<p>Follow the step by step guide given below.<\/p>\n<h3 id=\"step-1-register-for-plausible\">Step 1: Register for Plausible<\/h3>\n<p>Go to the <a href=\"https:\/\/plausible.io\/register?ref=devopscube.com\" rel=\"noreferrer\">Plausible registration page<\/a> and sign up for an account. You\u2019ll get a 30-day trial.<\/p>\n<h3 id=\"step-2-copy-the-plausible-script\">Step 2: Copy the Plausible Script<\/h3>\n<p>During the signup process, you\u2019ll get the option to copy the Plausible tracking script. This script needs to be added to your Ghost website for tracking.<br \/>You can also enable options as shown below. <\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-105.png\" class=\"kg-image\" alt=\"Plausible analytics script with additional options\" loading=\"lazy\" width=\"1616\" height=\"1456\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-105.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/06\/image-105.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1600\/2025\/06\/image-105.png 1600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-105.png 1616w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>Keep the page open so you can copy the code later.<\/p>\n<p>We\u2019ll use this code in the Ghost configuration step next.<\/p>\n<h3 id=\"step-3-add-the-script-to-ghost-website\">Step 3: Add the Script to Ghost Website<\/h3>\n<p>From your Ghost admin page, click the settings icon in the bottom-left corner.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-102.png\" class=\"kg-image\" alt=\"Ghost settings option\" loading=\"lazy\" width=\"2000\" height=\"1446\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-102.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/06\/image-102.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1600\/2025\/06\/image-102.png 1600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w2400\/2025\/06\/image-102.png 2400w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>You\u2019ll find the <strong>Code Injection<\/strong> option at the bottom left under the <strong>Advanced<\/strong> section. Click on it.<\/p>\n<p>Then click <strong>Open<\/strong> as shown below.<\/p>\n<figure class=\"kg-card kg-image-card kg-card-hascaption\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-104.png\" class=\"kg-image\" alt=\"\" loading=\"lazy\" width=\"2000\" height=\"1277\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-104.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/06\/image-104.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1600\/2025\/06\/image-104.png 1600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-104.png 2036w\" sizes=\"auto, (min-width: 720px) 720px\"><figcaption><span style=\"white-space: pre-wrap;\">opening code injection option<\/span><\/figcaption><\/figure>\n<p>In the <strong>Header<\/strong> section, paste the Plausible script you copied in Step 2.<\/p>\n<figure class=\"kg-card kg-image-card kg-card-hascaption\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-106.png\" class=\"kg-image\" alt=\"\" loading=\"lazy\" width=\"1480\" height=\"954\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-106.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/06\/image-106.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-106.png 1480w\" sizes=\"auto, (min-width: 720px) 720px\"><figcaption><span style=\"white-space: pre-wrap;\">adding plausible analytics script to site header in ghost<\/span><\/figcaption><\/figure>\n<h3 id=\"step-4-verify-the-script-installation\">Step 4: Verify the Script Installation<\/h3>\n<p>Go back to the Plausible page and click <strong>&#8220;Start Collecting Data&#8221;<\/strong>.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-107.png\" class=\"kg-image\" alt=\"verifying plausible analytics in ghost\" loading=\"lazy\" width=\"2000\" height=\"1712\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-107.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/06\/image-107.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1600\/2025\/06\/image-107.png 1600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w2400\/2025\/06\/image-107.png 2400w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>If you\u2019ve added the script correctly, you\u2019ll see a success message as shown below.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-108.png\" class=\"kg-image\" alt=\"\" loading=\"lazy\" width=\"1150\" height=\"706\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-108.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/06\/image-108.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-108.png 1150w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>That\u2019s it! Your analytics dashboard is ready.<\/p>\n<p>Plausible will start tracking your website user activity right away.<\/p>\n<p>Here is my website\u2019s dashboard, showing live data right after setting up the tracking script.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-109.png\" class=\"kg-image\" alt=\"plausible ghost website analytics data\" loading=\"lazy\" width=\"2000\" height=\"1208\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-109.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/06\/image-109.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1600\/2025\/06\/image-109.png 1600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-109.png 2228w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<h2 id=\"importing-data-from-google-analytics\">Importing Data from Google Analytics<\/h2>\n<p>If you were using Google Analytics, you can import the data into Plausible. Here\u2019s how:<\/p>\n<p>Click the dropdown next to your website name, and you\u2019ll see the <strong>Site Settings<\/strong> option.<\/p>\n<figure class=\"kg-card kg-image-card kg-card-hascaption\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-110.png\" class=\"kg-image\" alt=\"\" loading=\"lazy\" width=\"1180\" height=\"824\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-110.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/06\/image-110.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-110.png 1180w\" sizes=\"auto, (min-width: 720px) 720px\"><figcaption><span style=\"white-space: pre-wrap;\">plausible site settings<\/span><\/figcaption><\/figure>\n<p>In <strong>Settings<\/strong>, you\u2019ll find the <strong>Imports &amp; Exports<\/strong> option.<\/p>\n<p>There, you\u2019ll see the <strong>Import from Google Analytics<\/strong> option as shown below.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-111.png\" class=\"kg-image\" alt=\"Plausible google analytics data import option\" loading=\"lazy\" width=\"2000\" height=\"1293\" srcset=\"https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w600\/2025\/06\/image-111.png 600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1000\/2025\/06\/image-111.png 1000w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/size\/w1600\/2025\/06\/image-111.png 1600w, https:\/\/storage.ghost.io\/c\/5f\/2f\/5f2f4d20-2abf-4534-8d40-7aa233aedd43\/content\/images\/2025\/06\/image-111.png 2234w\" sizes=\"auto, (min-width: 720px) 720px\"><\/figure>\n<p>Click that option and sign in to your Google Analytics account.<\/p>\n<p>Once you select the property and set the date range, all the data will be imported into Plausible. Its pretty quick actually!<\/p>\n<h2 id=\"wrapping-up\">Wrapping Up<\/h2>\n<p>As a Ghost user, I found Plausible to be a better option for website stats and analytics.<\/p>\n<p>Google Analytics didn\u2019t work for me because it was too complex. Plausible is simple, clean, and gives all the data a blogger needs.<\/p>\n<p>Hope this article was helpful. I\u2019ll keep updating this guide based on my experience with the platform.<\/p>\n<p>Over to you:<\/p>\n<p>What analytics tool are you using? Have you tried Plausible yet?<\/p>\n<p>Let me know your thoughts in the comments.<\/p>\n<hr>\n<p><strong>Ngu\u1ed3n:<\/strong> <a href=\"https:\/\/devopscube.com\/website-analytics-in-ghost\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Set Up Website Analytics on Your Ghost Blog (Step-by-Step Guide) \u2014 DevOpsCube<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source: https:\/\/devopscube.com\/website-analytics-in-ghost\/<\/p>\n","protected":false},"author":1,"featured_media":535,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-534","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"_links":{"self":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/posts\/534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=534"}],"version-history":[{"count":0,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/posts\/534\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=\/wp\/v2\/media\/535"}],"wp:attachment":[{"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ngocha.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}