How Google Analytics Collects Data - AnalyticsMarket

文章推薦指數: 80 %
投票人數:10人

When Google Analytics code gathers information about your website visitors, how does it send ... tid, Tracking ID / Web Property ID, tid=UA-23423231144-1. SkiptocontentHiddenWhenGoogleAnalyticscodegathersinformationaboutyourwebsitevisitors,howdoesitsendthatinformationtothedatacollectionserverssoitcanbeprocessed?Theinformationissentinarequesttohttps://www.google-analytics.com/collect.Thisfileisrequestedforeverysinglepageview,transaction,socialinteraction,tracking,timing,andevent.Whentheseprocessed,GoogleAnalyticsstringstogethertheindividualactionsandassociatesthemwithasession.Here’sanexampleofthisrequest:https://www.google-analytics.com/collect?v=1&_v=j68&a=753537405&t=pageview&_s=1&dl=https%3A%2F%2Fwww.analyticsmarket.com%2F&ul=en-us&de=UTF-8&dt=Resources%20for%20Google%20Analytics&sd=24-bit&sr=1600x900&vp=1583x418&je=0&_u=AACAAEAB~&jid=1528408694&gjid=192180985&cid=1602946763.1549335544&tid=UA-23423231144-1&_gid=1845815927.1549335544&_r=1&z=549945300AlthoughtheURLlooksoverwhelming,it’sprettysimplewhenbrokendown:It’sarequestforwww.google-analytics.com/collectItcontainstwenty-ishURL-encodedparametersEachparameterstoresaspecificpieceofinformationthatiseither usedtopopulatereportsortokeepthingsorganized.Someparametersareonlyusedinspecificcases,othersarerequiredeachtime.Oneoftheserequestsismadeeachtimesomeoneviewsapageonyourwebsite.WhenGoogleAnalyticsreceivestheserequests,yourreportsarepopulated.Butdidyouknowthattheserequestscanbeblocked?Requestsareblockedmorefrequentlythanyoumayrealize,especiallyifyourwebsitevisitorsaretech-savvy.Commonbrowserplug-inslikeNoScriptorAdBlockcanpreventanalytics.jsfromloadingorblockthe/collectrequestfrombeingsent.Andwhenthishappens,youwon’t“see”thesevisitorsinGoogleAnalytics.Sowhat’sthesolutiontothisproblem?WerecommendusingGoogleAnalyticsANDwebanalyticssoftware–thelatterisabletodetectvisitorswhoblockGArequests.Learnmorehere:WebAnalyticsSoftwareReviewParameterAnalysisGettingbacktothe/collectrequest,let’stakealookateachofthequeryparameters:NameDescriptionExampleValuevProtocolversionv=1_vSDKVersionnumber_v=j68aAdSenselinkingnumbera=753537405tHitType. e.g.pageview,event,item,timing,etc.t=pageview_sHitsequencenumber?(unsure)_s=1dlDocumentLocation(fullURL)dl=https%3A%2F%2Fwww.analyticsmarket.com%2FulUserLanguageul=en-usdeDocumentEncodingde=UTF-8dtDocumentTitle(PageTitle)dt=Resources%20for%20Google%20AnalyticssdScreenDepth(color)sd=24-bitsrScreenResolutionsr=1600×900vpViewPortvp=1583×418jeJavaEnabled(0=no,1=yes)je=0_uUsageinfo:tellsGooglewhichfeaturesareused_u=AACAAEAB~jidJoinIDforDoubleClickbeaconjid=1528408694gjidTrackingcodeversiongjid=192180985cidClientID:random-number.timestampcid=1602946763.1549335544tidTrackingID/WebPropertyIDtid=UA-23423231144-1_gidUserID,usedtodistinguishusers_gid=1845815927.1549335544_rNoidea,currentlyundocumented_r=1zRandomNumberCacheBusterz=549945300Theparametersshownaboveareforapageview(t=pageview). DifferentparametersareusedwithdifferentHitTypes,liket=eventort=transaction.Ifyou’dliketoseetheparametersusedbytheotherhittypes,werecommendlookingattheMeasurementProtocolReference.NextStepsCheckoutourRecommendedToolstolearnaboutproductsthatcomplementGoogleAnalytics.SITESEARCHFREEANALYTICSTOOLSPOPULARARTICLESTwitter



請為這篇文章評分?