Customizr & Google Analytics Tracking Code
-
Hi, thank you so much for the Customizr theme & all the great support info which I find so useful.
I’ve read your article many times about setting up Google Analytics tracking code (here)
Under the section on adding it manually, I think there may be something wrong with the PHP code, I think before
<!--START OF TRACKING CODE -->), and possibly after<!-- END OF TRACKING CODE -->I’ve put the code you recommend in my Child PHP file (with my unique GA code pasted in the relevant section).
I’ve been getting the following error, referring to the line that says
<script>:Parse error: syntax error, unexpected ‘)’ in […][…] on line 2
I’ve tried a lot of googling & researching, but am not expert enough to solve it.
My whole Child Theme PHP is currently not working properly & I’m wondering if this may be the problem?
Please could you let me know if you see an error in this code, and / or any ideas to fix it?
I’m extremely grateful for any help you can give me
Thank you so much
Sarah
The topic ‘Customizr & Google Analytics Tracking Code’ is closed to new replies.
