Is there a way to add websites programatically? #3234
Replies: 3 comments
-
You can directly make an API call to achive this, but I don't think the API is well documented. This file may contains something helpful: https://github.com/umami-software/umami/blob/e34547cf2dcce33e1f637c41af8f35481f316269/src/pages/api/websites/index.ts |
Beta Was this translation helpful? Give feedback.
-
Yes, you can: https://umami.is/docs/api/websites-api#post-/api/websites |
Beta Was this translation helpful? Give feedback.
-
Hey guys, thanks. I found that not long after posting the question. However, I realized that it doesn't really work the way I wanted. If I'm patching an application with I was thinking something more on the style of a Have you ever heard of something like this for Umami? Thanks a lot. |
Beta Was this translation helpful? Give feedback.
-
Umami requires manual actions to add a website and then to copy the tracking code to the web application.
I wish to automate the deployment of a website + umami. That is, I want to programatically generate the tracking code for my website and insert it during deployment.
Is it possible?
Beta Was this translation helpful? Give feedback.
All reactions