Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1608

EzSystemsRecommendationBundle v2

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: High High
    • None
    • None
    • eZ Recommendation
    • None

    Description

      Tasks:

      • Replace tracked userId - currently as userId is used SESSIONID cookie and we need to user YCID Cookie (YCID Cookie live longer) or local storage: It has to be replace in _ycq.push and recommendations calls.
      _ycq.push(['_trackEvent', '16', 'click', '77',*'68scvjb4djuer16rd5kcmana82'*, '?lang=eng\x2DGB']);
              _ycq.push(['_trackTimedEvent', '16', 'consume', '77', '20000', *'68scvjb4djuer16rd5kcmana82'*, '?lang=eng\x2DGB']);
      
        • this ID needs to be used in the recommendation call as well
          ....
           recommendationRestClient = new eZ.RecommendationRestClient({
                              scenario: 'article',
                              limit: '3',
                              endpointUrl: 'http\x3A\x2F\x2Freco.test.yoochoose.net\x2Fapi\x2F723\x2F68scvjb4djuer16rd5kcmana82\x2F',
                              language: 'eng\x2DGB',
          
      • Login event has to be sent (it is sent after a succesful login)
        [   http-nio-8081-exec-4] 09:32:56.413 INFO c.y.s.a.SessionKillingFilter: Incoming request: /tracker/api/723/login/*68scvjb4djuer16rd5kcmana82*/Arturro
        replace Arturro with DB pseudonymous ID
        
      • Event clickrecommended does not work. It has to be sent when the user clicks on recommendation.
      • Test many YC mandator in one eZ-ee.

      — RECOMMENDATIONS v2 API -----------

      • Switch to api v2 calls: (PROD system)
        reco.yoochoose.net/api/v2/723/dfbdplqmaqi8qqo0kvbb75pt87/article.json?numrecs=3&contextitems=78&contenttype=16&outputtypeid=16&categorypath=%2F1%2F2%2F95%2F70%2F79%2F&lang=eng-GB&attribute=title,intro,image,url
        instead of
        reco.yoochoose.net/api/723/dfbdplqmaqi8qqo0kvbb75pt87/article.json?numrecs=3&contextitems=78&contenttype=16&outputtypeid=16&categorypath=%2F1%2F2%2F95%2F70%2F79%2F&lang=eng-GB&attribute=title&attribute=intro&attribute=image&attribute=url

      Attachments

        Activity

          People

            Unassigned Unassigned
            artur.bujnicki-obsolete@ez.no Artur Bujnicki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: