Uploaded image for project: 'PUBLIC - Liferay Portal Web Content Experience'
  1. PUBLIC - Liferay Portal Web Content Experience
  2. WCM-1454

JavaScript actions don't work when Audience Targeting is installed and ad blockers are used

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.x
    • Fix Version/s: 2.2.0
    • Component/s: Content Targeting
    • Labels:
      None

      Description

      Steps to reproduce:

      0. Use Liferay Vanilla DXP.

      1. Install Audience Targeting
      2. Install/enable Ublock Origin in Browser
      3. Log in as administrator
      4. Expand the product menu and click the 'go to other site' icon

       Expected behavior: the pop-up opens.
       Actual behavior: nothing happens.

       The issue happens not only with the Site selector, but with Options menus as well.

        This seems to be caused by the EasyPrivacy filter list (https://easylist.to) containing a filter for '.analytics.min.', which prevents one of the AT JavaScript dependencies from downloading.

      Based on this, I went into Control Panel > App Manager > Audience targeting and disabled the Analytics component. After that, the portal was working as expected.

      Also tested:
       7.0x @03169220678424a16fc9a987a038b5e36840d636 -> Same issue
       Master: Could not test, because Audience Targeting is for EE only.
       Latest audience targeting snapshot: version=2.1.220180418 -> It was working on and off. Site selector is still problematic, but Options menus worked as expected.

      Thank you for looking into this.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2.2.0