Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
PersonalizeCloud Portal
Sitecore Personalize developer documentation
  • 開発Sitecore Personalize
                • VIEWイベント
                • IDENTITYイベント
                • SEARCHイベント
                • カスタムイベント
            • Flowオブジェクト
        • トラブルシューティング
        • リリースノート
  1. Eventオブジェクト
  1. ストリームAPI
  2. オブジェクト
  3. Eventオブジェクト
  4. カスタムイベント

カスタムイベント

日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

カスタムイベントのイベントオブジェクトには、イベントオブジェクトに必要なすべての属性が含まれている必要があります。type属性の値を、選択したカスタム イベント名に設定します。カスタム イベント名は、予約済みのイベント名とは異なるSitecore Personalizeする必要があります。

任意のカスタム属性を追加できます。

例

この例では、Boxever JavaScript Libraryを使用する統合のカスタムイベントのイベントオブジェクトについて説明します。 browser_idは、Boxever.getID() 関数が返す値に設定されます。

イベントのtype属性では、カスタム イベント名はmyretailsite:CLICKED_POPUPとして指定されます。このイベントには、カスタム属性clickedPopupとtimeBetweenPopupAndClickが含まれます。

const customEvent = {
    browser_id: Boxever.getID(),
    channel: "WEB",
    type: "myretailsite:CLICKED_POPUP",
    language: "EN",
    currency: "EUR",
    page: "home",
    pos: myretailsite/ireland,
    clickedPopup: isPopupClicked(), // true or false
    timeBetweenPopupAndClick: `${getTimestampPopup() - getTimestampClick()} ${timeUnit}` // for example, "8 seconds"
};
この記事を改善するための提案がある場合は、 お知らせください!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use