[GA4] URL builders: Collect campaign data with custom URLs

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

[GA4] URL builders: Collect campaign data with custom URLs ... are sent to Analytics and the parameter values are visible in the Traffic acquisition report. Skiptomaincontent[GA4]URLbuilders:CollectcampaigndatawithcustomURLsAddparameterstoURLstoidentifythecampaignsthatrefertrafficByaddingcampaignparameterstothedestinationURLsyouuseinreferrallinksandadcampaigns,youcanseewhichcampaignsrefertraffic.Whenauserclicksareferrallink,theURLparametersaresenttoAnalyticsandtheparametervaluesarevisibleintheTrafficacquisitionreport. Inthisarticle: Parameters URLbuilders ExampleURLs Seecustom-campaigndata Parameters YoucanaddthefollowingparameterstoyourURLs: utm_id:CampaignID.UsethesameIDsthatyouusewhenuploadingcampaigncostdata. utm_source:Referrer,forexample:google,newsletter4,billboard utm_medium:Marketingmedium,forexample:cpc,banner,email utm_campaign:Product,slogan,promocode,forexample:spring_sale utm_source_platform:TheplatformresponsiblefordirectingtraffictoagivenAnalyticsproperty(suchasabuyingplatformthatsetsbudgetsandtargetingcriteriaoraplatformthatmanagesorganictrafficdata).Forexample:SearchAds360orDisplay&Video360. utm_campaign_id: Usedforkeywordanalysistoidentifyaspecificproductpromotionorstrategiccampaign.ThisisarequiredkeyforGA4dataimport. utm_term:Paidkeyword utm_termisnotcurrentlyreportedinGoogleAnalytics4properties. utm_content:Usetodifferentiatecreatives.Forexample,ifyouhavetwocall-to-actionlinkswithinthesameemailmessage,youcanuseutm_contentandsetdifferentvaluesforeachsoyoucantellwhichversionismoreeffective. utm_contentisnotcurrentlyreportedinGoogleAnalytics4properties. utm_creative_format:Typeofcreative,forexample:display,native,video,search utm_creative_formatisnotcurrentlyreportedinGoogleAnalytics4properties. utm_marketing_tactic:Targetingcriteriaappliedtoacampaign,forexample:remarketing,prospecting utm_marketing_tacticisnotcurrentlyreportedinGoogleAnalytics4properties. Eachparametermustbepairedwithavaluethatyouassign.Eachparameter-valuepairthencontainscampaign-relatedinformation. Forexample,youmightusethefollowingparameter-valuepairsforyourSummerSalecampaign: utm_source=summer-mailertoidentifytrafficthatresultsfromyourSummerSaleemailcampaign utm_medium=emailtoidentifytrafficfromtheemailcampaignvs.thein-appcampaign utm_campaign=summer-saletoidentifytheoverallcampaign Ifyouusedtheseparameters,yourcustomcampaignURLwouldbe: https://www.example.com/?utm_source=summer-mailer&utm_medium=email&utm_campaign=summer-sale WhenyouaddparameterstoaURL,youshouldalwaysuseutm_source,utm_medium,andutm_campaign. Tolearnaboutthetraffic-sourcedimensionsthatshowtheparametervalues,seeURLbuilders:CollectcampaigndatawithcustomURLs. URLbuilders YoucanaddparametersandvaluestoyourURLsmanually,oryoucanuseoneofthefollowingplatform-specificURL-buildertoolstocreateyourURLsandappendtheparameters: Linkstowebsites:UsetheCampaignURLBuilder. Android-appads:UsethePlayCampaignURLBuilder. YoumustusetheGoogleAnalyticsforFirebaseSDK,butyoudon'tneedtomakechangesintheSDKforthisfeaturetowork. iOS-appads:UsetheiOSCampaignURLBuilder. YoumustusetheGoogleAnalyticsforFirebaseSDK,butyoudon'tneedtomakechangesintheSDKforthisfeaturetowork. Important:IfyouareadvertisinganAndroidapp,usethePlayCampaignURLBuilder.IfyouareadvertisinganiOSapp,usetheiOSCampaignURLBuilder.Otherwise,youshouldusetheCampaignURLBuilder. Manualsetup Ifyouwanttosetupyourcustomcampaignsmanually,makesureyouseparatetheparametersfromtheURLwithaquestionmark.Listtheparametersandvaluesaspairsseparatedbyanequalsign.Separateeachparameter-valuepairwithanampersand.Forexample: https://www.example.com/?utm_source=email_campaign&utm_medium=email&utm_campaign=summer-sale YoucanaddparameterstoaURLinanyorder.Parametervaluesarecasesensitive,e.g.utm_source=googleisdifferentfromutm_source=Google. 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 Seecustomcampaigndata YoucanseeSessionsource/medium,Sessionmedium,Sessionsource,andSessioncampaignintheAcquisition>Trafficacquisitionreport. Wasthishelpful?Howcanweimproveit?YesNoSubmitNeedmorehelp?Trythesenextsteps:AsktheHelpCommunityGetanswersfromcommunityexpertstrueSetupAnalyticsGetstartedwithAnalytics[GA4]SetupAnalyticsforaCMS-hostedwebsite[GA4]SetupAnalyticsforawebsiteand/orappSetupAnalyticsforawebsite(UniversalAnalytics)AddaGoogleAnalytics4property(toasitethatalreadyhasAnalytics)[GA4]Setupdatacollectionforanapp[GA4]Confirmthatyou'recollectingdata[GA4]MonitoreventsinDebugView[GA4]Setupcross-domainmeasurement[GA4]Identifyunwantedreferrals[GA4]Filteroutinternaltraffic[GA4]Filter,reporton,orrestrictaccesstodatasubsets[GA4]Aboutconnectedsitetags[GA4]URLbuilders:CollectcampaigndatawithcustomURLs[GA4]Setcustomcampaigndata[GA4]SetupAssistantinGoogleAnalytics4propertiesWhathappenedtomyTrackingID?[GA4]CommonmistakeswithtagsetupWhydoesGoogleAnalyticslookdifferent?GoogleAnalytics4trainingandsupportSearchClearsearchClosesearchGoogleappsMainmenuSearchHelpCentertrue69256false



請為這篇文章評分?