Google Analytics in my website

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. 

 

STEP 1: Set up an Google Analytics account

Click the link below to get signed up in 3 steps. 

https://support.google.com/analytics/answer/1008015?hl=en

 

STEP 2 Find your Google Analytics Embed code 

Click the link below to learn how to find your embed code.

https://support.google.com/analytics/answer/1032385?hl=en

 

STEP 3: Embed the code into the backend of your HTML5 website 

  1. Click the "Setup" tab
  2. Click on "Settings"
  3. Find the Analytics Embed Code field and past the entire Google code. Hint: It should look like a paragraph of code. 
  4. Click "Save"

NOTE: If you have one of our old retired Flash templates, you only use the UA code (ie: UA-XXXXXXX-X) code.  

 

________

SIX AWESOME GOOGLE STATS YOU SHOULD KNOW ABOUT

Click the link below to read about 6 of our favorite Google stats that will help you get started in analyzing your traffic.

http://intothedarkroom.com/blog/my-6-favorite-google-stats/ 

Have more questions? Submit a request

17 Comments

  • 0
    Avatar
    Wendyadiephotography

    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?

  • 0
    Avatar
    michael sablone

    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.

  • 0
    Avatar
    Bob

    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?

  • 0
    Avatar
    Michael Santistevan

    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.

  • 0
    Avatar
    michael sablone

    @ 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.

  • 0
    Avatar
    michael sablone

    @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.

  • 0
    Avatar
    Jamie Siever

    How do you find that code for statcounter.com? It wants me to insert a larger amount of text than shown?

  • 0
    Avatar
    michael sablone

    @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.

  • 0
    Avatar
    Michael Santistevan

    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!!!!

  • 0
    Avatar
    Michael Santistevan

    Forgot to mention. I added the UA code only today for first time in Flaunt, which is why I don't know yet how it tracks. I had been wondering why my analytics report kept showing my own subdominant as a referrer to my site and I couldn't see any traffic on the proofing galleries. Didn't realize I never finished the setup. Oops.

  • 0
    Avatar
    Vincent BOURRUT

    where is the Google Analytics field in the Sarin Template ?

  • 0
    Avatar
    Angelawoolridge

    I have the Tres Chic template and followed the above instructions and nothing happened in my google analytics. It already tracks another website for me. I checked and the UA code on the template matches the one that is on my google dashboard......what am I doing wrong??? Does the http web address need to follow the UA code in the google analytics field on the template????

  • 0
    Avatar
    Angelawoolridge

    PS...It has been 2 weeks

  • 0
    Avatar
    Brandon Charles

    Angela, 

    I do not see any open tickets from you (unless I missed them). Please submit a ticket with your login/password and we would be happy to take a look. :)

  • 0
    Avatar
    Caio Faria

    I just did you it said me to do but my google analytics code shows up on the blogsite.
    I'm filling it up wit photos and information, but you can see it at the end of the site.

    http://doisdenos.com

    How can I hide it?

  • 0
    Avatar
    Carolyn Atherley

    I am using the Lyra template. Where do I put in my Google Analytic code and what one? The UA code or the long "script" one?

  • 0
    Avatar
    SAGAR AUTE

    I am using ASP.Net , i want to track the events like button_click,text_changed,etc , can I track this events...

Please sign in to leave a comment.
Powered by Zendesk