UserReplay Analytics Integration - Adobe Marketing Cloud · PDF fileExtracting UserReplay Web...

Post on 31-Jan-2018

225 views 0 download

Transcript of UserReplay Analytics Integration - Adobe Marketing Cloud · PDF fileExtracting UserReplay Web...

UserReplayUK,MerlinHouse,BrunelRoad,Theale,Reading,Berkshire,RG74AB,UnitedKingdom–Tel+44(0)1189026810,Emailsupport@userreplay.comUserReplayUSA,425MarketStreet,Suite2200,SanFrancisco,CA94105,UnitedStatesofAmerica–Tel+1(415)9550502,Emailsales@userreplay.com

UserReplayAnalyticsIntegrationAdobeAnalyticsStrictlyConfidential

UserReplayUK,MerlinHouse,BrunelRoad,Theale,Reading,Berkshire,RG74AB,UnitedKingdom–Tel+44(0)1189026810,Emailsupport@userreplay.comUserReplayUSA,425MarketStreet,Suite2200,SanFrancisco,CA94105,UnitedStatesofAmerica–Tel+1(415)9550502,Emailsales@userreplay.com

AdobeAnalyticsIntegrationAguideonhowtoimplementtheAnalyticsSegmentSearchintegrationintoyourexistingAdobeanalyticsimplementation.

Pre-requisites

• UserReplaySuper-UserAccess• UserReplayWebSessionCookieorCustomCookiebeingused• AdobeAnalyticsAdministratorAccess• Aspare,unusedeVarvariableinAdobeAnalytics• AccesstoyourAdobeAnalyticsImplementationthroughaTagManagerorDevelopmentTeam.• GoodworkingknowledgeoftheAdobeAnalyticsImplementationmethods.• GoodworkingknowledgewithAdobeAnalyticsdoPluginsfeatures.

PreparingtheneweVarforAdobetostoreUserReplay’sWebSessionCookie

Firstly,wewillcreatetheneweVarinAdobefortheUserReplayWebSessionIDtobestored.YoucancreatetheeVartoyourliking,howeverbelowisourrecommendedapproach:

1.) HeadtotheAdobeAnalyticsAdminTab>AdminToolsHome

2.) Inthenextmenu,clickon“SelectandEditReportSuites”

UserReplayUK,MerlinHouse,BrunelRoad,Theale,Reading,Berkshire,RG74AB,UnitedKingdom–Tel+44(0)1189026810,Emailsupport@userreplay.comUserReplayUSA,425MarketStreet,Suite2200,SanFrancisco,CA94105,UnitedStatesofAmerica–Tel+1(415)9550502,Emailsales@userreplay.com

3.) SelectwhichreportsuiteyouwanttocreatetheneweVarin.Inthebelowexample’scaseweareusingourReport

Suitenamed“urpmain”,highlightthereportsuiteandthenusethe“EditSettings”menu.NavigatethroughtoConversionVariables,similartothebelowscreenshot.[Conversion>ConversionVariables]

4.) Thenextmenuiswhereyoucanaddnew/editexistingeVars.InourcaseweneedtoaddaneweVartostorethe

WebSessionID.Todosoclick“AddNew”thiswillopenupaneweVarwindowasbelow:

UserReplayUK,MerlinHouse,BrunelRoad,Theale,Reading,Berkshire,RG74AB,UnitedKingdom–Tel+44(0)1189026810,Emailsupport@userreplay.comUserReplayUSA,425MarketStreet,Suite2200,SanFrancisco,CA94105,UnitedStatesofAmerica–Tel+1(415)9550502,Emailsales@userreplay.com

5.) TheneweVarmenuwillshowanumberofoptions,werecommendtoconfiguretheseoptionsdetailbelow

• Status:Enabled• Name:UserReplayWebSessionID• Type:TextString• Description:CaptureUserReplayWebSessionIDforReplay• Allocation:OriginalValue(First)• Reset:DoNotReset(IfyouareupdatinganexistingeVar,thenselect“Reset”–thiswillremoveolddata)• ExpireAfter:Visit• EnableMerchandising:Disabled

Onceyouhaveupdatedalloftheaboveoptions,clickon“Save”atthebottomofthescreen–oncesaved,thereportforthisparticulareVarwillbecomeavailable.YoumayneedtounhidethisintheMenuConfigurationinAdobeAnalytics.Sometimesthemenusdonotshowupstraightaway,loggingoutandloggingbackinshouldfixthis.

UpdatingyourexistingAdobeAnalyticsImplementationCodeInorderforustocapturetheWebSessionIDfromUserReplayweneedtomakeuseofAdobe’splugins,thiswillbeAdobe’sreadcookiefunction,knownas“s.c_r”.BelowisanexamplecodeblockofhowtocapturetheUserReplayWebSessionIDinanAdobeAnalyticsVariable.

1. if (s.c_r("UrCapture")) { 2. s.eVar10 = s.c_r("UrCapture"); 3. }

Intheabovecode,youwillneedtodeclareadifferenteVardependingonwhicheVarwassetupintheAdobeAnalyticsAdministrationPanel.TheexamplewehaveusedwasassociatedtoeVar10.Alsoifyou’reusinganonestandardcookie,placethenameofthedifferentsessioncookieintothes.c_rparameter.

UserReplayUK,MerlinHouse,BrunelRoad,Theale,Reading,Berkshire,RG74AB,UnitedKingdom–Tel+44(0)1189026810,Emailsupport@userreplay.comUserReplayUSA,425MarketStreet,Suite2200,SanFrancisco,CA94105,UnitedStatesofAmerica–Tel+1(415)9550502,Emailsales@userreplay.com

ExtractingUserReplayWebSessionIDsfromAdobeAnalyticsNowthatwearestoringtheUserReplayWebSessionIDinthecustomerJourney,weareabletoretrievethesevaluesinAdobebylookingattheCustomConversionReportsolelyorbyevenbreakingsessionleveldatadownbythiseVar.WhatisalsobeneficialisthatyoucancreateasegmentandthenoverlaythisontheUserReplayWebSessionIDreport–thiswillshowyoualistofWebSessionIDswhichareforthesessionsyouselectedinAdobe.BelowisanexamplereportwherewecanusetheWebSessionIDstolocateasessioninUserReplay:

1.) LocatetheUserReplayWebSessionIDreportinAdobeReports,thismaybeinthedefaultdirectoryof[CustomConversion>CustomConversion1-10>UserReplayWebSessionID]orpossiblyinacustomfolderdirectorywhichyouspecifiedwhencreatingyourreportsuite.

2.) ThisshoulddisplayareportwhichshowsalistofUserReplayWebSessionIDs.Atthispointyoumaywantto

considerapplyingasegmentsothatyoucanfocusonaparticularsubsetofcustomerswithinUserReplay.

UserReplayUK,MerlinHouse,BrunelRoad,Theale,Reading,Berkshire,RG74AB,UnitedKingdom–Tel+44(0)1189026810,Emailsupport@userreplay.comUserReplayUSA,425MarketStreet,Suite2200,SanFrancisco,CA94105,UnitedStatesofAmerica–Tel+1(415)9550502,Emailsales@userreplay.com

3.) WenowneedtocopyoutthelistofUserReplayWebSessionIDsoutofAdobe,dependingonwhichinterfaceyou

areusingtherearedifferentways.Inthecaseoftheabove,we’reusingthewebinterface,sogoaheadanddownloadthereportinExcelformat.ThisshouldnowshowacopyofthereportinMicrosoftExcel;fromhereyouwillneedtocopythelistofUserReplayWebSessionIDsonly.[RightClick>Copy/CTRL+C/CMD+C]

UserReplayUK,MerlinHouse,BrunelRoad,Theale,Reading,Berkshire,RG74AB,UnitedKingdom–Tel+44(0)1189026810,Emailsupport@userreplay.comUserReplayUSA,425MarketStreet,Suite2200,SanFrancisco,CA94105,UnitedStatesofAmerica–Tel+1(415)9550502,Emailsales@userreplay.com

4.) NowlogintotheUserReplayPortalandheadtotheprojectwhereyourcustomersarebeingrecorded.Inthe

navigationbar,select[Search>AnalyticsSegmentSearch].Thiswillnowshowyouapagewhereyou’llbeabletocompleteasearchforthelistofWebSessionIDsyoucopiedfromAdobeAnalytics.

5.) OntheAnalyticsSegmentSearchpagetherearefoursearchparametersthatyouwillneedtoconfigure;firstly,

thereistheSearchType(Labelled:Search),inthisdropdownmenuselect“WebSessionID”.Secondly,withintheDataListfield,youwillneedtopasteyourlistofUserReplayWebSessionIDsthatyoucopiedfromAdobeAnalytics.Thirdlyinthe“Delimiter”dropdownboxyouneedtoselecttheformatinwhichthedataisset;ifyou’recopyingfromanExcelreportitwillmorethanlikelybe“Newline(\n)”,ifyou’recopyingfromaCommaSeparatedValueslistyoucanselectthisoption.TheFourthandlastparametertosetistheDateRange;tomakethesearchfaster,selectthesamedataperiodaswhatyousearchforinAdobeAnalytics–thisismoreefficient.Whenfinishedconfiguringthesearch,click“Search”toretrievealistofsessions.

UserReplayUK,MerlinHouse,BrunelRoad,Theale,Reading,Berkshire,RG74AB,UnitedKingdom–Tel+44(0)1189026810,Emailsupport@userreplay.comUserReplayUSA,425MarketStreet,Suite2200,SanFrancisco,CA94105,UnitedStatesofAmerica–Tel+1(415)9550502,Emailsales@userreplay.com

6.) ThisshouldnowshowalistofsessionsbelowbasedontheWebSessionIDsyoucopiedoverfromAdobeAnalytics.FromhereyoucanviewstandardsessionlevelinformationsuchasIPAddress,No.Steps,Duration,Browser,OSandiftherewereanyflaggedevents.TheoptionstotherightaretoViewTechnicalReplay,ActionReplay,BookmarkSessionandalsoArchiveSession.ReplayingasessionfromthislistwillhelpprovidemorecontextinthedatayoucollectedinAdobeAnalytics.