UTM Codes: How to Track Campaign URLs in Google Analytics
文章推薦指數: 80 %
“UTM” stands for “Urchin tracking module.” UTM codes are added to the end of regular URL's and are designed to tell Google Analytics (and ... twitter linkedin2 facebook youtube instagram search star viewallservices ThispostexplainshowtosetupURLtaggingusingUTMparametersandprovidesanoverviewofthedifferentusesofURLtaggingformarketingattribution. MostmarketersalreadyunderstandhowtheycanidentifyparticularreferralsourcesinGoogleAnalytics,buttaggingURLsusingUTMcodestakesthisdatatoanadvancedlevelbyisolatingvisitorsreferredfromspecificcampaigns(specificemailcampaigns,forexample)tobetterunderstandtheirbehaviourandbuildmorespecificaudienceliststoboosttheperformanceofanyongoingpaidmediaactivity. WhatareUTMCodes? “UTM”standsfor“Urchintrackingmodule.”UTMcodesareaddedtotheendofregularURL’sandaredesignedtotellGoogleAnalytics(andotheranalyticstools)alittlebitmoreinformationabouteachlinkandwhichmarketingcampaignitrelatesto. AtypeofURLtagging,usingUTMcodesensureyourdestinationURLsarelabelledwithspecificcampaignnameswhenthey’rereportedinGoogleAnalytics. Putsimply,thisenablesyoutobreakdowntrafficthat’susuallyonlyreportedbyitssourceandattributeittoindividualemailsorpaidsearchcampaignsthatyou’rerunning. ThesectionoftheURLfollowingthe?symbolbelowisasampleofwhataUTMcodelookslike: https://www.hallaminternet.com/?utm_source=blog&utm_medium=utm-tagging-post&utm_campaign=url-tagging-blog-link-feb-2020 WhyuseUTMCodes? TaggingURLshelpsprovethevalueof onlinecampaignsinwhichyou’reattemptingtodrivetraffictoyoursite,particularlyifyouhave goalssetupinGoogleAnalytics,asitwillreportoneachspecificcampaign’sconversionmetrics. Forexample,youcanuseUTMvariableswithinlinksyoupostonsocialmediatotrackhowmuchtrafficyoureceivefromeachpostyoupublish.YoucouldalsouseUTMvariablestotrackspecificlinkssuchasthelinktoyourwebsitefromyour yourTwitterbio.URLtaggingcanalsoallow youtogainagreaterunderstandingoftheoverallperformanceofeachPPCcampaignyou’rerunning. HowtoStructureUTMCodes InordertocorrectlystructureyourUTMcodesyoufirstlyneedtounderstandwhateachparametermeans: CampaignSource isusuallythesearchengineorplatformthatyou’rerunningtheadson(Google,Bing,Facebook,Twitter,Website,etc.) CampaignMedium isusedtostatethetypeofadvertisingcampaignthat’susingtheURL(PPC,email,etc.) CampaignName isthefieldusedtoinsertthenameofyourcampaign. Thesethreefieldsareallrequired,andyoucanusetheremainingcontent andtermparameterstotrackadditionaldetailsasexplainedbyGoogle: MethodsofSettingupURLTagging 1.ManualURLTagging AlotofthirdpartyadvertisingtoolshavetheoptiontoautomaticallytagURLs,butfortaggingspecificlinkswithinorganicsocialposts,bannerlinks,andanyotherlinksusedincampaignsconductedoutsideofthirdpartysoftware,manualURLtaggingistheonlyoption. Nowthisdoesn’tmeanyouhavetocrafteveryUTMtagbyhand,asyoucandothis usingUTMgenerators.TherearearangeofUTMgeneratorsavailable,butIhavelistedthemostusefulbelow: Google’sURLBuilder OurfreeUTMTaggingtemplateforGooglesheets TheExcelURLbuilder EffinAmazing’s Chromeextension Google’s URLBuilder isagreatfreetooltogenerateURLstaggedwithUTMcodesforsinglecampaigns,butisnotsuitableforcreatingUTMtags inbulk,norisitgreatforkeepingtrackofnamingconventions. Try ourFreeUTMTaggingTemplate We’verecognisedthatGoogle’sURLbuilderdoesn’tprovidetheoptiontocreateandtrackUTMcodesinbulk,sowe’veputtogetheraUTMtaggertemplatespreadsheetthatwill help youeasilygeneratelotsofUTMtaggedURLsforanymarketingcampaign. Tostartusingthetemplate,youwillneedtosignintoaGoogleaccount.Onceloggedin,clickhere toview thefreeUTMtaggingtemplate,thenclick‘File’>‘Makeacopy’tocreateyourownversionandstartusingittotagyourURLs. Auto-tagging ManythirdpartytoolshavetheoptiontoautomaticallytagURLsusingUTMvariables.Forexample,Mailchimp,BufferandHootsuiteallofferthisfunctionalitytopaidsubscribers. GoogleAdsusersshouldalreadybeawarethatGoogleoffersanauto-taggingfeaturewithintheplatformwhichutilisesUTMvariables. ThisfeatureisselectedbydefaultinallGoogleAdsaccounts,butifyou’reunsurewhetherthishasalreadybeensetupandwouldliketoenableordisableauto-taggingyou’llneedtonavigatetoSettings>AccountsettingsinthelefthandmenuwithinaGoogleAdsaccount: UseConsistentNamingConventions Ifusingmanualtagging,ensureyou chooseanamingconventionthat’seasytoremember.Forexample,withthe utm_medium= sectionofeachURL,“Email”or“Display_Ads”arenames thatyoumaychoosetorepeateachtimeyoulaunchanewcampaignineachcategory.TaggingURLsthiswaymeansthatyoucanbreakdowncampaignreportsinGoogleAnalyticsandeasilyfilterbycampaignmedium. Fortheutm_campaignattribute,besuretousedescriptivetagstoensureyou’reeasilyabletodecipherwhateachcampaignrelatestowhenlookingatthedatainGA.Forexample,thedescriptionsonthelefthandscreengrabbelowaremucheasiertodecipherthanthoseontheright: Thisshowshowimportantisistousesimple,descriptivetextintheutm_campaignfieldwherepossible. ImprovingtheAppearanceofTaggedURLstoWebsiteUsers It’struethatUTMcodescreateoverly-long,unattractiveURLsforusers,butthereisasolutiontoresolvethis issue. Let’sassumethatwehavejusttaggedthefollowingURL: http://www.example.com/bens-tagging?utm_source=mysite.com&utm_medium=referral&utm_campaign=url+tracking+post TheURLabovelooksextremelylongandwouldn’tlooktoofriendlytoauserwhoclicksthroughtoit. However,yourusersneverneedtoseeit,thankstothefollowingsnippetofcode. Youwouldsimplyneedtoplacetheabovelinkinsomeanchortext,suchas clickhere. ThenonthecorrespondinglandingpageyouwouldaddthefollowingpieceofcodetotheHTMLofthepage: _gaq.push(function(){ window.history.pushState(”,”,‘some-page‘); }); ThismeansaftertheGoogleAnalyticscodecollectedalltheattributiondatafromthereallylongURLtaggingparametersIsetintheexample,theURLwillreverttowhateverisplacedinthe‘somepage’quotesintheexampleabove. WheretoFindTaggedURLDatainGoogleAnalytics Onceyou’vebecomecomfortablewiththeideaoftaggingcampaignURLsandhavestartedtotagURLsacrossyouronlinemarketingcampaigns,you’llneedtoknowwheretonavigateinAnalyticsinordertoviewtheinformationthetagshavebeendelivering. TheinformationyouneedcanbefoundinAcquisition>Campaigns>AllCampaigns withinGoogleAnalytics: ThereportwillbreakeverythingdownautomaticallybyCampaignName. Remember,ifanyofyourcampaignshaven’tyetreceivedanyclicks,theparametersyou’vesetwon’thavebeentriggeredandthereforethoseURLswillNOTbereportedinthissectionuntilthey’veactuallybeenclicked. Didyoufindthispostuseful? Haveyoujustlearnedsomethingnew? Thenjointhe80,000peoplewhoreadourexpertarticleseverymonth. Firstname*Lastname*Emailaddress* BysigninguptothisformIagree,thatHallammaystoremydataandmaycontactmeusingtheemailaddressIhaveprovidedwithpromotionalemailsaboutproducts,specialoffers,andotherinformationwhichmaybeofinterest.Pleasealsoreadourprivacypolicy.YoucanrevokeyourconsentatanytimeCAPTCHACommentsThisfieldisforvalidationpurposesandshouldbeleftunchanged. Δ Ifyouneedhelpwithyour GoogleAnalytics don'thesitateto contactus. Enjoythisarticle? Subscribeforweeklyinsights Youmayalsolike JonathanEllins Downloadthese7freeCustomReportstohelpanalyseyourdataonanhourlyordailybasis Jonathan'Cat'Catton GoogleAnalytics:Desktopvs.Mobilevs.TabletMetrics TeamHallam GettingthemostfromyourLinkedIncompanypageanalytics UTMCodes:HowtoTrackCampaignURLsinGoogleAnalytics Share × Sharethis LinkURLCopied Let’sthrivetogether Getintouchtotakethefirststep. Contactus Haveyoujustlearnedsomethingnew? Thenjointhe80,000peoplewhoreadourexpertarticleseverymonth. Firstname*Lastname*Emailaddress* BysigninguptothisformIagree,thatHallammaystoremydataandmaycontactmeusingtheemailaddressIhaveprovidedwithpromotionalemailsaboutproducts,specialoffers,andotherinformationwhichmaybeofinterest.Pleasealsoreadourprivacypolicy.YoucanrevokeyourconsentatanytimeCAPTCHACommentsThisfieldisforvalidationpurposesandshouldbeleftunchanged. Δ × Weusecookiestounderstandhowyouinteractwithourwebsite.Butwe’llonlysetthemifyouchoosetoaccept.Ifyou’dratherwedidn’t,youcanchangeyourpreferencesthrough'Mysettings'.AcceptMysettingsManageconsent Close PrivacyOverview Thiswebsiteusescookiestoimproveyourexperiencewhileyounavigatethroughthewebsite.Outofthese,thecookiesthatarecategorizedasnecessaryarestoredonyourbrowserastheyareessentialfortheworkingofbasicfunctionalitiesofthewebsite.Wealsousethird-partycookiesthathelpusanalyzeandunderstandhowyouusethiswebsite.Thesecookieswillbestoredinyourbrowseronlywithyourconsent.Youalsohavetheoptiontoopt-outofthesecookies.Butoptingoutofsomeofthesecookiesmayaffectyourbrowsingexperience. Essential Essential AlwaysEnabled Essentialcookiesareabsolutelynecessaryforthewebsitetofunctionproperly.Thesecookiesensurebasicfunctionalitiesandsecurityfeaturesofthewebsite,anonymously. CookieDurationDescriptioncf_use_ob1yearThiscookieissetbytheproviderCloudflarecontentdeliverynetwork.Thiscookieisusedfordeterminingwhetheritshouldcontinueserving"AlwaysOnline"untilthecookieexpires.cookielawinfo-checbox-analytics11monthsThiscookieissetbyGDPRCookieConsentplugin.Thecookieisusedtostoretheuserconsentforthecookiesinthecategory"Analytics".cookielawinfo-checbox-functional11monthsThecookieissetbyGDPRcookieconsenttorecordtheuserconsentforthecookiesinthecategory"Functional".cookielawinfo-checbox-others11monthsThiscookieissetbyGDPRCookieConsentplugin.Thecookieisusedtostoretheuserconsentforthecookiesinthecategory"Other.cookielawinfo-checkbox-necessary11monthsThiscookieissetbyGDPRCookieConsentplugin.Thecookiesisusedtostoretheuserconsentforthecookiesinthecategory"Necessary".cookielawinfo-checkbox-performance11monthsThiscookieissetbyGDPRCookieConsentplugin.Thecookieisusedtostoretheuserconsentforthecookiesinthecategory"Performance".PHPSESSIDsessionThiscookieisnativetoPHPapplications.Thecookieisusedtostoreandidentifyausers''uniquesessionIDforthepurposeofmanagingusersessiononthewebsite.Thecookieisasessioncookiesandisdeletedwhenallthebrowserwindowsareclosed.viewed_cookie_policy11monthsThecookieissetbytheGDPRCookieConsentpluginandisusedtostorewhetherornotuserhasconsentedtotheuseofcookies.Itdoesnotstoreanypersonaldata. Performance performance Performancecookiesareusedtounderstandandanalyzethekeyperformanceindexesofthewebsitewhichhelpsindeliveringabetteruserexperienceforthevisitors. CookieDurationDescription_ga2yearsThiscookieisinstalledbyGoogleAnalytics.Thecookieisusedtocalculatevisitor,session,campaigndataandkeeptrackofsiteusageforthesite''sanalyticsreport.Thecookiesstoreinformationanonymouslyandassignarandomlygeneratednumbertoidentifyuniquevisitors._gat1minuteThiscookiesisinstalledbyGoogleUniversalAnalyticstothrottletherequestratetolimitthecolllectionofdataonhightrafficsites._gid1dayThiscookieisinstalledbyGoogleAnalytics.Thecookieisusedtostoreinformationofhowvisitorsuseawebsiteandhelpsincreatingananalyticsreportofhowthewebsiteisdoing.Thedatacollectedincludingthenumbervisitors,thesourcewheretheyhavecomefrom,andthepagesvistedinananonymousform. Non-Essential non-necessary Anycookiesthatmaynotbeparticularlynecessaryforthewebsitetofunctionandisusedspecificallytocollectuserpersonaldataviaanalytics,ads,otherembeddedcontentsaretermedasnon-necessarycookies.Itismandatorytoprocureuserconsentpriortorunningthesecookiesonyourwebsite. CookieDurationDescription__hssc30minutesThiscookieissetbyHubSpot.Thepurposeofthecookieistokeeptrackofsessions.ThisisusedtodetermineifHubSpotshouldincrementthesessionnumberandtimestampsinthe__hstccookie.Itcontainsthedomain,viewCount(incrementseachpageViewinasession),andsessionstarttimestamp.__hssrcsessionThiscookieissetbyHubspot.Accordingtotheirdocumentation,wheneverHubSpotchangesthesessioncookie,thiscookieisalsosettodetermineifthevisitorhasrestartedtheirbrowser.IfthiscookiedoesnotexistwhenHubSpotmanagescookies,itisconsideredanewsession.__hstc1year24daysThiscookieissetbyHubspotandisusedfortrackingvisitors.Itcontainsthedomain,utk,initialtimestamp(firstvisit),lasttimestamp(lastvisit),currenttimestamp(thisvisit),andsessionnumber(incrementsforeachsubsequentsession)._gh_sess1yearThiscookieisusedtopreserveusersstatesacrosspagerequests._lfa2yearsThiscookieissetbytheproviderLeadfeeder.ThiscookieisusedforidentifyingtheIPaddressofdevicesvisitingthewebsite.ThecookiecollectsinformationsuchasIPaddresses,timespentonwebsiteandpagerequestsforthevisits.ThiscollectedinformationisusedforretargetingofmultipleusersroutingfromthesameIPaddress.AnalyticsSyncHistory1monthNodescriptionANONCHK10minutesThiscookieisusedforstoringthesessionIDforauser.ThiscookieensuresthatclicksfromadvertisementontheBingsearchengineareverifiedanditisusedforreportingpurposesandforpersonalization.bcookie2yearsThiscookieissetbylinkedIn.ThepurposeofthecookieistoenableLinkedInfunctionalitiesonthepage.bscookie2yearsThiscookieisabrowserIDcookiesetbyLinkedshareButtonsandadtags.hubspotutk1year24daysThiscookieisusedbyHubSpottokeeptrackofthevisitorstothewebsite.ThiscookieispassedtoHubspotonformsubmissionandusedwhendeduplicatingcontacts.IDE1year24daysUsedbyGoogleDoubleClickandstoresinformationabouthowtheuserusesthewebsiteandanyotheradvertisementbeforevisitingthewebsite.Thisisusedtopresentuserswithadsthatarerelevanttothemaccordingtotheuserprofile.langsessionThiscookieisusedtostorethelanguagepreferencesofausertoserveupcontentinthatstoredlanguagethenexttimeuservisitthewebsite.language1yearThiscookieisusedtostorethelanguagepreferenceoftheuser.li_gc2yearsThiscookieissetbyLinkedInlidc1dayThiscookieissetbyLinkedInandusedforrouting.MUID1year24daysUsedbyMicrosoftasauniqueidentifier.ThecookieissetbyembeddedMicrosoftscripts.ThepurposeofthiscookieistosynchronizetheIDacrossmanydifferentMicrosoftdomainstoenableusertracking.NID6monthsThiscookieisusedtoaprofilebasedonuser''sinterestanddisplaypersonalizedadstotheusers.UserMatchHistory1monthLinkedin-Usedtotrackvisitorsonmultiplewebsites,inordertopresentrelevantadvertisementbasedonthevisitor''spreferences.VISITOR_INFO1_LIVE5months27daysThiscookieissetbyYoutube.UsedtotracktheinformationoftheembeddedYouTubevideosonawebsite.vuid2yearsThisdomainofthiscookieisownedbyVimeo.Thiscookieisusedbyvimeotocollecttrackinginformation.ItsetsauniqueIDtoembedvideostothewebsite.YSCsessionThiscookiesissetbyYoutubeandisusedtotracktheviewsofembeddedvideos. Save&Accept
延伸文章資訊
- 1Collect campaign data with custom URLs - Analytics Help
If you are advertising an iOS app, use the iOS Campaign Tracking URL Builder. Otherwise, you shou...
- 2Google Analytics UTM Tracking: 5 Critical Aspects - Learn
Google Analytics UTM Tracking Codes are codes that help you determine which of your ads have the ...
- 3Dig Deeper with Data: Google Analytics UTM Builder [Free Tool]
- 4How to Track UTM in Google Analytics – The Guide
First Link to the demo shop to check which UTM parameters are tracked · User is tracked under Tra...
- 5UTM Codes: How to Track Campaign URLs in Google Analytics