Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21984

ezrecommendation: bad user id used when using track_rendred_items without ezreco.img

    XMLWordPrintable

    Details

      Description

      If in a web page there is no call to the javascript function ezreco.img() with the proper user_id, then all calls to the template operators used for tracking events and rendered items will always happen with anonymous user_id.

      This because ezreco.img is the only way to the to the js object "ezreco" who is the current user id.

      Proposed alternative:

      • let the php view calculate current reco-user-id without passing it in the url used by js code
      • avoid storing user_id in ezreco js object

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              gaetano.giunta-obsolete@ez.no Gaetano Giunta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: