1) загрузите папку flowanalys в корень сайта
2) установите права 777 flowanalys/visits.txt и flowanalys/fingerprints.txt
3) Добавьте в head код
//script to html
<script>
    function initFingerprintJS() {
        // Initialize an agent at application startup.
        const fpPromise = FingerprintJS.load()

        // Get the visitor identifier when you need it.
        fpPromise
        .then(fp => fp.get())
    .then(result => {
            // This is the visitor identifier:
            const visitorId = result.visitorId
            var url = window.location.href;
            if(url.indexOf("?")>0)
                var url = url+"&f_pring="+visitorId+"&loc="+btoa(window.location.href);
            else
                var url = url+"?f_pring="+visitorId+"&loc="+btoa(window.location.href);

            const http = new XMLHttpRequest()
            http.open("GET", url)
            http.send()
    })
    }
</script>
<script
        async
        src="//cdn.jsdelivr.net/npm/@fingerprintjs/fingerprintjs@3/dist/fp.min.js"
        onload="initFingerprintJS()"
            ></script>
//
4) добавитьте код в index.php
require_once("flowanalys/flow.php");
$Flow=new Flow("");
$Flow->write("flowanalys");
5) настройка завершена!