Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • 開発Sitecore CDP
            • Boxever.eventCreate(イベント, コールバック, フォーマット)
            • Boxever.callFlows(フロー、コールバック)
            • Boxever.addUTMParams(イベント)
            • Boxever.browserCreate(オブジェクト, コールバック, フォーマット)
            • Boxever.browserShow(ブラウザID, clientKey, コールバック, フォーマット)
            • Boxever.getBucketNumber(コールバック)
            • Boxever.getClientKey()
            • Boxever.getCookie(クッキー名)
            • Boxever.getID()
            • Boxever.reset()
            • Boxever.setCookie(cookieName, cookieValue, expiresIn)
            • Boxever.templating()
            • Boxever.triggerExperiences()
        • トラブルシューティング
        • リリースノート
  1. 関数
  1. ストリームAPI
  2. 関数
  3. Boxever.addUTMParams(イベント)

Boxever.addUTMParams(イベント)

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

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

addUTMParams() 関数は、現在のWebページのURLからすべてのUTMパラメータをイベント オブジェクトに追加します。

パラメーター

パラメーター

種類

形容

メモ

event

オブジェクト

すべてのイベントデータ。

該当なし

戻り値

何一つ

例

UTMパラメータの例を次に示します。

https://myretailsite.com?utm_source=newsletter&utm_medium=email&utm_campaign=summer_sale&utm_term=running+shoes

デフォルトでは、イベントオブジェクトにはUTMパラメータが含まれていません。UTMパラメータをイベントオブジェクトに追加するには、イベントオブジェクトをaddUTMParams() 関数に渡します。

_boxeverq.push(() => {
    const viewEvent = {...};
    Boxever.addUTMParams(viewEvent); // pass the event object to addUTMParams()
    Boxever.eventCreate(
        viewEvent,
        () => {},
        "json"
    );
});

Sitecore CDPに送信されるイベントデータには、すべてのUTMパラメータが含まれるようになりました。

{ 
    ...,
    "utm_source":"newsletter",
    "utm_medium":"email",
    "utm_campaign":"summer_sale",
    "utm_term":"running shoes"
}
この記事を改善するための提案がある場合は、 お知らせください!

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