Thursday, January 15, 2015

Get Familiar with Android UI Widgets

Toast
Is use to display information for short period of time
Object<-Toast
makeText, setMargin and show() functions mainly used here

CustomToast
We can create custom toast in Android to display image

ToggleButton
Android Toggle Button can be used to display checked/unchecked (On/Off) state on the button.
Object<-View<-TextView<-Button<-CompoundButton<-ToggleButton
getTextOff(), getTextOn() and setChecked(boolean checked) is used here

CheckBox
Android CheckBox is a type of two state button either checked or unchecked.
Object<-View<-TextView<-Button<-CompoundButton<-CheckBox
boolean isChecked(), setChecked(boolean status) is mainly used here

AlertDialog
Android AlertDialog can be used to display the dialog message with OK and Cancel buttons. It has 3 regions title, content area and action buttons
Object<-Dialog<-AlertDialog
setMessage, setCancelable, setPositiveButton mainly used here

Button
There are different types of buttons in android such as RadioButton, ToggleButton, CompoundButton etc.
Object<-View<-TextView<-Button<-CompoundButton

Spinner
Combo Box, e.g. Box to Select List of Countries
Object<-View<-ViewGroup<-AdapterView<-AbsSpinner<-Spinner

AutoCompleteTextView
Android AutoCompleteTextView completes the word based on the reserved words
Object<-View<-TextView<-EditText<-AutoCompleteTextView<-MultiAutoCompleteTextView

RatingBar
Android RatingBar displays the rating in stars
Object<-View<-ProgressBar<-AbsSeekBar<-RatingBar
getRating is the main fn of RatingBar

WebView
Android WebView is used to display web page in android
Object<-View<-ViewGroup<-AbsoluteLayout<-WebView
loadUrl() and loadData() are the main fn of WebView

SeekBar
Android SeekBar is a kind of ProgressBar with draggable thumb
Object<-View<-ProgressBar<-AbsSeekBar<-SeekBar
SeekBar.OnSeekBarChangeListener interface provides methods to perform event handling for seek bar.

DatePicker 
Android DatePicker is a widget to select date
Object<-View<-ViewGroup<-FrameLayout<-DatePicker

TimePicker
It allows you to select time by hour and minute.
Object<-View<-ViewGroup<-FrameLayout<-TimePicker

Analog clock and Digital clock
Android analog and digital clocks are used to show time in android application.

ProgressBar
Object<-Dialog<-AlertDialog<-ProgressDialog
setProgress(), setMessage(), setProgressStyle(), setMax(), show() etc. methods are use

Tuesday, January 13, 2015

Google Analytics Test Preparation

Google Analytics IQ study guide

Getting started with digital analytics

Understanding and using Google Analytics data

Collecting actionable data with Google Analytics

Navigating Google Analytics reports

Navigating Conversions reports

Platform Principles: Fundamentals

Platform Principles: Collection

Platform Principles: Processing and Configuration

Platform Principles: Reporting


Source:
https://support.google.com/analytics/topic/6083717
http://trafficmotion.com/72-questions-you-need-to-know-for-the-google-analytics-iq-exam/
http://www.onlinemarketingtips.in/google-analytics-certification/

Monday, January 12, 2015

Know About Google Analytics Cookies

There can be up to five different cookies that a website with Google Analytics tracking code sets on your computer. However, four of them are automatically set, while the fifth one is an optional cookie. Let’s take a look at each one.

__utma set for life time (2038)
This cookie keeps track of the number of times a visitor has been to the site pertaining to the cookie, when their first visit was, and when their last visit occurred. Google Analytics uses the information from this cookie to calculate things like Days and Visits to purchase.

__utmb expire when close browser
__utmc expires after 30 minute
working together to calculate how long a visit takes. __utmb takes a timestamp of the exact moment in time when a visitor enters a site, while __utmc takes a timestamp of the exact moment in time when a visitor leaves a site. __utmb expires at the end of the session. __utmc waits 30 minutes, and then it expires. You see, __utmc has no way of knowing when a user closes their browser or leaves a website, so it waits 30 minutes for another pageview to happen, and if it doesn’t, it expires.

__utmz expires in 15,768,000 seconds or 6 months
__utmz keeps track of where the visitor came from, what search engine you used, what link you clicked on, what keyword you used, and where they were in the world when you accessed a website.

__utmv as per the user requirement
If you are making use of the user-defined report in Google Analytics, and have coded something on your site for some custom segmentation, the __utmv cookie gets set on the person’s computer.

Google Analytics Basic Study Guide

Audience Overview
=================
Session = Visit
Total number of sessions within the date range. (Count of no. of 30 minute sessions)

%New Sessions
Percantage of First Time Visit

Pages/Visit = Pages/Session
The average number of pages viewed during a session

Avg. Session Duration
The average length of a Session.

Users = Unique Visitor
Total number of users in selected time frame

New Users
First time users (count with the help of __utma)

PageViews
Pageviews is the total number of pages viewed. Repeated views of a single page are also counted.

Unique Pageviews
A->B->C->A (here 3 is unique pageviews and total pageviews are 4)

New Visit = New Users
First time users (count with the help of __utma)

Bounce Rate = %Bounce Rate
Bounce Rate is the percentage of single-page visits

%Exit = Exit Rate
%Exit is (number of exits) / (number of pageviews) for the page or set of pages. It indicates how often users exit from that page or set of pages when they view the page(s).

Entrance vs Sessions
Entrance Apply on Event while Sessions Apply on Page
e.g.
Enter ->Page A->Page B->Exit
Entrance =1, Session=1, Pageviews=1

Enter->Event1->PageB->Exit
Entrance=1, Session=0, Pageviews=1

Returning Visit

Returning Visitor

New Visitor

Active Users

Keywords

Locations

Avg. Time on Page

Goal Conversion
ACQUISITION(संकलन)

Site Content
=============
Diff B/w All Pages, Landing pages and Exit Pages
All Pages
Complete Pageviews on particular Pages
Landing Pages
Count of Entrance through Landing Pages
Exit Pages
Number of times visitors exited your site from a specified page or set of pages

Site Speed
===========
Avg. Page Load Time (sec)

Avg. Redirection Time (sec)

Avg. Domain Lookup Time (sec)

Avg. Server Connection Time (sec)

Avg. Server Response Time (sec)

Avg. Page Download Time (sec)

Page Load Sample

Pageviews

Page Speed Score

Page Speed Suggesstions

DOM Timing

Site Search
==============
Sessions with Search

Total Unique Searches

Results Pageviews / Search

% Search Exits

% Search Refinements

Time after Search

Average Search Depth


Events
===========
Total Events

Unique Events

Event Value

Avg. Value

Sessions with Event

Events / Session with Event

Event Category

Event Action

Event Lable

Adsense
=============
AdSense Revenue

AdSense Revenue / 1000 Sessions

AdSense Ads Clicked

AdSense CTR

AdSense eCPM

AdSense Impressions

AdSense Impressions / Session

AdSense Page Impressions

AdSense Viewable Impression %

AdSense Coverage


Top Channels
==========================
Organic Search

Referral

Social

Direct

Display

Paid Search

Email

Source
Google, Yahoo, Facebook

Medium
Organic, Paid, Email



Google Analytics Basics
Channel Grouping
A roll-up of traffic sources in the Acquisition reports that groups several marketing activities together.

Content Grouping
A roll-up of content in the Behavior reports that groups several pages or screens together to better reflect the structure of your site or app.

Collection (Which Data Collected)
The component of the Google Analytics platform that manages which data is collected for your site, mobile app or other digitally connected device.

Configuration  (How Process)
The component of the Google Analytics platform that manages how your data is processed.

Data model (How Collect Data)
The model used by Google Analytics to organize how data is collected.

Dimension
A descriptive attribute or characteristic of data.

Dimension Widening
A data import process that allows you to join data from external sources.

Filter
A configuration setting that allows you to add, remove or modify your data.

Hit
A single-pixel image request that is used to send data to Google Analytics.

Interaction
Any type of engagement activity

Metric
The quantitative measurements of your data.

Segment
A subset of sessions or users that share a common attribute. Segments allow you to isolate and analyze groups of sessions or users for better analysis.

Sessions / Visits
The period of time (30 min) a user is active on your site or app.

Tracking code
JavaScript code inserted in order to capture page interaction data.

Users / Visitors
The unique browsers  that visit your website or mobile app.

View
A subset of a Google Analytics account property that can have its own unique configuration settings.

Source:
https://analyticsacademy.withgoogle.com/course02/assets/html/GoogleAnalyticsAcademy-PlatformPrinciples-Glossary.html

http://www2.epa.gov/sites/production/files/documents/glossary_of_metrics_used_in_google_analytics.pdf

Sunday, January 11, 2015

Google Analytics Calculation Terms

Dimension vs Metrics

1. A dimension is a descriptive attribute that can be described values
while metrics are the measurable values of that attribute.

2. In the content section of GA, the default dimension is Page
The default metrics include Pageviews, Unique Pageviews, Entrances, etc.

3. Dimension describes and defines data
Metrics measure data

Dimensions & Metrics Uses in Google Analytics
UsersAcquisitionAdvertising
Affinity Category (reach)Default Channel GroupingAccount
BrowserMediumAd Distribution Network
Browser VersionReferral PathAd Format
CitySourceAd Group
ContinentSource / MediumAdWords Ad Group ID
CountryTraffic TypeAdWords Campaign ID
GenderAdWords Creative ID
In-Market SegmentAdWords Criteria ID
LanguageAdWords Customer ID
MetroCampaign
Network DomainCampaign Code
Operating SystemDestination URL
Other CategoryDisplay URL
RegionKeyword
Sub ContinentKeyword Match Type
User TypeMatched Search Query
Placement Domain
Placement Type
Placement URL
Query Match Type
Targeting Type
BehaviorCustom VariablesEcommerce
App IDCustom Variable (Key 1)Days to Transaction
App Installer IDCustom Variable (Key 2)Sessions to Transaction
App NameCustom Variable (Key 3)Transaction ID
App VersionCustom Variable (Key 4)
Destination PageCustom Variable (Key 5)
Exit PageCustom Variable (Value 01)
Exit ScreenCustom Variable (Value 02)
Experiment IDCustom Variable (Value 03)
Full ReferrerCustom Variable (Value 04)
HostnameCustom Variable (Value 05)
Landing Page
Landing Screen
Next Page Path
Page
Page Depth
Page path level 1
Page path level 2
Page path level 3
Page path level 4
Page Title
Previous Page Path
Refined Keyword
Screen Depth
Screen Name
Search Destination Page
Search Term
Second Page
Site Search Category
Site Search Status
Start Page
Timing Category
Timing Label
Timing Variable
User Defined Value
Variation
SocialTimeUsers
Social ActionDateCity ID
Social EntityDay IndexCount of Sessions
Social NetworkDay of the monthCountry ISO Code
Social SourceDay of WeekDays Since Last Session
Social Source and ActionDay of Week NameDevice Category
Social Source and ActionHourFlash Version
Social TypeHour IndexJava Support
Hour of DayMobile (Including Tablet)
ISO Week of ISO YearMobile Device Branding
ISO Week of the YearMobile Device Info
ISO YearMobile Device Marketing Name
MinuteMobile Device Model
Minute IndexMobile Input Selector
Month IndexOperating System Version
Month of the yearRegion ID
Month of YearRegion ISO Code
Week IndexScreen Colors
Week of the YearScreen Resolution
Week of YearService Provider
YearSession Duration
Source Property Display Name
Source Property Tracking ID
Sub Continent Code
User Bucket

Thursday, January 8, 2015

Android Programming Challenges


  1. Create Different Account for Child Users
  2. Block Access on Particular Folder
  3. Allot Time in hours to Access Mobile for Child Users
  4. Automatically Send Mail for Mobile Data Usage
  5. Get User Info on App Installation (e.g. User Name, Mobile Number, Email Address)