Enabling Google analytics throws error on build #5321
-
Hi, I'm having some difficulties on building with CI only, on Netlify. On my machine it seems to be working, but on the CI script it seems to fail and I'm not sure where I should look for differences. The only difference that is clear is Phython's version. I have installed pip 23.0.1 with python 3.10 and Netlify only supports 3.8 (for the time being). This is the yaml block that causes the issue; if removed, it builds properly extra:
analytics:
provider: Google
property: G-XXXXXXXXXX I've executed
If I run
Further logs from the build
I'm not a Python expert so if anyone can point me out on the right direction I'd appreciate it. I'm sure this is probably a configuration or dependency issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Your configuration has a syntax error: extra:
analytics:
provider: google # <-- must be lowercase
property: G-XXXXXXXXXX |
Beta Was this translation helpful? Give feedback.
Your configuration has a syntax error:
Our documentation mentions the correct syntax.