Measurement Protocol Hit Builder - Adswerve

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

lets you build, validate, and share hits which can also be sent directly from the Hit Builder. · Sending very specific data to Google Analytics ... Resources&Insights BlogPost Hits,Bits,andBytes TheMeasurementProtocolallowsonetosenddatadirectlytoGoogleAnalyticsfromanydeviceorsystem. TheMeasurementProtocolHitBuilderletsyoubuild,validate,andsharehitswhichcanalsobesentdirectlyfromtheHitBuilder. SendingveryspecificdatatoGoogleAnalyticsthroughtheHitBuilderisoftenfasterthaninstrumentingapagewithanalyticscodeorcreatingadatalayer&GoogleTagManagercontainer. ExamplesofdatapointsthatcanbesentwiththeMeasurementProtocol: Events Virtualpageviews Customdimensions Custommetrics Ecommercedata Timing Appscreens   AfewusecaseswheresendingdatawiththeMeasurementProtocolmakessense: Testanewfilterwithacertainsetofinputs Explorescopesofdimensionsandmetrics Showaclientwhataproposedsolutionmightlooklike SendsensitiveorcompetitivedatadirectlytoGoogleAnalyticsinsteadofsurfacingitinthedatalayer.   SendinganEvent Sendingasimpleeventisnomorecomplicatedthandecidingthecategory,action,andlabelfortheevent:     Initiallythiswillshowasnotvalidated:     Afterthehitisvalidated,itcanbesenttoGA,thepayloadcanbecopied,orasharablelinktothehitcanbegenerated:     SendingthehittoGoogleAnalyticswillshowupasaregulareventintheTopEventsreport:     AlinktothishitintheMPHItBuilder: https://ga-dev-tools.appspot.com/hit-builder/?v=1&t=event&tid=UA-12345-1&cid=10212017.1000001&ec=ecommerce&ea=transaction&el=id%20%3D%20123456789&z=1000001     Pageviews PageviewscanalsobesentwiththeMeasurementProtocol.Sometimesvirtualpageviewsortheaboveeventexamplearesentfromawebsitebackendafteraformsubmissionortransactionalongwithsensitiveecommerceoruserdetailsthataren’tsuitabletoloadonawebsite. Youcouldalsouseittosendsubtlehintstoyourmanager:     AndinGoogleAnalytics:     AlinktothishitintheMPHItBuilder: https://ga-dev-tools.appspot.com/hit-builder/?v=1&t=pageview&tid=UA-12345-1&cid=10212017.1000002&dh=analyticspros.com&dp=%2Fvp%2Fgive-everyone-raise&dt=Give%20Everyone%20a%20Raise&z=1000002     CustomDimensions Customdimensions,especiallywhendealingwithmultiplescopes,cantakesomegettingusedtoandthebestwaytounderstandthemistojumpinwithbothfeet. Wecanaddahit-scopedcustomdimensionnamed“PageCategory”toourprevioushit:     AndtheresultinGA:     Trysendingdifferentvaluesforallfourdimensionscopes(hit,session,user,andproduct)togetabetterfeelforhowtheyareprocessedandwhatyouwillseeinreports.   AlinktothishitintheMPHItBuilder: https://ga-dev-tools.appspot.com/hit-builder/?v=1&t=pageview&tid=UA-12345-1&cid=10212017.1000003&dh=analyticspros.com&dp=%2Fvp%2Fgive-everyone-raise&dt=Give%20Everyone%20a%20Raise&z=1000003&cd2=for%20testing     CustomMetrics SimilartoCustomDimensions,CustomMetricsoftentakesometimetowrapyourheadaround. TheadditivenatureofCustomMetricsmakesthemdifferentfromCustomDimensions. Wecanaddahit-scopedcustommetricnamed“HowMuchRaise?”toourprevioushit:     Andtheresults:     Custommetricscanalsobeproductscoped. TrysendingdifferentvaluestobothscopestogetafeelforhowGAwillinterpretanddisplaythedata.   AlinktothishitintheMPHItBuilder: https://ga-dev-tools.appspot.com/hit-builder/?v=1&t=pageview&tid=UA-12345-1&cid=10212017.1000004&dh=analyticspros.com&dp=%2Fvp%2Fgive-everyone-raise&dt=Give%20Everyone%20a%20Raise&z=1000004&cm1=1000000   ThingstoWatchOutFor Afewcommonmistakes: “cid”intheabovescreenshotsreferstotheGoogleAnalyticsClientID. Itmustbedifferentforeveryuseryouwanttorepresentdata. Ioftenusethisformatforconsistency:MMDDYYYY.randomNumber. Example:10212017.1000001 The“z”parameterisarandomnumbertohelppreventhitcachingorblocking. Intestdata,IusuallyreusethesamerandomnumberfromthesecondhalfoftheClientID. Notincludingthis,evenfromtheHitBuilder,cancausedatatobelost. ThehitwillgenerallyshowupinRealTimereportsimmediatelybutmighttakeafewminutesorlongertoshowupinotherreports.   AdditionalResources Foryourreadingpleasure: MeasurementProtocol DeveloperGuide ParameterReference MeasurementProtocolHitBuilder Customdimensionandmetricscopes   Conclusion AnydeviceorsystemthatcanconnecttotheInternetcansendoutaMeasurementProtocolhit. WithfeaturessuchasCustomReports,thereisnolimittothekindofreportingandanalysispossibleinGoogleAnalytics.   Telluswhatcrazykindsofdatayousend! Subscribetoourmonthlynewslettertogetthelatestupdatesstraighttoyourinbox RelatedResources CustomDimensionandMetricScoping BlogPost UpgradingYourDataWithGoogleCloud BlogPost AMPTrackingRecommendation BlogPost



請為這篇文章評分?