Add tracking to has the option to add custom CSS and JS to the site. has also basic tracking for the posts and how they are performing. But it is just basic tracking and only for the last 30 days. So I wanted a bit more. For private projects, I use Which is privacy-friendly and hosted in Germany. I will try this out. If it is not working as expected, I will remove the script.

How can you implement such a script?

First, go to your Dashboard and click the + Icon on the top-right.

Add a new website to your Dashboard

You will be asked between Client or Server implementation. Go to Client implementation and copy the script tag.

<script defer src=""

Now, transfer this HTML into JavaScript. Here we create a new element and add it to the document <head />.

// Add prisch tracking --- START
const script = document.createElement('script');
script.setAttribute('id', 'pianjs');
script.setAttribute('defer', true);
script.setAttribute('src', '');
script.setAttribute('data-code', 'YOUR_SITE_CODE');
// Add prisch tracking --- END

This snipped can be added to your blog. Go to your Dashboard and select the Customize Button. Here is an area where you can add custom JavaScript.

Add custom JavaScript to

Hit “Save changes” and reload your blog. The script should now be added. :)

I hope this will help someone.

25/100 of #100DaysToOffload

#log #writeAs