From 3c852d08b95da10ba5cbd64c03846a59caafd24f Mon Sep 17 00:00:00 2001 From: mattab <matthieu.aubry@gmail.com> Date: Tue, 9 Sep 2014 12:40:16 +1200 Subject: [PATCH] refs #3490 JS lint + add test for Segment `userId` Auto Suggest and restore Transitions tests which I deleted by mistake earlier --- js/piwik.js | 2 +- piwik.js | 2 +- .../PHPUnit/Fixtures/ManyVisitsWithGeoIP.php | 1 + ...ITest__Live.getLastVisitsDetails_range.xml | 2 +- ...ITest_actions__VisitsSummary.get_range.xml | 1 - ...t_browserCode__VisitsSummary.get_range.xml | 1 - ...rowserVersion__VisitsSummary.get_range.xml | 1 - ...tAPITest_city__VisitsSummary.get_range.xml | 1 - ...continentCode__VisitsSummary.get_range.xml | 1 - ...t_countryCode__VisitsSummary.get_range.xml | 1 - ...VariableName1__VisitsSummary.get_range.xml | 1 - ...VariableName5__VisitsSummary.get_range.xml | 1 - ...ablePageName2__VisitsSummary.get_range.xml | 1 - ...ablePageName4__VisitsSummary.get_range.xml | 1 - ...ablePageName5__VisitsSummary.get_range.xml | 1 - ...blePageValue2__VisitsSummary.get_range.xml | 1 - ...blePageValue4__VisitsSummary.get_range.xml | 1 - ...blePageValue5__VisitsSummary.get_range.xml | 1 - ...ariableValue1__VisitsSummary.get_range.xml | 1 - ...ariableValue5__VisitsSummary.get_range.xml | 1 - ...nceFirstVisit__VisitsSummary.get_range.xml | 1 - ...commerceOrder__VisitsSummary.get_range.xml | 1 - ...inceLastVisit__VisitsSummary.get_range.xml | 1 - ...ntryPageTitle__VisitsSummary.get_range.xml | 1 - ..._entryPageUrl__VisitsSummary.get_range.xml | 1 - ...t_eventAction__VisitsSummary.get_range.xml | 1 - ...eventCategory__VisitsSummary.get_range.xml | 1 - ...est_eventName__VisitsSummary.get_range.xml | 1 - ...PITest_events__VisitsSummary.get_range.xml | 1 - ...exitPageTitle__VisitsSummary.get_range.xml | 1 - ...t_exitPageUrl__VisitsSummary.get_range.xml | 1 - ...Test_latitude__VisitsSummary.get_range.xml | 1 - ...est_longitude__VisitsSummary.get_range.xml | 1 - ...ingSystemCode__VisitsSummary.get_range.xml | 1 - ...est_pageTitle__VisitsSummary.get_range.xml | 1 - ...ITest_pageUrl__VisitsSummary.get_range.xml | 1 - ...Test_provider__VisitsSummary.get_range.xml | 1 - ...ferrerKeyword__VisitsSummary.get_range.xml | 1 - ..._referrerName__VisitsSummary.get_range.xml | 1 - ..._referrerType__VisitsSummary.get_range.xml | 1 - ...t_referrerUrl__VisitsSummary.get_range.xml | 1 - ...st_regionCode__VisitsSummary.get_range.xml | 1 - ...st_resolution__VisitsSummary.get_range.xml | 1 - ...Test_searches__VisitsSummary.get_range.xml | 1 - ...SearchKeyword__VisitsSummary.get_range.xml | 1 - ...erId__API.getSuggestedValuesForSegment.xml | 4 +- ...PITest_userId__VisitsSummary.get_range.xml | 12 ++ ...nvertedGoalId__VisitsSummary.get_range.xml | 1 - ...isitConverted__VisitsSummary.get_range.xml | 1 - ...st_visitCount__VisitsSummary.get_range.xml | 1 - ...visitDuration__VisitsSummary.get_range.xml | 1 - ...ommerceStatus__VisitsSummary.get_range.xml | 1 - ...ITest_visitIp__VisitsSummary.get_range.xml | 1 - ...isitLocalHour__VisitsSummary.get_range.xml | 1 - ...sitServerHour__VisitsSummary.get_range.xml | 1 - ...orId__API.getSuggestedValuesForSegment.xml | 2 +- ...est_visitorId__VisitsSummary.get_range.xml | 1 - ...t_visitorType__VisitsSummary.get_range.xml | 1 - ...ansitions.getTransitionsForPageUrl_day.xml | 112 +++++++++++++++ ...sitions.getTransitionsForPageUrl_month.xml | 120 ++++++++++++++++ ...sitions.getTransitionsForPageTitle_day.xml | 6 + ...tions.getTransitionsForPageTitle_month.xml | 6 + ...ansitions.getTransitionsForPageUrl_day.xml | 6 + ...sitions.getTransitionsForPageUrl_month.xml | 6 + ...sitions.getTransitionsForPageTitle_day.xml | 117 ++++++++++++++++ ...tions.getTransitionsForPageTitle_month.xml | 129 ++++++++++++++++++ ...ansitions.getTransitionsForPageUrl_day.xml | 120 ++++++++++++++++ ...sitions.getTransitionsForPageUrl_month.xml | 128 +++++++++++++++++ 68 files changed, 770 insertions(+), 56 deletions(-) create mode 100644 tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_userId__VisitsSummary.get_range.xml create mode 100644 tests/PHPUnit/Integration/expected/test_Transitions__Transitions.getTransitionsForPageUrl_day.xml create mode 100644 tests/PHPUnit/Integration/expected/test_Transitions__Transitions.getTransitionsForPageUrl_month.xml create mode 100644 tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageTitle_day.xml create mode 100644 tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageTitle_month.xml create mode 100644 tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageUrl_day.xml create mode 100644 tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageUrl_month.xml create mode 100644 tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageTitle_day.xml create mode 100644 tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageTitle_month.xml create mode 100644 tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageUrl_day.xml create mode 100644 tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageUrl_month.xml diff --git a/js/piwik.js b/js/piwik.js index 1f5470a5e6..8c3a8c9d23 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -408,7 +408,7 @@ if (typeof JSON2 !== 'object') { exec, res, width, height, devicePixelRatio, pdf, qt, realp, wma, dir, fla, java, gears, ag, - hook, getHook, getVisitorId, getVisitorInfo, setSiteId, setTrackerUrl, appendToTrackingUrl, getRequest, addPlugin, + hook, getHook, getVisitorId, getVisitorInfo, setUserId, setSiteId, setTrackerUrl, appendToTrackingUrl, getRequest, addPlugin, getAttributionInfo, getAttributionCampaignName, getAttributionCampaignKeyword, getAttributionReferrerTimestamp, getAttributionReferrerUrl, setCustomData, getCustomData, diff --git a/piwik.js b/piwik.js index 60d9983ad6..1b51739205 100644 --- a/piwik.js +++ b/piwik.js @@ -19,7 +19,7 @@ break;case 3:aj=ag.charCodeAt(Q-3)<<24|ag.charCodeAt(Q-2)<<16|ag.charCodeAt(Q-1) function ba(bE,bB,bA,bD,bz,bC){if(af){return}var by;if(bA){by=new Date();by.setTime(by.getTime()+bA)}s.cookie=bE+"="+k(bB)+(bA?";expires="+by.toGMTString():"")+";path="+(bD||"/")+(bz?";domain="+bz:"")+(bC?";secure":"")}function ak(bA){if(af){return 0}var by=new RegExp("(^|;)[ ]*"+bA+"=([^;]*)"),bz=by.exec(s.cookie);return bz?B(bz[2]):0}function bp(by){var bz;if(ab){bz=new RegExp("#.*");return by.replace(bz,"")}return by}function be(bA,by){var bB=j(by),bz;if(bB){return by}if(by.slice(0,1)==="/"){return j(bA)+"://"+b(bA)+by}bA=bp(bA);bz=bA.indexOf("?");if(bz>=0){bA=bA.slice(0,bz)}bz=bA.lastIndexOf("/");if(bz!==bA.length-1){bA=bA.slice(0,bz+1)}return bA+by}function aZ(bB){var bz,by,bA;for(bz=0;bz<aX.length;bz++){by=w(aX[bz].toLowerCase());if(bB===by){return true}if(by.slice(0,1)==="."){if(bB===by.slice(1)){return true}bA=bB.length-by.length;if((bA>0)&&(bB.slice(bA)===by)){return true}}}return false}function bx(by,bA){var bz=new Image(1,1);bz.onload=function(){r=0;if(typeof bA==="function"){bA() }};bz.src=U+(U.indexOf("?")<0?"?":"&")+by}function bb(by,bB){try{var bA=C.XMLHttpRequest?new C.XMLHttpRequest():C.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;bA.open("POST",U,true);bA.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){bx(by,bB)}else{if(typeof bB==="function"){bB()}}};bA.setRequestHeader("Content-Type",av);bA.send(by)}catch(bz){bx(by,bB)}}function aE(bA,bz,bB){var by=new Date();if(!bn){if(a0==="POST"){bb(bA,bB)}else{bx(bA,bB)}i=by.getTime()+bz}}function a9(by){return bs+by+"."+bk+"."+a4}function X(){if(af){return"0"}if(!u(e.cookieEnabled)){var by=a9("testcookie");ba(by,"1");return ak(by)==="1"?"1":"0"}return e.cookieEnabled?"1":"0"}function aS(){a4=aC((ag||bf)+(bt||"/")).slice(0,4)}function ai(){var bz=a9("cvar"),by=ak(bz);if(by.length){by=JSON2.parse(by);if(E(by)){return by}}return{}}function T(){if(Y===false){Y=ai()}}function bj(){var by=new Date();a1=by.getTime()}function ad(bC,bz,by,bB,bA,bD){ba(a9("id"),bC+"."+bz+"."+by+"."+bB+"."+bA+"."+bD,al,bt,ag) }function S(){var bz=new Date(),by=Math.round(bz.getTime()/1000),bB=ak(a9("id")),bA;if(bB){bA=bB.split(".");bA.unshift("0")}else{if(!aH){aH=aC((e.userAgent||"")+(e.platform||"")+JSON2.stringify(bl)+bz.getTime()+Math.random()).slice(0,16)}bA=["1",aH,by,0,by,"",""]}return bA}function R(){var by=ak(a9("ref"));if(by.length){try{by=JSON2.parse(by);if(E(by)){return by}}catch(bz){}}return["","",0,""]}function Q(){var by=af;af=false;ba(a9("id"),"",-86400,bt,ag);ba(a9("ses"),"",-86400,bt,ag);ba(a9("cvar"),"",-86400,bt,ag);ba(a9("ref"),"",-86400,bt,ag);af=by}function bi(bC){if(!bC||!E(bC)){return}var bB=[];var bA;for(bA in bC){if(Object.prototype.hasOwnProperty.call(bC,bA)){bB.push(bA)}}var bD={};bB.sort();var by=bB.length;var bz;for(bz=0;bz<by;bz++){bD[bB[bz]]=bC[bB[bz]]}return bD}function aA(bA,bY,bZ,bB){var bW,bz=new Date(),bI=Math.round(bz.getTime()/1000),b2,bX,bD,bO,bT,bH,bR,bE,bV,bC=1024,b4,bL,bS=Y,bJ=a9("ses"),bK=a9("ref"),b5=a9("cvar"),bP=S(),bN=ak(bJ),bU=R(),b1=aK||bu,bF,by;if(af){Q()}if(bn){return"" -}b2=bP[0];bX=bP[1];bO=bP[2];bD=bP[3];bT=bP[4];bH=bP[5];if(!u(bP[6])){bP[6]=""}bR=bP[6];if(!u(bB)){bB=""}var bM=s.characterSet||s.charset;if(!bM||bM.toLowerCase()==="utf-8"){bM=null}bF=bU[0];by=bU[1];bE=bU[2];bV=bU[3];if(!bN){var b0=an/1000;if(!bH||(bI-bH)>b0){bD++;bH=bT}if(!aI||!bF.length){for(bW in aD){if(Object.prototype.hasOwnProperty.call(aD,bW)){bF=D(b1,aD[bW]);if(bF.length){break}}}for(bW in ay){if(Object.prototype.hasOwnProperty.call(ay,bW)){by=D(b1,ay[bW]);if(by.length){break}}}}b4=b(a2);bL=bV.length?b(bV):"";if(b4.length&&!aZ(b4)&&(!aI||!bL.length||aZ(bL))){bV=a2}if(bV.length||bF.length){bE=bI;bU=[bF,by,bE,bp(bV.slice(0,bC))];ba(bK,JSON2.stringify(bU),aL,bt,ag)}}bA+="&idsite="+bk+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+bz.getHours()+"&m="+bz.getMinutes()+"&s="+bz.getSeconds()+"&url="+k(bp(b1))+(a2.length?"&urlref="+k(bp(a2)):"")+(au.length?"&uid="+au:"")+"&_id="+bX+"&_idts="+bO+"&_idvc="+bD+"&_idn="+b2+(bF.length?"&_rcn="+k(bF):"")+(by.length?"&_rck="+k(by):"")+"&_refts="+bE+"&_viewts="+bH+(String(bR).length?"&_ects="+bR:"")+(String(bV).length?"&_ref="+k(bp(bV.slice(0,bC))):"")+(bM?"&cs="+k(bM):""); +}b2=bP[0];bX=bP[1];bO=bP[2];bD=bP[3];bT=bP[4];bH=bP[5];if(!u(bP[6])){bP[6]=""}bR=bP[6];if(!u(bB)){bB=""}var bM=s.characterSet||s.charset;if(!bM||bM.toLowerCase()==="utf-8"){bM=null}bF=bU[0];by=bU[1];bE=bU[2];bV=bU[3];if(!bN){var b0=an/1000;if(!bH||(bI-bH)>b0){bD++;bH=bT}if(!aI||!bF.length){for(bW in aD){if(Object.prototype.hasOwnProperty.call(aD,bW)){bF=D(b1,aD[bW]);if(bF.length){break}}}for(bW in ay){if(Object.prototype.hasOwnProperty.call(ay,bW)){by=D(b1,ay[bW]);if(by.length){break}}}}b4=b(a2);bL=bV.length?b(bV):"";if(b4.length&&!aZ(b4)&&(!aI||!bL.length||aZ(bL))){bV=a2}if(bV.length||bF.length){bE=bI;bU=[bF,by,bE,bp(bV.slice(0,bC))];ba(bK,JSON2.stringify(bU),aL,bt,ag)}}bA+="&idsite="+bk+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+bz.getHours()+"&m="+bz.getMinutes()+"&s="+bz.getSeconds()+"&url="+k(bp(b1))+(a2.length?"&urlref="+k(bp(a2)):"")+(au.length?"&uid="+k(au):"")+"&_id="+bX+"&_idts="+bO+"&_idvc="+bD+"&_idn="+b2+(bF.length?"&_rcn="+k(bF):"")+(by.length?"&_rck="+k(by):"")+"&_refts="+bE+"&_viewts="+bH+(String(bR).length?"&_ects="+bR:"")+(String(bV).length?"&_ref="+k(bp(bV.slice(0,bC))):"")+(bM?"&cs="+k(bM):""); for(bW in bl){if(Object.prototype.hasOwnProperty.call(bl,bW)){bA+="&"+bW+"="+bl[bW]}}if(bY){bA+="&data="+k(JSON2.stringify(bY))}else{if(ae){bA+="&data="+k(JSON2.stringify(ae))}}function bG(b6,b7){var b8=JSON2.stringify(b6);if(b8.length>2){return"&"+b7+"="+k(b8)}return""}var b3=bi(aQ);var bQ=bi(V);bA+=bG(b3,"cvar");bA+=bG(bQ,"e_cvar");if(Y){bA+=bG(Y,"_cvar");for(bW in bS){if(Object.prototype.hasOwnProperty.call(bS,bW)){if(Y[bW][0]===""||Y[bW][1]===""){delete Y[bW]}}}if(aJ){ba(b5,JSON2.stringify(Y),an,bt,ag)}}if(aG){if(at){bA+=">_ms="+at}else{if(f&&f.timing&&f.timing.requestStart&&f.timing.responseEnd){bA+=">_ms="+(f.timing.responseEnd-f.timing.requestStart)}}}ad(bX,bO,bD,bI,bH,u(bB)&&String(bB).length?bB:bR);ba(bJ,"*",an,bt,ag);bA+=J(bZ);if(aW.length){bA+="&"+aW}if(o(aj)){bA=aj(bA)}return bA}function bd(bB,bA,bF,bC,by,bI){var bD="idgoal=0",bE,bz=new Date(),bG=[],bH;if(String(bB).length){bD+="&ec_id="+k(bB);bE=Math.round(bz.getTime()/1000)}bD+="&revenue="+bA;if(String(bF).length){bD+="&ec_st="+bF }if(String(bC).length){bD+="&ec_tx="+bC}if(String(by).length){bD+="&ec_sh="+by}if(String(bI).length){bD+="&ec_dt="+bI}if(a8){for(bH in a8){if(Object.prototype.hasOwnProperty.call(a8,bH)){if(!u(a8[bH][1])){a8[bH][1]=""}if(!u(a8[bH][2])){a8[bH][2]=""}if(!u(a8[bH][3])||String(a8[bH][3]).length===0){a8[bH][3]=0}if(!u(a8[bH][4])||String(a8[bH][4]).length===0){a8[bH][4]=1}bG.push(a8[bH])}}bD+="&ec_items="+k(JSON2.stringify(bG))}bD=aA(bD,ae,"ecommerce",bE);aE(bD,aV)}function bc(by,bC,bB,bA,bz,bD){if(String(by).length&&u(bC)){bd(by,bC,bB,bA,bz,bD)}}function br(by){if(u(by)){bd("",by,"","","","")}}function aO(bB,bC){var by=new Date(),bA=aA("action_name="+k(P(bB||az)),bC,"log");aE(bA,aV);if(aa&&aq&&!a3){a3=true;O(s,"click",bj);O(s,"mouseup",bj);O(s,"mousedown",bj);O(s,"mousemove",bj);O(s,"mousewheel",bj);O(C,"DOMMouseScroll",bj);O(C,"scroll",bj);O(s,"keypress",bj);O(s,"keydown",bj);O(s,"keyup",bj);O(C,"resize",bj);O(C,"focus",bj);O(C,"blur",bj);a1=by.getTime();setTimeout(function bz(){var bD;by=new Date(); if((a1+aq)>by.getTime()){if(aa<by.getTime()){bD=aA("ping=1",bC,"ping");aE(bD,aV)}setTimeout(bz,aq)}},aq)}}function ac(bA,bC,by,bB,bD){if(String(bA).length===0||String(bC).length===0){return false}var bz=aA("e_c="+k(bA)+"&e_a="+k(bC)+(u(by)?"&e_n="+k(by):"")+(u(bB)?"&e_v="+k(bB):""),bD,"event");aE(bz,aV)}function ax(by,bB,bz,bC){var bA=aA("search="+k(by)+(bB?"&search_cat="+k(bB):"")+(u(bz)?"&search_count="+bz:""),bC,"sitesearch");aE(bA,aV)}function aT(by,bB,bA){var bz=aA("idgoal="+by+(bB?"&revenue="+bB:""),bA,"goal");aE(bz,aV)}function bh(bz,by,bC,bB){var bA=aA(by+"="+k(bp(bz)),bC,"link");aE(bA,(bB?0:aV),bB)}function bm(bz,by){if(bz!==""){return bz+by.charAt(0).toUpperCase()+by.slice(1)}return by}function aw(bD){var bC,by,bB=["","webkit","ms","moz"],bA;if(!aF){for(by=0;by<bB.length;by++){bA=bB[by];if(Object.prototype.hasOwnProperty.call(s,bm(bA,"hidden"))){if(s[bm(bA,"visibilityState")]==="prerender"){bC=true}break}}}if(bC){O(s,bA+"visibilitychange",function bz(){s.removeEventListener(bA+"visibilitychange",bz,false); diff --git a/tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php b/tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php index c6d131b061..2d7620f4fe 100644 --- a/tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php +++ b/tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php @@ -179,6 +179,7 @@ class ManyVisitsWithGeoIP extends Fixture $t->setTokenAuth(self::getTokenAuth()); $t->setForceVisitDateTime(Date::factory($dateTime)->addDay(20)->getDatetime()); $t->setIp('194.57.91.215'); + $t->setUserId('userid.email@example.org'); $t->setCountry('us'); $t->setRegion('CA'); $t->setCity('not a city'); diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml index 6c11da1a7f..6f772e2ef7 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml @@ -4,7 +4,7 @@ <idSite>1</idSite> <idVisit>35</idVisit> <visitIp>194.57.91.215</visitIp> - <userId /> + <userId>userid.email@example.org</userId> <actionDetails> <row> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_actions__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_actions__VisitsSummary.get_range.xml index 001dc09dd7..7ace3fcbe7 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_actions__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_actions__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>18</nb_visits> <nb_actions>18</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>18</nb_visits_converted> <bounce_count>18</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_browserCode__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_browserCode__VisitsSummary.get_range.xml index d7852df564..5d07770e4e 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_browserCode__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_browserCode__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>28</nb_visits> <nb_actions>48</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>28</nb_visits_converted> <bounce_count>15</bounce_count> <sum_visit_length>16393</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_browserVersion__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_browserVersion__VisitsSummary.get_range.xml index d7852df564..5d07770e4e 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_browserVersion__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_browserVersion__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>28</nb_visits> <nb_actions>48</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>28</nb_visits_converted> <bounce_count>15</bounce_count> <sum_visit_length>16393</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_city__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_city__VisitsSummary.get_range.xml index 48013eac90..0dadc8d4ed 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_city__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_city__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>10</nb_visits> <nb_actions>18</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>10</nb_visits_converted> <bounce_count>5</bounce_count> <sum_visit_length>6305</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_continentCode__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_continentCode__VisitsSummary.get_range.xml index b702f83238..7c7cc211dd 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_continentCode__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_continentCode__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>20</nb_visits> <nb_actions>36</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>20</nb_visits_converted> <bounce_count>10</bounce_count> <sum_visit_length>12610</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_countryCode__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_countryCode__VisitsSummary.get_range.xml index 48013eac90..0dadc8d4ed 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_countryCode__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_countryCode__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>10</nb_visits> <nb_actions>18</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>10</nb_visits_converted> <bounce_count>5</bounce_count> <sum_visit_length>6305</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableName1__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableName1__VisitsSummary.get_range.xml index df72209059..47eec1002c 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableName1__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableName1__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>30</nb_visits> <nb_actions>50</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>30</nb_visits_converted> <bounce_count>17</bounce_count> <sum_visit_length>16393</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableName5__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableName5__VisitsSummary.get_range.xml index df72209059..47eec1002c 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableName5__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableName5__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>30</nb_visits> <nb_actions>50</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>30</nb_visits_converted> <bounce_count>17</bounce_count> <sum_visit_length>16393</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageName2__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageName2__VisitsSummary.get_range.xml index 8e1392d5d1..b72146a986 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageName2__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageName2__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>17</nb_visits> <nb_actions>17</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>17</nb_visits_converted> <bounce_count>17</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageName4__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageName4__VisitsSummary.get_range.xml index ddd3ce5d02..d8bcdace18 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageName4__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageName4__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>0</nb_visits> <nb_actions>0</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>0</nb_visits_converted> <bounce_count>0</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageName5__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageName5__VisitsSummary.get_range.xml index 8e1392d5d1..b72146a986 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageName5__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageName5__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>17</nb_visits> <nb_actions>17</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>17</nb_visits_converted> <bounce_count>17</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageValue2__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageValue2__VisitsSummary.get_range.xml index 1d428c14fd..88dae8fd6c 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageValue2__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageValue2__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>4</nb_visits> <nb_actions>4</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>4</nb_visits_converted> <bounce_count>4</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageValue4__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageValue4__VisitsSummary.get_range.xml index 6e2c13e9b4..e0144ec833 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageValue4__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageValue4__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>9</nb_visits> <nb_actions>27</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>9</nb_visits_converted> <bounce_count>0</bounce_count> <sum_visit_length>11349</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageValue5__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageValue5__VisitsSummary.get_range.xml index 1d428c14fd..88dae8fd6c 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageValue5__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariablePageValue5__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>4</nb_visits> <nb_actions>4</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>4</nb_visits_converted> <bounce_count>4</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableValue1__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableValue1__VisitsSummary.get_range.xml index bd32b650f1..d4214faba0 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableValue1__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableValue1__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>7</nb_visits> <nb_actions>10</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>7</nb_visits_converted> <bounce_count>4</bounce_count> <sum_visit_length>3783</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableValue5__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableValue5__VisitsSummary.get_range.xml index bd32b650f1..d4214faba0 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableValue5__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_customVariableValue5__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>7</nb_visits> <nb_actions>10</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>7</nb_visits_converted> <bounce_count>4</bounce_count> <sum_visit_length>3783</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_daysSinceFirstVisit__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_daysSinceFirstVisit__VisitsSummary.get_range.xml index 923dadc02f..a0db0ecba0 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_daysSinceFirstVisit__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_daysSinceFirstVisit__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>17</nb_visits> <nb_actions>43</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>17</nb_visits_converted> <bounce_count>0</bounce_count> <sum_visit_length>21437</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_daysSinceLastEcommerceOrder__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_daysSinceLastEcommerceOrder__VisitsSummary.get_range.xml index 923dadc02f..a0db0ecba0 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_daysSinceLastEcommerceOrder__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_daysSinceLastEcommerceOrder__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>17</nb_visits> <nb_actions>43</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>17</nb_visits_converted> <bounce_count>0</bounce_count> <sum_visit_length>21437</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_daysSinceLastVisit__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_daysSinceLastVisit__VisitsSummary.get_range.xml index 923dadc02f..a0db0ecba0 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_daysSinceLastVisit__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_daysSinceLastVisit__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>17</nb_visits> <nb_actions>43</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>17</nb_visits_converted> <bounce_count>0</bounce_count> <sum_visit_length>21437</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_entryPageTitle__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_entryPageTitle__VisitsSummary.get_range.xml index 8e1392d5d1..b72146a986 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_entryPageTitle__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_entryPageTitle__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>17</nb_visits> <nb_actions>17</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>17</nb_visits_converted> <bounce_count>17</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_entryPageUrl__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_entryPageUrl__VisitsSummary.get_range.xml index 001dc09dd7..7ace3fcbe7 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_entryPageUrl__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_entryPageUrl__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>18</nb_visits> <nb_actions>18</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>18</nb_visits_converted> <bounce_count>18</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_eventAction__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_eventAction__VisitsSummary.get_range.xml index 586936379d..1922b24059 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_eventAction__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_eventAction__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>4</nb_visits> <nb_actions>8</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>4</nb_visits_converted> <bounce_count>0</bounce_count> <sum_visit_length>5044</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_eventCategory__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_eventCategory__VisitsSummary.get_range.xml index 586936379d..1922b24059 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_eventCategory__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_eventCategory__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>4</nb_visits> <nb_actions>8</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>4</nb_visits_converted> <bounce_count>0</bounce_count> <sum_visit_length>5044</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_eventName__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_eventName__VisitsSummary.get_range.xml index 586936379d..1922b24059 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_eventName__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_eventName__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>4</nb_visits> <nb_actions>8</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>4</nb_visits_converted> <bounce_count>0</bounce_count> <sum_visit_length>5044</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_events__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_events__VisitsSummary.get_range.xml index 001dc09dd7..7ace3fcbe7 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_events__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_events__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>18</nb_visits> <nb_actions>18</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>18</nb_visits_converted> <bounce_count>18</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_exitPageTitle__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_exitPageTitle__VisitsSummary.get_range.xml index 8e1392d5d1..b72146a986 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_exitPageTitle__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_exitPageTitle__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>17</nb_visits> <nb_actions>17</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>17</nb_visits_converted> <bounce_count>17</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_exitPageUrl__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_exitPageUrl__VisitsSummary.get_range.xml index 001dc09dd7..7ace3fcbe7 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_exitPageUrl__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_exitPageUrl__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>18</nb_visits> <nb_actions>18</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>18</nb_visits_converted> <bounce_count>18</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_latitude__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_latitude__VisitsSummary.get_range.xml index b4a93989c0..e023a89081 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_latitude__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_latitude__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>6</nb_visits> <nb_actions>10</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>6</nb_visits_converted> <bounce_count>3</bounce_count> <sum_visit_length>3783</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_longitude__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_longitude__VisitsSummary.get_range.xml index ddd3ce5d02..d8bcdace18 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_longitude__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_longitude__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>0</nb_visits> <nb_actions>0</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>0</nb_visits_converted> <bounce_count>0</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_operatingSystemCode__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_operatingSystemCode__VisitsSummary.get_range.xml index d7852df564..5d07770e4e 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_operatingSystemCode__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_operatingSystemCode__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>28</nb_visits> <nb_actions>48</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>28</nb_visits_converted> <bounce_count>15</bounce_count> <sum_visit_length>16393</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_pageTitle__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_pageTitle__VisitsSummary.get_range.xml index 8e1392d5d1..b72146a986 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_pageTitle__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_pageTitle__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>17</nb_visits> <nb_actions>17</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>17</nb_visits_converted> <bounce_count>17</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_pageUrl__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_pageUrl__VisitsSummary.get_range.xml index 923dadc02f..a0db0ecba0 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_pageUrl__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_pageUrl__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>17</nb_visits> <nb_actions>43</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>17</nb_visits_converted> <bounce_count>0</bounce_count> <sum_visit_length>21437</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_provider__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_provider__VisitsSummary.get_range.xml index 2b12ef6664..c51a1bc13d 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_provider__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_provider__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>2</nb_visits> <nb_actions>4</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>2</nb_visits_converted> <bounce_count>1</bounce_count> <sum_visit_length>1261</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerKeyword__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerKeyword__VisitsSummary.get_range.xml index c1c253f1d3..dfa3a20623 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerKeyword__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerKeyword__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>1</nb_visits> <nb_actions>1</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>1</nb_visits_converted> <bounce_count>1</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerName__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerName__VisitsSummary.get_range.xml index c1c253f1d3..dfa3a20623 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerName__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerName__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>1</nb_visits> <nb_actions>1</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>1</nb_visits_converted> <bounce_count>1</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerType__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerType__VisitsSummary.get_range.xml index de7d24b710..ce18f5b1dc 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerType__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerType__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>34</nb_visits> <nb_actions>60</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>34</nb_visits_converted> <bounce_count>17</bounce_count> <sum_visit_length>21437</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerUrl__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerUrl__VisitsSummary.get_range.xml index c1c253f1d3..dfa3a20623 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerUrl__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_referrerUrl__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>1</nb_visits> <nb_actions>1</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>1</nb_visits_converted> <bounce_count>1</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_regionCode__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_regionCode__VisitsSummary.get_range.xml index b4a93989c0..e023a89081 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_regionCode__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_regionCode__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>6</nb_visits> <nb_actions>10</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>6</nb_visits_converted> <bounce_count>3</bounce_count> <sum_visit_length>3783</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_resolution__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_resolution__VisitsSummary.get_range.xml index d103d7beac..f52326b337 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_resolution__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_resolution__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>35</nb_visits> <nb_actions>61</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> <sum_visit_length>21437</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_searches__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_searches__VisitsSummary.get_range.xml index c3b9117019..410df64fa3 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_searches__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_searches__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>26</nb_visits> <nb_actions>34</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>26</nb_visits_converted> <bounce_count>18</bounce_count> <sum_visit_length>10088</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_siteSearchKeyword__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_siteSearchKeyword__VisitsSummary.get_range.xml index 6e2c13e9b4..e0144ec833 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_siteSearchKeyword__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_siteSearchKeyword__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>9</nb_visits> <nb_actions>27</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>9</nb_visits_converted> <bounce_count>0</bounce_count> <sum_visit_length>11349</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_userId__API.getSuggestedValuesForSegment.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_userId__API.getSuggestedValuesForSegment.xml index c234bed59e..381e1be3af 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_userId__API.getSuggestedValuesForSegment.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_userId__API.getSuggestedValuesForSegment.xml @@ -1,2 +1,4 @@ <?xml version="1.0" encoding="utf-8" ?> -<result /> \ No newline at end of file +<result> + <row>userid.email@example.org</row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_userId__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_userId__VisitsSummary.get_range.xml new file mode 100644 index 0000000000..dfa3a20623 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_userId__VisitsSummary.get_range.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <nb_visits_converted>1</nb_visits_converted> + <bounce_count>1</bounce_count> + <sum_visit_length>0</sum_visit_length> + <max_actions>1</max_actions> + <bounce_rate>100%</bounce_rate> + <nb_actions_per_visit>1</nb_actions_per_visit> + <avg_time_on_site>0</avg_time_on_site> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitConvertedGoalId__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitConvertedGoalId__VisitsSummary.get_range.xml index d103d7beac..f52326b337 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitConvertedGoalId__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitConvertedGoalId__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>35</nb_visits> <nb_actions>61</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> <sum_visit_length>21437</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitConverted__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitConverted__VisitsSummary.get_range.xml index d103d7beac..f52326b337 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitConverted__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitConverted__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>35</nb_visits> <nb_actions>61</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> <sum_visit_length>21437</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitCount__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitCount__VisitsSummary.get_range.xml index 35f6ce17b0..ce025f0a46 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitCount__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitCount__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>30</nb_visits> <nb_actions>56</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>30</nb_visits_converted> <bounce_count>13</bounce_count> <sum_visit_length>21437</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitDuration__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitDuration__VisitsSummary.get_range.xml index 001dc09dd7..7ace3fcbe7 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitDuration__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitDuration__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>18</nb_visits> <nb_actions>18</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>18</nb_visits_converted> <bounce_count>18</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitEcommerceStatus__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitEcommerceStatus__VisitsSummary.get_range.xml index d103d7beac..f52326b337 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitEcommerceStatus__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitEcommerceStatus__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>35</nb_visits> <nb_actions>61</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> <sum_visit_length>21437</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitIp__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitIp__VisitsSummary.get_range.xml index dadd25599f..352cc69e4a 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitIp__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitIp__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>3</nb_visits> <nb_actions>5</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>3</nb_visits_converted> <bounce_count>2</bounce_count> <sum_visit_length>1261</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitLocalHour__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitLocalHour__VisitsSummary.get_range.xml index d103d7beac..f52326b337 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitLocalHour__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitLocalHour__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>35</nb_visits> <nb_actions>61</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>35</nb_visits_converted> <bounce_count>18</bounce_count> <sum_visit_length>21437</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitServerHour__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitServerHour__VisitsSummary.get_range.xml index 001dc09dd7..7ace3fcbe7 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitServerHour__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitServerHour__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>18</nb_visits> <nb_actions>18</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>18</nb_visits_converted> <bounce_count>18</bounce_count> <sum_visit_length>0</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitorId__API.getSuggestedValuesForSegment.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitorId__API.getSuggestedValuesForSegment.xml index 8a4e8dcb1e..e21f421867 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitorId__API.getSuggestedValuesForSegment.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitorId__API.getSuggestedValuesForSegment.xml @@ -17,5 +17,5 @@ <row>fed33392d3a48aa1</row> <row>a4380923dd651c19</row> <row>aa68c75c4a77c87f</row> - <row>fed33392d3a48ab2</row> + <row>e64bc481700c5d69</row> </result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitorId__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitorId__VisitsSummary.get_range.xml index c36f20bea7..64efc881e1 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitorId__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitorId__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>2</nb_visits> <nb_actions>3</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>2</nb_visits_converted> <bounce_count>1</bounce_count> <sum_visit_length>1261</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitorType__VisitsSummary.get_range.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitorType__VisitsSummary.get_range.xml index 35f6ce17b0..ce025f0a46 100644 --- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitorType__VisitsSummary.get_range.xml +++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_visitorType__VisitsSummary.get_range.xml @@ -2,7 +2,6 @@ <result> <nb_visits>30</nb_visits> <nb_actions>56</nb_actions> - <nb_users>0</nb_users> <nb_visits_converted>30</nb_visits_converted> <bounce_count>13</bounce_count> <sum_visit_length>21437</sum_visit_length> diff --git a/tests/PHPUnit/Integration/expected/test_Transitions__Transitions.getTransitionsForPageUrl_day.xml b/tests/PHPUnit/Integration/expected/test_Transitions__Transitions.getTransitionsForPageUrl_day.xml new file mode 100644 index 0000000000..55793129f6 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_Transitions__Transitions.getTransitionsForPageUrl_day.xml @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <date>Sat 6 Mar</date> + <previousPages> + <row> + <label>example.org/the/third_page.html?foo=bar</label> + <referrals>3</referrals> + </row> + <row> + <label>example.org/sub/dir/page2.html</label> + <referrals>2</referrals> + </row> + <row> + <label>Others</label> + <referrals>2</referrals> + </row> + </previousPages> + <previousSiteSearches> + <row> + <label>anotherkwd</label> + <referrals>1</referrals> + </row> + </previousSiteSearches> + <pageMetrics> + <loops>2</loops> + <pageviews>18</pageviews> + <entries>4</entries> + <exits>2</exits> + </pageMetrics> + <followingPages> + <row> + <label>example.org/the/third_page.html?foo=baz</label> + <referrals>3</referrals> + </row> + <row> + <label>example.org/sub/dir/page2.html</label> + <referrals>2</referrals> + </row> + <row> + <label>Others</label> + <referrals>4</referrals> + </row> + </followingPages> + <followingSiteSearches> + <row> + <label>anotherkwd</label> + <referrals>1</referrals> + </row> + </followingSiteSearches> + <outlinks> + <row> + <label>http://www.anothersite.com/to/outlink/page.html</label> + <referrals>1</referrals> + </row> + <row> + <label>http://anothersite.com/to/outlink/page2.html</label> + <referrals>1</referrals> + </row> + </outlinks> + <downloads> + <row> + <label>http://example.org/downloads/33.tar.gz</label> + <referrals>1</referrals> + </row> + <row> + <label>https://example.org/downloads/35.tar.gz</label> + <referrals>1</referrals> + </row> + </downloads> + <referrers> + <row> + <label>Direct Entries</label> + <shortName>direct</shortName> + <visits>1</visits> + <details> + </details> + </row> + <row> + <label>From Search Engines</label> + <shortName>search</shortName> + <visits>1</visits> + <details> + <row> + <label><>&\"the pdo extension is required for this adapter but the extension is not loaded</label> + <referrals>1</referrals> + </row> + </details> + </row> + <row> + <label>From Websites</label> + <shortName>website</shortName> + <visits>1</visits> + <details> + <row> + <label>http://www.external.com.vn/referrerPage-counted.html</label> + <referrals>1</referrals> + </row> + </details> + </row> + <row> + <label>From Campaigns</label> + <shortName>campaign</shortName> + <visits>1</visits> + <details> + <row> + <label>testcampaign testkeyword</label> + <referrals>1</referrals> + </row> + </details> + </row> + </referrers> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_Transitions__Transitions.getTransitionsForPageUrl_month.xml b/tests/PHPUnit/Integration/expected/test_Transitions__Transitions.getTransitionsForPageUrl_month.xml new file mode 100644 index 0000000000..5ed9538508 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_Transitions__Transitions.getTransitionsForPageUrl_month.xml @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <date>Mar 2010</date> + <previousPages> + <row> + <label>example.org/the/third_page.html?foo=bar</label> + <referrals>3</referrals> + </row> + <row> + <label>example.org/sub/dir/page2.html</label> + <referrals>2</referrals> + </row> + <row> + <label>Others</label> + <referrals>2</referrals> + </row> + </previousPages> + <previousSiteSearches> + <row> + <label>anotherkwd</label> + <referrals>1</referrals> + </row> + </previousSiteSearches> + <pageMetrics> + <loops>2</loops> + <pageviews>21</pageviews> + <entries>4</entries> + <exits>1</exits> + </pageMetrics> + <followingPages> + <row> + <label>example.org/the/third_page.html?foo=baz</label> + <referrals>3</referrals> + </row> + <row> + <label>example.org/sub/dir/page2.html</label> + <referrals>2</referrals> + </row> + <row> + <label>Others</label> + <referrals>5</referrals> + </row> + </followingPages> + <followingSiteSearches> + <row> + <label>anotherkwd</label> + <referrals>2</referrals> + </row> + </followingSiteSearches> + <outlinks> + <row> + <label>http://www.anothersite.com/to/outlink/page.html</label> + <referrals>1</referrals> + </row> + <row> + <label>http://anothersite.com/to/outlink/page2.html</label> + <referrals>1</referrals> + </row> + <row> + <label>Others</label> + <referrals>1</referrals> + </row> + </outlinks> + <downloads> + <row> + <label>http://example.org/downloads/33.tar.gz</label> + <referrals>1</referrals> + </row> + <row> + <label>https://example.org/downloads/35.tar.gz</label> + <referrals>1</referrals> + </row> + <row> + <label>Others</label> + <referrals>1</referrals> + </row> + </downloads> + <referrers> + <row> + <label>Direct Entries</label> + <shortName>direct</shortName> + <visits>1</visits> + <details> + </details> + </row> + <row> + <label>From Search Engines</label> + <shortName>search</shortName> + <visits>1</visits> + <details> + <row> + <label><>&\"the pdo extension is required for this adapter but the extension is not loaded</label> + <referrals>1</referrals> + </row> + </details> + </row> + <row> + <label>From Websites</label> + <shortName>website</shortName> + <visits>1</visits> + <details> + <row> + <label>http://www.external.com.vn/referrerPage-counted.html</label> + <referrals>1</referrals> + </row> + </details> + </row> + <row> + <label>From Campaigns</label> + <shortName>campaign</shortName> + <visits>1</visits> + <details> + <row> + <label>testcampaign testkeyword</label> + <referrals>1</referrals> + </row> + </details> + </row> + </referrers> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageTitle_day.xml b/tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageTitle_day.xml new file mode 100644 index 0000000000..a0995fa6e9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageTitle_day.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <error message="NoDataForAction + + --> To temporarily debug this error further, set const PIWIK_PRINT_ERROR_BACKTRACE=true; in index.php" /> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageTitle_month.xml b/tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageTitle_month.xml new file mode 100644 index 0000000000..a0995fa6e9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageTitle_month.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <error message="NoDataForAction + + --> To temporarily debug this error further, set const PIWIK_PRINT_ERROR_BACKTRACE=true; in index.php" /> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageUrl_day.xml b/tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageUrl_day.xml new file mode 100644 index 0000000000..a0995fa6e9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageUrl_day.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <error message="NoDataForAction + + --> To temporarily debug this error further, set const PIWIK_PRINT_ERROR_BACKTRACE=true; in index.php" /> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageUrl_month.xml b/tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageUrl_month.xml new file mode 100644 index 0000000000..a0995fa6e9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_Transitions_noData__Transitions.getTransitionsForPageUrl_month.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <error message="NoDataForAction + + --> To temporarily debug this error further, set const PIWIK_PRINT_ERROR_BACKTRACE=true; in index.php" /> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageTitle_day.xml b/tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageTitle_day.xml new file mode 100644 index 0000000000..380f8c0fe5 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageTitle_day.xml @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <date>Sat 6 Mar</date> + <previousPages> + <row> + <label>page title - the/third_page.html?foo=bar</label> + <referrals>3</referrals> + </row> + <row> + <label>page title - sub/dir/page2.html</label> + <referrals>2</referrals> + </row> + <row> + <label>page title - the/third_page.html?foo=baz#anchor1</label> + <referrals>1</referrals> + </row> + <row> + <label>page title - the/third_page.html?foo=baz#anchor2</label> + <referrals>1</referrals> + </row> + </previousPages> + <previousSiteSearches> + <row> + <label>mykwd</label> + <referrals>1</referrals> + </row> + <row> + <label>anotherkwd</label> + <referrals>1</referrals> + </row> + </previousSiteSearches> + <pageMetrics> + <loops>5</loops> + <pageviews>17</pageviews> + <entries>3</entries> + <exits>-1</exits> + </pageMetrics> + <followingPages> + <row> + <label>page title - sub/dir/page2.html</label> + <referrals>2</referrals> + </row> + <row> + <label>page title - the/third_page.html?foo=bar</label> + <referrals>2</referrals> + </row> + <row> + <label>page title - the/third_page.html?foo=baz#anchor1</label> + <referrals>2</referrals> + </row> + <row> + <label>page title - the/third_page.html?foo=baz#anchor2</label> + <referrals>1</referrals> + </row> + <row> + <label>page title - page3.html</label> + <referrals>1</referrals> + </row> + </followingPages> + <followingSiteSearches> + <row> + <label>anotherkwd</label> + <referrals>1</referrals> + </row> + </followingSiteSearches> + <outlinks> + <row> + <label>http://www.anothersite.com/to/outlink/page.html</label> + <referrals>1</referrals> + </row> + <row> + <label>http://anothersite.com/to/outlink/page2.html</label> + <referrals>1</referrals> + </row> + </outlinks> + <downloads> + <row> + <label>http://example.org/downloads/33.tar.gz</label> + <referrals>1</referrals> + </row> + <row> + <label>https://example.org/downloads/35.tar.gz</label> + <referrals>1</referrals> + </row> + </downloads> + <referrers> + <row> + <label>Direct Entries</label> + <shortName>direct</shortName> + <visits>1</visits> + <details> + </details> + </row> + <row> + <label>From Search Engines</label> + <shortName>search</shortName> + <visits>1</visits> + <details> + <row> + <label><>&\"the pdo extension is required for this adapter but the extension is not loaded</label> + <referrals>1</referrals> + </row> + </details> + </row> + <row> + <label>From Websites</label> + <shortName>website</shortName> + <visits>1</visits> + <details> + <row> + <label>http://www.external.com.vn/referrerPage-counted.html</label> + <referrals>1</referrals> + </row> + </details> + </row> + </referrers> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageTitle_month.xml b/tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageTitle_month.xml new file mode 100644 index 0000000000..2e262a752e --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageTitle_month.xml @@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <date>Mar 2010</date> + <previousPages> + <row> + <label>page title - the/third_page.html?foo=bar</label> + <referrals>3</referrals> + </row> + <row> + <label>page title - sub/dir/page2.html</label> + <referrals>2</referrals> + </row> + <row> + <label>page title - the/third_page.html?foo=baz#anchor1</label> + <referrals>1</referrals> + </row> + <row> + <label>page title - the/third_page.html?foo=baz#anchor2</label> + <referrals>1</referrals> + </row> + </previousPages> + <previousSiteSearches> + <row> + <label>mykwd</label> + <referrals>1</referrals> + </row> + <row> + <label>anotherkwd</label> + <referrals>1</referrals> + </row> + <row> + <label>thirdkwd</label> + <referrals>1</referrals> + </row> + </previousSiteSearches> + <pageMetrics> + <loops>7</loops> + <pageviews>20</pageviews> + <entries>3</entries> + <exits>-3</exits> + </pageMetrics> + <followingPages> + <row> + <label>page title - sub/dir/page2.html</label> + <referrals>2</referrals> + </row> + <row> + <label>page title - the/third_page.html?foo=bar</label> + <referrals>2</referrals> + </row> + <row> + <label>page title - the/third_page.html?foo=baz#anchor1</label> + <referrals>2</referrals> + </row> + <row> + <label>page title - the/third_page.html?foo=baz#anchor2</label> + <referrals>1</referrals> + </row> + <row> + <label>page title - page3.html</label> + <referrals>1</referrals> + </row> + </followingPages> + <followingSiteSearches> + <row> + <label>anotherkwd</label> + <referrals>2</referrals> + </row> + </followingSiteSearches> + <outlinks> + <row> + <label>http://www.anothersite.com/to/outlink/page.html</label> + <referrals>1</referrals> + </row> + <row> + <label>http://anothersite.com/to/outlink/page2.html</label> + <referrals>1</referrals> + </row> + <row> + <label>http://anothersite.com/to/another/outlink.html</label> + <referrals>1</referrals> + </row> + </outlinks> + <downloads> + <row> + <label>http://example.org/downloads/33.tar.gz</label> + <referrals>1</referrals> + </row> + <row> + <label>https://example.org/downloads/35.tar.gz</label> + <referrals>1</referrals> + </row> + <row> + <label>https://example.org/downloads/43.tar.gz</label> + <referrals>1</referrals> + </row> + </downloads> + <referrers> + <row> + <label>Direct Entries</label> + <shortName>direct</shortName> + <visits>1</visits> + <details> + </details> + </row> + <row> + <label>From Search Engines</label> + <shortName>search</shortName> + <visits>1</visits> + <details> + <row> + <label><>&\"the pdo extension is required for this adapter but the extension is not loaded</label> + <referrals>1</referrals> + </row> + </details> + </row> + <row> + <label>From Websites</label> + <shortName>website</shortName> + <visits>1</visits> + <details> + <row> + <label>http://www.external.com.vn/referrerPage-counted.html</label> + <referrals>1</referrals> + </row> + </details> + </row> + </referrers> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageUrl_day.xml b/tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageUrl_day.xml new file mode 100644 index 0000000000..f69f385cb8 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageUrl_day.xml @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <date>Sat 6 Mar</date> + <previousPages> + <row> + <label>example.org/the/third_page.html?foo=bar</label> + <referrals>3</referrals> + </row> + <row> + <label>example.org/sub/dir/page2.html</label> + <referrals>2</referrals> + </row> + <row> + <label>example.org/the/third_page.html?foo=baz</label> + <referrals>2</referrals> + </row> + </previousPages> + <previousSiteSearches> + <row> + <label>anotherkwd</label> + <referrals>1</referrals> + </row> + </previousSiteSearches> + <pageMetrics> + <loops>2</loops> + <pageviews>18</pageviews> + <entries>4</entries> + <exits>2</exits> + </pageMetrics> + <followingPages> + <row> + <label>example.org/the/third_page.html?foo=baz</label> + <referrals>3</referrals> + </row> + <row> + <label>example.org/sub/dir/page2.html</label> + <referrals>2</referrals> + </row> + <row> + <label>example.org/the/third_page.html?foo=bar</label> + <referrals>2</referrals> + </row> + <row> + <label>example.org/page3.html</label> + <referrals>1</referrals> + </row> + <row> + <label>example.org/page/search.html</label> + <referrals>1</referrals> + </row> + </followingPages> + <followingSiteSearches> + <row> + <label>anotherkwd</label> + <referrals>1</referrals> + </row> + </followingSiteSearches> + <outlinks> + <row> + <label>http://www.anothersite.com/to/outlink/page.html</label> + <referrals>1</referrals> + </row> + <row> + <label>http://anothersite.com/to/outlink/page2.html</label> + <referrals>1</referrals> + </row> + </outlinks> + <downloads> + <row> + <label>http://example.org/downloads/33.tar.gz</label> + <referrals>1</referrals> + </row> + <row> + <label>https://example.org/downloads/35.tar.gz</label> + <referrals>1</referrals> + </row> + </downloads> + <referrers> + <row> + <label>Direct Entries</label> + <shortName>direct</shortName> + <visits>1</visits> + <details> + </details> + </row> + <row> + <label>From Search Engines</label> + <shortName>search</shortName> + <visits>1</visits> + <details> + <row> + <label><>&\"the pdo extension is required for this adapter but the extension is not loaded</label> + <referrals>1</referrals> + </row> + </details> + </row> + <row> + <label>From Websites</label> + <shortName>website</shortName> + <visits>1</visits> + <details> + <row> + <label>http://www.external.com.vn/referrerPage-counted.html</label> + <referrals>1</referrals> + </row> + </details> + </row> + <row> + <label>From Campaigns</label> + <shortName>campaign</shortName> + <visits>1</visits> + <details> + <row> + <label>testcampaign testkeyword</label> + <referrals>1</referrals> + </row> + </details> + </row> + </referrers> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageUrl_month.xml b/tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageUrl_month.xml new file mode 100644 index 0000000000..8a14c26ccf --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_Transitions_noLimit__Transitions.getTransitionsForPageUrl_month.xml @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <date>Mar 2010</date> + <previousPages> + <row> + <label>example.org/the/third_page.html?foo=bar</label> + <referrals>3</referrals> + </row> + <row> + <label>example.org/sub/dir/page2.html</label> + <referrals>2</referrals> + </row> + <row> + <label>example.org/the/third_page.html?foo=baz</label> + <referrals>2</referrals> + </row> + </previousPages> + <previousSiteSearches> + <row> + <label>anotherkwd</label> + <referrals>1</referrals> + </row> + </previousSiteSearches> + <pageMetrics> + <loops>2</loops> + <pageviews>21</pageviews> + <entries>4</entries> + <exits>1</exits> + </pageMetrics> + <followingPages> + <row> + <label>example.org/the/third_page.html?foo=baz</label> + <referrals>3</referrals> + </row> + <row> + <label>example.org/sub/dir/page2.html</label> + <referrals>2</referrals> + </row> + <row> + <label>example.org/the/third_page.html?foo=bar</label> + <referrals>2</referrals> + </row> + <row> + <label>example.org/page/search.html</label> + <referrals>2</referrals> + </row> + <row> + <label>example.org/page3.html</label> + <referrals>1</referrals> + </row> + </followingPages> + <followingSiteSearches> + <row> + <label>anotherkwd</label> + <referrals>2</referrals> + </row> + </followingSiteSearches> + <outlinks> + <row> + <label>http://www.anothersite.com/to/outlink/page.html</label> + <referrals>1</referrals> + </row> + <row> + <label>http://anothersite.com/to/outlink/page2.html</label> + <referrals>1</referrals> + </row> + <row> + <label>http://anothersite.com/to/another/outlink.html</label> + <referrals>1</referrals> + </row> + </outlinks> + <downloads> + <row> + <label>http://example.org/downloads/33.tar.gz</label> + <referrals>1</referrals> + </row> + <row> + <label>https://example.org/downloads/35.tar.gz</label> + <referrals>1</referrals> + </row> + <row> + <label>https://example.org/downloads/43.tar.gz</label> + <referrals>1</referrals> + </row> + </downloads> + <referrers> + <row> + <label>Direct Entries</label> + <shortName>direct</shortName> + <visits>1</visits> + <details> + </details> + </row> + <row> + <label>From Search Engines</label> + <shortName>search</shortName> + <visits>1</visits> + <details> + <row> + <label><>&\"the pdo extension is required for this adapter but the extension is not loaded</label> + <referrals>1</referrals> + </row> + </details> + </row> + <row> + <label>From Websites</label> + <shortName>website</shortName> + <visits>1</visits> + <details> + <row> + <label>http://www.external.com.vn/referrerPage-counted.html</label> + <referrals>1</referrals> + </row> + </details> + </row> + <row> + <label>From Campaigns</label> + <shortName>campaign</shortName> + <visits>1</visits> + <details> + <row> + <label>testcampaign testkeyword</label> + <referrals>1</referrals> + </row> + </details> + </row> + </referrers> +</result> \ No newline at end of file -- GitLab