Hey there,
With 2.0.0, we released support for Google’s Consent Mode. We use the new API to block cookies for EEA visitors by default until they individually grant consent to follow European GDPR rules.
So, the drop in tracked visitors may be just a result of not getting data from your European visitors. Google claims they would somewhat fill the gaps with modeled data for the visitors who didn’t consent.
Reverting back to 1.x would result in collecting data without visitors’ consent and may have legal implications depending on the local law.
You can customize your consent mode setup using a PHP snippet, as mentioned in the extensions README.
wcgai.trackClassisPages
is not a function error
With the new release, we changed the structure of JS scripts. The error you mention may be a result of some caching or a script-defer plugin you use that may reorder scripts. See the similar report.
Make sure any other extension does not change the order & placement of?woocommerce-google-analytics-integration
?script.
Hope this helps!