Skip to content
Blog Home
Articles
Category
  • Blog Home
    • Slide page
      • Articles

          • Stopping specific bots from using your monthly ShipperHQ quota
            • Dockerizing a MERN stack
              • Easy way to add google Ads to vuepress running on netlify
                • Easy way to add google analytics to vuepress running on netlify

              Easy way to add google analytics to vuepress running on netlify

              author iconMichael LaPancalendar iconApril 6, 2022category icon
              • Programming
              tag icon
              • programming
              • netlify
              • vuepress
              timer iconLess than 1 minute

              # Easy way to add google analytics to vuepress running on netlify

              Altering vuepress theme's can be a daunting task. The best kind of developer is a lazy one.

              If your site is deployed with netlify all you need to do is the following.

              Go to your site -> Site settings -> Build & deploy -> Post processing -> Snippet injection

              Click the drop down -> hit before head.

              Then copy and past the google analytics code they provide. Netlify will inject this script in as your page loads. No need to attempt to modify your theme.

              Last update: 4/7/2022, 1:13:25 AM
              Contributors: Michael lapan
              Prev
              Easy way to add google Ads to vuepress running on netlify
              Copyright © 2022 Michael LaPan

              This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system.

              Description