Your SlideShare is downloading. ×
0
15 web-analytics understanding-async
15 web-analytics understanding-async
15 web-analytics understanding-async
15 web-analytics understanding-async
15 web-analytics understanding-async
15 web-analytics understanding-async
15 web-analytics understanding-async
15 web-analytics understanding-async
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

15 web-analytics understanding-async

369

Published on

Web analytics in small bites. A 2 minutes video explaining what the Asynchronous Google Analytics code is.

Web analytics in small bites. A 2 minutes video explaining what the Asynchronous Google Analytics code is.

Published in: Self Improvement
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
369
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Google Analytics Intro - Accounts Understanding Async: (Asynchronous Google Analytics Tracking Code)
  • 2. <ul><li>To understand the basics of how it works, we are going to take a closer look at the components of the: </li></ul><ul><li>  Asynchronous Google Analytics Tracking Code. </li></ul><ul><li>As we know from our previous segment </li></ul><ul><li>  Tagging Your Pages :  </li></ul><ul><ul><li>This tracking code is simply referred to as   Async .  </li></ul></ul><ul><ul><li>It is a javascript snippet inserted at the bottom of the <head> section of all your site pages. </li></ul></ul>Understanding - Async
  • 3. There are 3 main parts to the Async code: 1 . ga.js  - master file. 2 .   UA or Unique account ID .          UA-XXXX-YY 3 .   _trackPageview() Understanding - Async 3 1 2
  • 4. <ul><li>ga.js   </li></ul><ul><li>Google Analytics tracking is activated by ga.js being inserted into the web page. </li></ul><ul><ul><li>Size is 18KB </li></ul></ul><ul><ul><li>Once it is called it is cached by the visitor's browser for all subsequent page views.  </li></ul></ul><ul><ul><li>Because it is exactly the same for all GA accounts, if someone went to another site with GA it's already cached in their browswer &  not called at all. </li></ul></ul>Understanding - Async 1 2
  • 5. UA-XXXX-Y   UA  or  Unique account ID is unique for each GA account. The X's and Y would actually be numbers representing your account.  It must be entered exactly as provided during sign up  or your data will be sent to another account      _SetAccount  is used to set the  web property ID for the tracker.  Thus identifying your account to the server. Understanding - Async
  • 6. <ul><li>_trackPageview()   </li></ul><ul><li>_trackPageview() collects: </li></ul><ul><ul><li>The URL of the pageview a visitor loads in their browser. </li></ul></ul><ul><ul><li>Browser Type </li></ul></ul><ul><ul><li>Language setting </li></ul></ul><ul><ul><li>Referrer </li></ul></ul><ul><ul><li>Timestamp. </li></ul></ul><ul><li>Cookies are then read and set and the information is sent to the Google data-collecting servers. </li></ul>Understanding - Async
  • 7. Understanding - Async What can prevent Async from collecting data? Keep in mind that there are things that will prevent Async from collecting & sending data such as when the visitor: 1.  Blocks the setting of 3rd party cookies in their browser. 2.  Has script blocking add-ons or software such as No-Script. Also if you forget to add Async to a page or your webserver does no allow Async to execute (due to a firewall).   1 2
  • 8. GOOGLE ANALYTICS INTRO - Accounts Today we covered: Understanding Async: Asynchronous Google Analytics Tracking Code Contact me for more information on any item in the series . [email_address]

×