Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing webpropertyID #17

Open
AryaSvitkona opened this issue Oct 22, 2019 · 0 comments
Open

Missing webpropertyID #17

AryaSvitkona opened this issue Oct 22, 2019 · 0 comments

Comments

@AryaSvitkona
Copy link

AryaSvitkona commented Oct 22, 2019

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).

Screenshot 2019-10-22 at 15 36 12

It's confusing that it initializes the GA Library too, instead of just the choosen one in the plugin configuration.

best regards
Arya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant