Ok you have a lot of mistakes but I go easy on you as I’m in lock down here in Australia and bored silly.
I did a config for you this is a one-off thing you need to learn a few things before tackling something like GA.
Hints
READ the Wiki in full then read it again, then again, then again.
http://wiki.bugsounet.fr/en/MMM-GoogleAssistant

A config.js needs to look the same as in Wiki you had a lot of mistakes.
Start small add modules that are easy to config.

COPY YOUR CONFIG BEFORE MAKING CHANGES AS A BACKUP.
You still have to add MMM-Detector module http://wiki.bugsounet.fr/en/MMM-Detector for GA to work i have added it to config so you just need to install.
PM me a email address
I have done this as I think we were getting nowhere and I say you still will have problems that is why you need to READ THE WIKI IN FULL before posting it should be all there.
szdsgfa.JPG