Adding Umami Analytics

I have to put a line of code on my blog, but the JavaScript box doesn’t allow html.

Is it possible to convert this into vanilla js?

Here is it:

https://pastebin.com/6kXjcpgS