Even if any tracking your site does already fully complies with GDPR as does your handling of personal data, it still takes some effort and costs some money if GDPR actually applies to your site.
If you are not in Europe, the main thing that determines whether or not GDPR applies to your site is Article 3 of the GDPR, "Territorial Scope", and the corresponding Recitals.
A big factor there is whether you are offering goods or services in the Union, irrespective of whether or not users have to pay. Mere accessibility from the Union isn't enough to show you are offering things in the Union. What matters is whether or not the site "envisages offering services to data subjects in one or more Member States in the Union".
There are several things that can show you are envisaging offering in the Union. Having localized versions of your site in languages that are used in the Union but not in your own country, accepting payment in Euros or the national currencies of Union members, targeting Europeans with ads for your site, and many others.
If you aren't doing those things, it gets more subjective. If your site should be of no interest to Europeans, and you don't expect to make any money from whatever Europeans happen to somehow end up on it, it is simplest to do a geoip block on Europe. That should conclusively establish that you do not envisage offering services to people in the Union.
It's not only offering goods and services but also "monitoring of behaviour" so analytics and tracking, which, strictly speaking, makes the GDPR applicable to most websites on this planet.
In practice, if you don't have high visibility (i.e are small enough, which probably means 90% of websites) and don't have any presence in the EU then just ignore GDPR because no-one is going to go after a website on another continent because it tracks visitors and sometimes people from the EU visit it.
If you are not in Europe, the main thing that determines whether or not GDPR applies to your site is Article 3 of the GDPR, "Territorial Scope", and the corresponding Recitals.
A big factor there is whether you are offering goods or services in the Union, irrespective of whether or not users have to pay. Mere accessibility from the Union isn't enough to show you are offering things in the Union. What matters is whether or not the site "envisages offering services to data subjects in one or more Member States in the Union".
There are several things that can show you are envisaging offering in the Union. Having localized versions of your site in languages that are used in the Union but not in your own country, accepting payment in Euros or the national currencies of Union members, targeting Europeans with ads for your site, and many others.
If you aren't doing those things, it gets more subjective. If your site should be of no interest to Europeans, and you don't expect to make any money from whatever Europeans happen to somehow end up on it, it is simplest to do a geoip block on Europe. That should conclusively establish that you do not envisage offering services to people in the Union.