To add Google Analytics to your site, there's two primary steps:
For more information about setting up your Google Analytics account, refer to Google Analytics Help.
Once you have your analytics account set up, Google will provide you with a tracking code snippet. This will look something like this:
Your analytics account number is the string "UA-1234567-1"; your number will be different, of course, and it is essential that you have the correct value here.
Save this code in a snippet, which you may want to call "analytics".
Then include this snippet in all your page templates, just before the closing head tag (</head>). (Some of our SmartThemes use the older Google Analytics code, and load it at the end of the body. We recommend moving it to the end of the head section and using the newer Google snippet.)
It takes up to 12 hours before Google starts showing results.
Note: Depending on how your site was built and what Webvanta SmartTheme it started from, you may have a Global Setting to store your Google Analytics account number. Our default analytics snippet then references this value. We now recommend that you simply delete the Global Setting and paste the complete Google Analytics tracking code into the analytics snippet.