banner
libxcnya.so

libxcnya.so

Nothing...
telegram
twitter
github
email

Mix-Space Shiro theme uses Umami statistics

Preface#

I've already posted one last time, but since it wasn't enough, I'll post another one.

Tutorial#

Actually, it's quite simple.
First, let's open the Umami backend, create a new website, and take note of the website ID
1

Then, go to Backend -> Additional Features -> Configuration and Cloud Functions, find the theme -> shiro that was written during deployment, and click edit.
Scroll down to find the custom block, which contains a scripts section.
Inside the scripts section, write the following:

[
  {
    "src": "https://<your-umami.com>/script.js",
    "data-website-id": "<your-site-id>"
  }
]

Just like this.
2
Then click save in the top right corner.

After that, rebuild the frontend.
3
4

Once done, open the website and check the Umami backend.
You should see visitor records already.
5

That's the end of the tutorial. If it was helpful to you, feel free to share it with others.
Also, please give it a like, and if you're able, consider supporting. Your likes are my motivation for updates, thank you meow

This article is synchronized updated by Mix Space to xLog
The original link is https://blog.nekorua.com/posts/mx-space/118.html


Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.