-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hi,
Maybe I'm wrong but am I the only one who gets multiple tracking errors while using the version 3.1.12 of SwagGoogle plugin inside a Shopware 5.5.10 installation?
After I installed the plugin and set the configuration (Tracking ID, UA library), I cleared all caches and that stuff. When I check the tracking code with the Google Assistant extension for
Chrome, I get two tracking error, because it couldn't find the propertyID and a leading or trailing whitespace in the ID on following lines
https://github.com/shopwareLabs/SwagGoogle/blob/master/Resources/frontend/js/google_analytics.js#L28-L29
(pls ignore the http error).
It's confusing that it initializes the GA Library too, instead of just the choosen one in the plugin configuration.
best regards
Arya
