Legacy Knowledge Base
公開されました Jul. 2, 2025

Piwikスクリプトが実行されない

Written By

Pooja Bhambani

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 再現するための手順
    1. サーバーを起動します。 Adminとしてログインします。
    2. Site > Configurations > Site Settings > Advanced Tabに移動します。
    3. アナリティクスセクションで、Piwikスクリプトボックスに移動し、有効なjavascriptを追加します。
    <script type="text/javascript">
    console.log("This is from piwik script");
    </script>
    4. Save & Logout をクリックします。
    5. 次に、任意のページにアクセスします。
    期待される動作 期待される動作:ページの上部に表示されるのではなく、スクリプトが実行されること。
    実際の動作 スクリプトはページ上部に表示されます。

Environment

  • Liferay DXP 7.0
  • Liferay DXP 7.1
  • Liferay DXP 7.2
  • Liferay DXP 7.3

解像度

  • この現象は既知の問題であり、7.0用の liferay-fix-pack-dxp-98 で修正されています。
  • この現象は既知の問題であり、7.0用の liferay-fix-pack-dxp-23 で修正されています。
  • この現象は既知の問題であり、 liferay-fix-pack-dxp-12 for 7.2で修正されています。
  • この現象は既知の問題であり、 liferay-fix-pack-dxp-2 for 7.3で修正されています。
  • この問題に対してHotfixが必要な場合は、パッチの詳細を添付して、Hotfixをリクエストするサポートチケットを作成してください。
  • Liferay DXPへのFix PackとHotfixのインストール それぞれの環境でのHotfixのインストールをご案内します。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base