Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
Japanese
US English (US)
JP Japanese
  • Home
  • Optimizely
  • プラットフォーム
  • Optimizelyデータプラットフォーム
  • 統合

Segmentの統合(レガシー)

Optimizelyマニュアル|顧客データとイベントをOptimizely Data Platformにインポートするためのレガシーセグメント統合ガイド。

Written by Tomoyuki Kawashiri

Updated at July 16th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • FAQs
  • Support
  • Smartsheet
    アカウントと請求 ワークフローの自動化 共有とコラボレーション ヒントとトラブルシューティング レポート プロジェクト管理とガントチャート ドキュメントビルダー ダッシュボード ドキュメントビルダー WorkApps システム管理者 基本 シートと行 列 添付ファイル ビュー 書式設定 印刷 数式と関数 バックアップと変更の追跡 ソリューション
  • Vimeo
  • ClickUp
    機能とClickApps ビュー 統合とClickUp API
  • Optimizely
    プラットフォーム Configured Commerce
+ More

Table of Contents

Segmentの構成 データ詳細 識別する 追跡 リストにないイベントを追跡する 注文品目小計 ページ/画面 Eメール カスタムフィールドのサポート

注記

これはレガシー統合です。 新しい Twilio Segmentのパススルー統合については、 「Twilio Segmentの統合」を参照してください。 

Optimizely Data Platform (ODP) とSegmentの統合により、Segmentで収集されたイベントやその他の顧客データを ODP にインポートできます。

Segmentの構成

ODP Segment統合を有効にします。

  1. [Account設定] > [統合] > [Segment]に移動します。
  2. [Segmentを有効にする]をオンに切り替えます。
  3. [サインイン]を選択し、Segmentのプロンプトに従います。
    Enable_and_Sign_into_Segment.png 

注記 

ブラウザに広告ブロックまたはコンテンツブロック ソフトウェアがインストールされている場合は、「サインイン」のオプションが表示されない場合があります。 表示されない場合は、ブロック技術をオフにしてページを更新してください。

データ詳細

ODP は、Segment.io の次のイベント タイプと各イベント タイプに関連付けられた標準フィールドを使用して、対応する ODP イベントを自動的に作成します。

  • 識別する
  • 追跡
  • ページ/画面
  • Eメール

以下の表は、Segment.io の共通フィールドと、ODP イベントの対応するフィールドの概要を示しています。

Segmentフィールド ODPフィールド
anonymousID segment_anonymous_id
userID segment_user_id
timestamp ts
context.locale language
context.page.path page
context.referrer.url referrer
context.page.search search_term
context.page.title title
context.page.url hostname
context.ip ip
context.user_agent ua
context.timezone timezone
context.campaign.name campaign
context.campaign.source source
context.campaign.medium medium
context.campaign.term keywords
context.campaign.content content

識別する

Identify は、Segment anonymousIdを使用して匿名ユーザーを追跡します。 ユーザーが電子メール アドレスまたは別の顧客 ID で識別されるとすぐに、Segment はこのデータ セットを匿名のアクティビティと自動的にマージします。 ODP は同じアプローチを使用しており、Segment統合によりこれら 2 つのデータ セットが統合されます。 

Segmentには、識別イベント用の次の標準フィールドもあり、ODP はそれらを対応するフィールドにマップします。

Segmentフィールド ODPフィールド
traits.firstName first_name
traits.lastName last_name
traits.name name
traits.email email
traits.address.county country
traits.address.state state
traits.address.city city
traits.address.postalCode zip
traits.address.street street1
traits.avatar image_url
traits.phone phone
traits.gender gender

ODP は、Segmentの識別イベントで見つかった他のフィールドをカスタム フィールドとして適用します。

追跡

Segment トラック イベントとプロパティを処理できます。 さらに、ODP は次の特別なセマンティック イベントを実装しています。その構造はSegmentのサイトで確認できます。

  • Eメール
  • E コマース V1
  • E コマース V2

これらのセマンティック イベントは、標準の ODP イベントにある特定の ODP event_typeとアクションのペアに対応します。 以下は、各Segmentのセマンティック イベントから ODP のイベント タイプとアクションまでを詳細に示した表です。

Segmentイベント ODP イベントの種類 ODP アクション
Products Searched navigation search
Product List Viewed navigation list
Product List Filtered navigation filter
Promotion Viewed promotion view
Promotion Clicked promotion click
Product Clicked product click
Product Viewed product detail
Product Added / Removed product add_to_cart/ remove_from_cart
Cart Viewed cart view
Checkout Started checkout start
Checkout Step Viewed checkout step_view
Checkout Step Completed checkout step_complete
Payment Info Entered checkout payment_info_enter
Order Completed order purchase
Order Updated order purchase
Order Refunded order refund
Order Cancelled order cancel
Order Cancelled order cancel
Coupon Entered checkout coupon_enter
Coupon Applied checkout coupon_apply
Coupon Denied checkout coupon_deny
Coupon Removed checkout coupon_remove
Product Added to Wishlist / Product Removed from Wishlist product add_to_wishlist/ remove_from_wishlist
Product Shared product share
Cart Shared cart share
Product Reviewed product review
Email Bounced email soft_bounce
Email Opened email open
Email Link Clicked email click
Email Marked as Spam email spamreport
Unsubscribed email unsubscribe
Viewed Product Category navigation category
Viewed Product product detail
Added / Removed Product product add_to_cart/ remove_from_cart
Completed Order order purchase

リストにないイベントを追跡する

Segment イベントが提供されたセマンティクスのいずれにも適合しない場合、ODP はイベントを次のようにマップします。

  • イベントタイプ:「トラック」
  • アクション: 「あなたのイベント」

ODP イベント タイプの順序に対応するSegment イベントには、ODP フィールドに対応する特別なプロパティがあります。

Segmentフィールド ODPフィールド
properties.order_id order.order_id
properties.total order.order_total
properties.revenue order.order_subtotal
properties.discount order.order_discount
properties.tax order.order_tax
properties.coupon order.coupon_code

注文イベントのプロパティには、各製品のフィールドがリストされる場合もあります。 以下は、注文のSegment製品プロパティと対応する ODP フィールドのリストです。

Segmentフィールド ODPフィールド
properties.products.$.id order.items.$.product_id
properties.products.$.product_id order.items.$.product_id
properties.products.$.sku order.items.$.sku
properties.products.$.price order.items.$.item_price
properties.products.$.quantity order.items.$.item_quantity
N/A order.items.$.item_subtotal*

注文品目小計

Segmentには、特定の注文の品目ごとに小計を表示するフィールドがありません。 ODP は、このフィールドをorder_item.price * order_item.quantityとして計算します。

ページ/画面

Segment ページ イベントは、 ODP ではページビュー イベント タイプとして表示されます。 以下は、ページ イベントの標準Segment フィールドと対応する ODP フィールドのリストです。
Segmentフィールド
ODPフィールド
properties.path
page
properties.name
name
properties.referrer
referrer
properties.search
search_term
properties.title
title

Eメール

すべてのSegment イベントの標準フィールドは、電子メール イベントの ODP フィールドにマップされます。
 
すでに電子メール サービス プロバイダー (ESP) を直接統合している場合は、電子メールのセマンティック イベントは ESP から直接キャプチャされるため、送信する必要はありません。

カスタムフィールドのサポート

ODP はSegment イベントのカスタム フィールドをサポートします。 カスタム フィールドは、特定のSegment イベントの特性オブジェクトまたはプロパティ オブジェクトに配置する必要があります。
 
例: Segment.io イベント (プロパティ オブジェクトの「myCustomField」キーに注意してください)
 
{

"anonymousId": "23adfd82-aa0f-45a7-a756-24f2a7a4c895",

"context": {

"library": {

"name": "analytics.js",

"version": "2.11.1"

},

"page": {

"path": "/academy/",

"referrer": "",

"search": "",

"title": "Analytics Academy",

"url": "https://segment.com/academy/"

},

"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36",

"ip": "108.0.78.21"

},

"event": "Course Clicked",

"integrations": {},

"messageId": "ajs-f8ca1e4de5024d9430b3928bd8ac6b96",

"properties": {

"title": "Intro to Analytics",

"myCustomField": "my_custom_field_value"

},

"receivedAt": "2015-12-12T19:11:01.266Z",

"sentAt": "2015-12-12T19:11:01.169Z",

"timestamp": "2015-12-12T19:11:01.249Z",

"type": "track",

"userId": "AiUGstSDIg",

"originalTimestamp": "2015-12-12T19:11:01.152Z"

}

 

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • 地域ごとに利用可能なODPの統合
  • Brontoの統合
  • APIとZaiusチャネルの統合
  • Amazon S3の統合
  • Criteoの統合
Digital Accels Inc.

Osaki Bright Core 4F SHIP
5-5-15, Kita-Shinagawa, Shinagawa-ku, Tokyo
141-0001 Japan

HomeServiceNewsroom
CompanyCareersContact
FacebookX (formerly Twitter)
Privacy Policy
Terms of Use

Copyright ©️ Digital Accels Inc. All Rights Reserved.

Expand