To get analytics in a Hugo Jamstack website, you can use one of the following approaches: Third-party analytics tools such as Google Analytics or Matomo. These tools provide a tracking code that you can embed in your JAMstack website to collect user behavior data. Custom server-side tracking: You can use a serverless function to track user behavior data and store it in a database. Use an all-in-one service provider. It should be noted that all three options have their downsides.