Anthony Ronga
posted this on March 31, 2011 12:08 pm
if you are looking to track your visitors, Google Analytics is the way to go. Below you will find steps on adding your Google UA code to your website backend. If you do not have a Google Analytics account, please see our general knowledge article under tips and tricks.
Comments
well it's easy to see where to insert the UA code but where exactly do you paste the google analytics script? (or statcounter script etc) ? The UA code will only work if the script is pasted into every page of the website you want to track. I am using Annatto and currently have 19 pages. I can access all the data on my server but I'm not sure where HTML for pages is stored?
you don't have to worry about this. we handle it all programatically using javascript and google's public api. and in the non-flash versions, we dynamically insert the correct google markup in the document head.
What if you combining a web site and a blog into one of your blog/site templates. How do I assign the web site code to the home page and then apply the blog code to the blog page. Or am I just stuck with one code for the whole site?
Is there a period of time before google analytics can read the info after I add the code to the Setup>Settings tab? I visit the google analytics site, and it tells me the code is not inserted in my web site.
@ michael -- i think it takes a day. the way google checks to see if it's receiving data is actually to parse your html page (the DOM) for correct code syntax -- not by actually receiving responses. i just took a peek under the hood of your website by using firebug, and there are indeed outgoing calls to google, so you should be able to see your traffic tommorrow for today.
@bob -- since blogsites are inherently simple html pages, there is no fancy footwork necessary under the hood, so to speak. you should be able to track users to the website homepage in the content drill-down tab of google analytics. because of the interactive nature of flash, it requires special handling to ensure we track internal pages.
How do you find that code for statcounter.com? It wants me to insert a larger amount of text than shown?
@jamie -- as we discussed, statcounter's lack of a public api for tracking dynamic pages doesn't make statcounter a viable tracking option for our flash sites.
Me again: if i enter the same google analytics UA code into the setup panel for my Flaunt site, which is a subdomain of my main web site, do I use the same code that is used on the main site? I want the data to be tracked for the domain and subdomain from the same analytics dashboard. Thanks again: love your products!!!!