google analytics academy unit 4 notes

5
4 Collecting actionable data with Google Analytics 4.1 Creating an account Setting up an account To track a website, a piece of JavaScript code must be added to every page of the site (at the top, before the closing head tag). To track a mobile app, a mobile software development kit (SDK) must be downloaded. There is an SDK for Android as well as iOS. Checking the implementation As soon as the code is added, data should appear in the Real-Time reports. Other tagging scenarios One way to add the tracking code is via a tag management tool. Some platforms provide plugins to simplify the tagging process. 4.2 Understanding the account structure Accounts A GA account is simply a logical way for a business to group data from all of its digital assets together. There are also certain settings that can be applied to the entire account, e.g. managing the users who have access. Properties Each account can contain one or more “properties” that independently collect data. Each property is assigned a unique tracking ID that tells GA exactly which data should be collected, stored and reported together. Typically, unique properties are created for all of a business’ digital assets. The data for different properties is stored and reported in different places, so data cannot be viewed in aggregate for multiple assets. Roll-up reporting In order to view data for two assets together, the implementation must be adjusted to collect all the data in a single property using the same tracking code across both assets. This is commonly known as “roll-up reporting”. Views For each property, there is the option to create different views of the data. A view can define a unique perspective of the data from a parent property. Best practices for creating views Usually multiple views are created for each property in order to protect and manage all the data. Each property should have at least three views:

Upload: greengunk

Post on 27-Jan-2016

223 views

Category:

Documents


3 download

DESCRIPTION

Google Analytics Academy Unit 4 Notes

TRANSCRIPT

Page 1: Google Analytics Academy Unit 4 Notes

4 CollectingactionabledatawithGoogleAnalytics4.1 Creatinganaccount Settingupanaccount

• Totrackawebsite,apieceofJavaScriptcodemustbeaddedtoeverypageofthesite(atthetop,beforetheclosingheadtag).

• Totrackamobileapp,amobilesoftwaredevelopmentkit(SDK)mustbedownloaded.ThereisanSDKforAndroidaswellasiOS.

CheckingtheimplementationAssoonasthecodeisadded,datashouldappearintheReal-Timereports.

Othertaggingscenarios

• Onewaytoaddthetrackingcodeisviaatagmanagementtool.• Someplatformsprovidepluginstosimplifythetaggingprocess.

4.2 Understandingtheaccountstructure Accounts

AGAaccountissimplyalogicalwayforabusinesstogroupdatafromallofitsdigitalassetstogether.Therearealsocertainsettingsthatcanbeappliedtotheentireaccount,e.g.managingtheuserswhohaveaccess.PropertiesEachaccountcancontainoneormore“properties”thatindependentlycollectdata.EachpropertyisassignedauniquetrackingIDthattellsGAexactlywhichdatashouldbecollected,storedandreportedtogether.Typically,uniquepropertiesarecreatedforallofabusiness’digitalassets.Thedatafordifferentpropertiesisstoredandreportedindifferentplaces,sodatacannotbeviewedinaggregateformultipleassets.Roll-upreportingInordertoviewdatafortwoassetstogether,theimplementationmustbeadjustedtocollectallthedatainasinglepropertyusingthesametrackingcodeacrossbothassets.Thisiscommonlyknownas“roll-upreporting”.ViewsForeachproperty,thereistheoptiontocreatedifferentviewsofthedata.Aviewcandefineauniqueperspectiveofthedatafromaparentproperty.BestpracticesforcreatingviewsUsuallymultipleviewsarecreatedforeachpropertyinordertoprotectandmanageallthedata.Eachpropertyshouldhaveatleastthreeviews:

Page 2: Google Analytics Academy Unit 4 Notes

1. Thedefault“unfilteredview”.Thisisthebackupforthedata.2. A“masterview”whichhasalloftherequiredsettingsapplied.3. A“testview”fortestingchangestotheconfiguration.

OnceGAhasprocessedthedata,thedatacanneverbechanged,andadeletedviewcannotberecovered,soabackupviewisveryimportant.Whenanewviewiscreated,GAdoesnotautomaticallycopyoveranyhistoricaldatafromtheoriginalview.Onlynewdatawillbeaccessible.

4.3 Settingupbasicfilters Howfilterswork

Duringprocessing,GAappliesfilterstotherawdatacollectedfromawebsiteorapp.Thistransformeddataiswhatappearsinthereports.SettingupfiltersFiltersapply“conditions”todatawithinaview.Iftheconditionistrue,thenGAtakessometypeofaction;otherwise,GAdoesnotdoanything.Filters,likeallconfigurationsettings,cannotbeappliedretroactively.1. Selectthefilterfieldtoidentifythetypeofdatatoevaluateorchange.2. Specifythecondition,orsetofrules,forthefilter.3. ChoosetheactionthatGAshouldtakeiftheconditionistrue.PredefinedandcustomfiltersPredefinedfiltersaretemplatesforsomeofthemostcommonfilters;customfiltersallowcustomizationoffilterstofitalmostanysituation.Therearemanytypesoffilters,forexampleexcludefilters,includefilters,lowercasefilters,uppercasefilters,andotheradvancedfiltersthatallowfilterfieldstoberemoved,replacedandcombinedinmorecomplexways.UsingmultiplefiltersMultiplefilterscanbeappliedtothesameview.Butfiltersareappliedintheorderthattheyappearintheconfigurationsettings,soordermatters.FilterlibraryOnceafilteriscreateditisaddedtotheFilterLibraryforthewholeaccount,meaningthatfilterscanbereusedandappliedtoanyview.

4.4 Settingupgoalsandecommerce Macroandmicroconversions

GoalsareimportantformappingthedatainGAtotheKPIsofabusiness.Macroconversionsarethemainbusinessobjectives.Microconversionsaretherelationshipbuildingactionsthatleaduptoamacroconversion.

Page 3: Google Analytics Academy Unit 4 Notes

ConversionmetricsOnceGoalsareenabled,therearenewmetricsavailable,suchasnumberofconversionsandconversionrate.ThesemetricscanbefoundinalmosteveryreportinGA,whichallowsusefulsegmentationofconversiondata.TypesofGoalsinGoogleAnalyticsTherearefourtypesofGoals,allofwhichareconfiguredattheviewlevel.Eachgoalisabitdifferenttosetup,buttheyallexisttotrackconversions.Goalsthattrackuseractions1. ADestinationGoalisapagethatusersseewhentheycompletean

activity.Aconversionistriggeredwhenauserviewsthespecifiedpage.Foramobileapp,aScreenViewGoalwouldbeusedinstead.

2. AnEventGoalistriggeredwhenauserdoesaspecificaction.SitesneedtohaveEventTrackingimplementedtousethistypeofGoal.

Goalsthatmeasureuserengagement3. APagesperVisitGoalistriggeredbasedonnumberofpagesviewed.4. ADurationGoalistriggeredbasedonthedurationofauser’svisit.

SettingupdestinationgoalsWhenselecting“Destination”astheGoaltype,thecorrectGoalpagemustbespecified.ItisnotnecessarytoentertheentireURL–justtherequestURI(thesectionafterthedomainorhostname).TherearethreechoicesfortheURIMatchType:“Beginswith”,“Equals”,and“RegularExpression”.GoalverificationTheGoalverificationtoolprovidesaquickwayoftestingtheGoalsettingsbeforecompletingtheset-up.Clicking“VerifythisGoal”givesanexpectedconversionratefortheGoal,basedonthenewsettings,forthelast7days.GoalvalueTheGoalvaluefieldallowsspecificationofamonetaryvalueforaGoal.ThismeansGAcaninterprettheGoalvalueasactualrevenue,andthuscalculatekeymetricssuchasadvertisingROIandaveragepervisitvalue.GoalfunnelsForeachDestinationGoal,afunnelcanbesetup.Afunnelisthedistinctprocessthatusersareexpectedtocompletepriortoconversion,definedbythespecificpagesleadinguptotheGoalpage.Thereisnomatchtypeforthefunnelsteps–GAusesthesamematchtypeusedontheGoalpage.

Multi-ChannelFunnelsreportsInadditiontoconversionmetrics,settingupGoalsalsoactivatesMulti-ChannelFunnelsreports.ForeachGoal,thesereportsshowauser’spathtowardconversionacrossmultiplevisitstothesite.

Page 4: Google Analytics Academy Unit 4 Notes

EcommercereportingForsitesthatsellproductsorservicesonline,GAecommercereportingcanbeusedtotracksalesactivityandperformance.Ecommercereportsshowtransactions,revenue,andmanyothercommerce-relatedmetrics.Settingupecommercetracking1. First,enableEcommercereportingwithintheGAwebsiteview.2. Second,addtheGATrackingCodetothepaymentreceiptpage.3. Finally,addsomeadditionalecommercetrackingcodetothereceipt

pageinordertocapturethedetailsofeachtransaction.Goaltrackingvs.ecommercetrackingThereisonekeydifferencebetweenGoalconversionsandecommercetransactions:aGoalconversioncanonlybecountedonceduringavisit,butanecommercetransactioncanbecountedmultipletimesinavisit.Goalvaluesshouldonlybesetfornon-ecommerceGoals.ThisisbecauseGoalvalueiscumulative:iftransactionsaretrackedwiththeecommercetrackingcode,GAwilladdthetransactionvaluetotheGoalvalue.

4.5 Collectingcampaigndata CampaignandtrafficdimensionsinGoogleAnalytics

GAcapturesanumberofdimensionsaboutwhereeachusercamefrom.Twoofthesearesourceandmedium.Thesourceisthereferralwebsite,andthemediumisthemechanismbywhichtheuserarrivedatthesite.GAdetectsthreedefaultmediumswithoutanycustomization:

• “Organic”representstrafficthatcomesfromunpaidsearchresults.• “Referral”isfortrafficfromanother(non-searchengine)website.• “None”appliestousersthatcomedirectlytothesiteusingtheURL.

CustomcampaigntrackingthroughlinktaggingCampaignsaretrackedinGAusinglinktagging.Thisinvolvesaddingextrainformationtothelinksthatusersclickontogettothesite.Thisextrainformationisstoredincampaigntags,andoverwritesthedefaultcategorizationthatwouldnormallybeassignedtotheincomingtraffic.Therearefivecampaigntagsthatcanbeusedwhentrackingacampaign.Thefirstthreeshouldalwaysbeused,butthefinaltwoareoptional:

• The“Source”and“Medium”tagsoverwritethedefaultvalues.• The“Campaign”tagisusedtonamethemarketingcampaign.• The“Term”tagidentifiesthekeywordforpaidsearchcampaigns.• The“Content”tagisusedtodifferentiateversionsofanadvert.

Page 5: Google Analytics Academy Unit 4 Notes

TheGoogleAnalyticsURLbuilderTheURLbuildertoolexplainshowtoconstructcampaigntagscorrectly.1. TousetheURLbuilder,firstenterthedestinationURLfortheadvert.2. Next,entervaluesforeachcampaigntag(e.g.source,medium,name).3. Useconsistentspellingandcapitalization,sinceGAiscase-sensitive.4. Useconsistentvaluesforthespecificmediums,forexample“cpc”for

cost-per-click,“social”forsocialmedia,and“display”fordisplayads.

Auto-taggingforGoogleAdWordsAdWordsauto-taggingautomaticallypopulatesthefivecampaigntagdimensions.Additionally,auto-taggingimportsdimensionsspecifictoAdWordscampaigns,likekeywordmatchtypeandadvertplacementdomain.Bydefault,AdWordsauto-taggingisenabledforGAaccounts.ChannelsinGoogleAnalyticsChannelsinGAprovideawaytoorganizerule-basedsegmentsoftrafficbasedoncampaign,keyword,source,ormedium.GArecognizesseveralchannelsautomaticallyaspartofthepredefinedBasicChannelGrouping:

• Direct• Email• Social• Organic• Display

Additionalchannelscanalsobedefinedaccordingtoindividualneeds,andcanbeaddedtoeithertheBasicgroupingortocustomgroupings.CampaignandtrafficreportinginGoogleAnalytics1. TheAllTrafficreportshowsdataaccordingtoSourceandMedium.

Thisincludesalltaggeddimensionsaswellasthedefaultmediums.

2. TheCampaignsreportshowsdataforcampaigns.ItincludesdataforeachtaggedcampaignaswellasforeachAdWordscampaign.

3. ThePaidSearchkeywordsreportshowsthetaggedkeywords.

4. InformationfromtheContenttagisalsoavailable.Toseetrafficby

Content,thePrimaryDimensionneedstobechangedtoAdContent.