Measurement Protocol Hit Builder - Adswerve
文章推薦指數: 80 %
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
延伸文章資訊
- 1Events sent via Google Analytics Hit Builder not showing up
Don't know if this information helps concerning the Google Analytics Measurement Protocol (valida...
- 2Working with the Measurement Protocol - Google Developers
&ev=300 // Event value. View this hit in the Measurement Protocol Hit Builder. Enhanced Ecommerce...
- 3HIT Builder - Complementary Training
HIT Builder comes with a unified system of HIT drills and with a few clicks, it organizes athlete...
- 4HIT Builder Instructional Video - Vimeo
- 5Using Google Analytics Measurement Protocol Hit Builder
Learn to use Google Analytics Measurement Protocol Hit Builder to create & validate payload data....