I have tried to get the Google Analytics activated on my website but keep getting an error message "The Parameter “SiteCode” “Google Analytics” has no value.
I can’t double check if the value is there, or if it is correct - how do I check this value on the website?
Hmm, I applied the action to the site folder, as well as tried an individual page.
The setting goes and off but leaves the actual field in the source code empty. I edited the html files manually, and added the UA-id into the files. When I open the files on freeway, this gets overwritten …
Hmm, I applied the action to the site folder, as well as tried an individual page.
I think if you apply it to the site folder only it is best. It should ripple through the entire site. You may have conflicting versions. Just do the one on the site folder.
The setting goes and off but leaves the actual field in the source code empty.
Can you explain this better? I’m betting that you have the site folder action blank and it is erasing the individual page setting.
I edited the html files manually, and added the UA-id into the files. When I open the files on freeway, this gets overwritten …
Any ideas?
Nina
Yes. Either use the action as intended or do not. I think you must be messing too much. Apply it once and let Freeway do the work. Put your site on the web; in my case it only took 15 minutes for Google Analytics to start tracking. It works great.
The way I did it was after getting the site code (UA-xxxxxxxx-x) from Google, I applied the ‘Google Analytics’ action from the Page menu> Page Actions to my ‘Master’ page, so it got to every page I made.
Just the UA starter code there should do the trick. You could do either the Page or the Folder action, but depending on what actions you use on the page it may not be applying it correctly.
For instance I know Joe Muscara’s ExpressionEngine actions don’t play well with the Google Analytics folder action, which results in me having to manually add the GA tracking template by template.
All, thanks for the advice! I removed the Analytics from all the sites, published the site, added the UA code only as a folder action and published again.
Now it works perfectly; just like Ted said, it took 15 mins and Google was already tracking the site.