TolgaTatli/Moon

How to add google analytics Script code

ytam opened this issue · 5 comments

ytam commented

How I can embedded google analytics script code to see who visit my website.

Just add your Google Analytics ID in the file: _config.yml.
Wish that is helpful for you.

ytam commented

I add it but does not work

ytam commented

The page build failed with the following error:

You have an error on line 2 of your _config.yml file. For more information, see https://help.github.com/articles/page-build-failed-config-file-error/.

For information on troubleshooting Jekyll see:

https://help.github.com/articles/troubleshooting-jekyll-builds

If you have any questions you can contact us by replying to this email.

The mine is not my user ID, is a ID started with UA-9******.

ytam commented

I add that code but still does not work