Users andrew and AndreasZhou are experiencing issues adding an analytics script to the header of their Discourse communities. They both mention seeing “No Items” under the Themes tab and are unsure how to proceed. osioke suggests using a theme component to include the analytics code in the head part of the theme and provides links to guides on creating theme components and setting up Google Analytics and Plausible. osioke further advises that a theme needs to be installed before components can be added, and provides a link to a guide on installing themes.
Are you trying to add Google Analytics or Plausible? If it is a different Analytics provider, you can use a theme component to include the Analytics code in the head part of your theme.
I have the same issue. Under Themes it shows “No Items” so I cannot add any components to a theme because I dont seem to have one. I read the Beginners guide to using Discourse Themes, however there seem to be themes installed already. I dont have any.
To start off with a theme, you need to install it, have you tried doing that? Check out Installing a theme or theme component for info on how to do that.