I guess you can use any JS snippet integration available. There are plenty of alternatives:
https://european-alternatives.eu/category/web-analytics-serv...
I'm the co-founder of Pirsch (pirsch.io), so if you have any questions regarding analytics (any, not just ours), let me know. For our solution I can assure you that it's GDPR compliant and doesn't require a cookie consent banner.