Collect campaign data with custom URLs - Analytics Help
文章推薦指數: 80 %
https://www.example.com/?utm_source=summer-mailer&utm_medium= ... Links to websites: Use the Campaign URL Builder on the Google Analytics Demos & Tools site ... SkiptomaincontentCollectcampaigndatawithcustomURLsAddparameterstoURLstoidentifythecampaignsthatrefertraffic.ByaddingcampaignparameterstothedestinationURLsyouuseinyouradcampaigns,youcancollectinformationabouttheoverallefficacyofthosecampaigns,andalsounderstandwhere thecampaignsaremore effective.Forexample,yourSummerSalecampaignmightbegeneratinglotsofrevenue,butifyou'rerunningthecampaigninseveraldifferentsocialapps,youwanttoknowwhichofthemissendingyouthecustomerswhogeneratethemostrevenue.Orifyou'rerunningdifferentversionsofthecampaignviaemail,videoads,andin-appads,youcancomparetheresultstoseewhereyourmarketingismosteffective. Whenauserclicksareferrallink,theparametersyouaddaresenttoAnalytics,andtherelateddataisavailableintheCampaignsreports. Inthisarticle: Parameters Howtosetupcustomcampaigns ExampleURLs Seecustom-campaigndata Parameters Thereare5 parametersyoucanaddtoyourURLs: utm_source:Identifytheadvertiser,site,publication,etc.thatissendingtraffictoyourproperty,forexample:google,newsletter4,billboard. utm_medium:Theadvertisingormarketingmedium,forexample:cpc,banner,emailnewsletter. utm_campaign:Theindividualcampaignname,slogan,promocode,etc.foraproduct. utm_term:Identifypaidsearchkeywords.Ifyou'remanuallytaggingpaidkeywordcampaigns,youshouldalsouseutm_termtospecifythekeyword. utm_content:Usedtodifferentiatesimilarcontent,orlinkswithinthesamead.Forexample,ifyouhavetwocall-to-actionlinkswithinthesameemailmessage,youcanuseutm_contentandsetdifferentvaluesforeachsoyoucantellwhichversionismoreeffective. Eachparametermustbepairedwithavaluethatyouassign.Eachparameter-valuepairthencontainscampaign-relatedinformation. Forexample,youmightusethefollowingparameter-valuepairsforyourSummerSalecampaign: utm_source=summer-mailertoidentifytrafficthatresultsfromyourSummerSaleemailcampaign utm_medium=emailtoidentifytrafficfromtheemailcampaignvs.thein-appcampaign utm_campaign=summer-saletoidentifytheoverallcampaign Ifyouusedtheseparameters,yourcustom-campaignURLwouldbe: https://www.example.com/?utm_source=summer-mailer&utm_medium=email&utm_campaign=summer-sale WhenyouaddparameterstoaURL,youshouldalwaysuseutm_source,utm_medium,andutm_campaign. utm_termandutm_contentareoptional. utm_issimplytherequiredprefixfortheseparameters. Howtosetupcustomcampaigns YoucanaddparametersandvaluestoyourURLsmanually,oryoucanuseoneofthefollowingplatform-specificURL-buildertoolstocreateyourURLsandappendtheparameters. Linkstowebsites:UsetheCampaignURLBuilderontheGoogleAnalyticsDemos&Toolssite. Android-appads:UsetheGooglePlayURLBuilder. YoumustalsohaveGooglePlayCampaignAttributionsetupinyourSDK.Ifyoudidn’tcompletethisduringyourinitialsetup,useourDeveloperGuidetolearnhowtoimplementGooglePlayAttributioninyourAndroidSDK. iOS-appads:UsetheiOSCampaignTrackingURLBuilder. YoumustbeusingAnalyticsiOSSDKv3orhigher,butyoudon’thavetomakeanychangesintheSDKforthisfeaturetowork. Important:IfyouareadvertisinganAndroidapp,usetheGooglePlayURLBuilder.IfyouareadvertisinganiOSapp,usetheiOSCampaignTrackingURLBuilder.Otherwise,youshouldusetheGoogleAnalyticsCampaignURLBuilder. Manualsetup Ifyouwanttosetupyourcustomcampaignsmanually,makesureyouseparatetheparametersfromtheURLwithaquestionmark.Listtheparametersandvaluesaspairsseparatedbyanequalsign.Separateeachparameter-valuepairwithanampersand.Forexample: https://www.example.com/?utm_source=email_campaign&utm_medium=email&utm_campaign=summer-sale YoucanaddparameterstoaURLinanyorder.NotethatAnalyticsiscasesensitive,soutm_source=googleisdifferentfromutm_source=Google.Casesensitivityappliesforeachvalueyoudefine. RefertoCampaignsandtrafficsourcesforatechnicaloverview. ExampleURLs http://www.example.com/?utm_source=exampleblog&utm_medium=referral&utm_campaign=summer-sale http://www.example.com/?utm_source=newsletter1&utm_medium=email&utm_campaign=summer-sale http://www.example.com/?utm_source=newsletter1&utm_medium=email&utm_campaign=summer-sale&utm_content=toplink Seecustom-campaigndata ToseetheCampaignsreports: SignintoGoogleAnalytics. Navigatetoyourview. OpenReports. SelectAcquisition>Campaigns. Wasthishelpful?Howcanweimproveit?YesNoSubmittrueAcquisitionreportsCollectcampaigndatawithcustomURLsURLbuildersBestPracticesforcollectingcampaigndatawithcustomURLsCampaignsandtrafficsourcesTroubleshoottrafficfluctuations/inconsistenciesSearchClearsearchClosesearchGoogleappsMainmenuSearchHelpCentertrue69256falsefalse
延伸文章資訊
- 1Collect campaign data with custom URLs - Analytics Help
https://www.example.com/?utm_source=summer-mailer&utm_medium= ... Links to websites: Use the Camp...
- 2Sending events | Measurement Protocol for Google Analytics 4
This guide explains how to format and send requests to the Google Analytics Measurement Protocol....
- 3Google Analytics
Google Analytics lets you measure your advertising ROI as well as track your Flash, video, and so...
- 4GA4 Measurement Protocol API 使用教學與應用範例 - 數據酷
https://www.google-analytics.com/mp/collect. 正式伺服器,傳送的數據會進入GA4 資源,通訊協定有誤時,不會出現錯誤警告。
- 5How Google Analytics Collects Data - AnalyticsMarket