

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# WebAnalytics-Clickstream オブジェクトを標準オブジェクトにマッピングする
<a name="web-analytics-clickstream-mapping"></a>

WebAnalytics-Clickstream マッピングテンプレートは、クリックストリームイベントデータを Customer Profiles に取り込む方法を定義します。ソースフィールドを標準ウェブ分析オブジェクト、標準注文オブジェクト、および標準デバイスオブジェクトにマッピングします。

**標準ウェブ分析オブジェクトへのマッピング**

次の表に、WebAnalytics-Clickstream ソースから標準のウェブ分析オブジェクトにマッピングされるフィールドを示します。


| WebAnalytics-Clickstream ソースフィールド | 標準ウェブ分析ターゲットフィールド | 
| --- | --- | 
| EventId | Attributes.ClickstreamEventId | 
| Session.Id | Session.Id | 
| Session.StartTimestamp | Session.StartTimestamp | 
| Browser.Id | Browser.Id | 
| User.Id | User.Id | 
| User.AnonymousId | User.AnonymousId | 
| User.IsReturning | User.IsReturning | 
| User.IsLoggedIn | User.IsLoggedIn | 
| OrderId | OrderId | 
| DeviceId | DeviceId | 
| EventType | EventType | 
| EventTimestamp | EventTimestamp | 
| EventDuration | EventDuration | 
| EventValue | EventValue | 
| Page.Title | Page.Title | 
| Page.Location | Page.Location | 
| Page.Referrer | Page.Referrer | 
| Page.Category | Page.Category | 
| Element.Id | Element.Id | 
| Element.Type | Element.Type | 
| Element.Classes | Element.Classes | 
| Element.Text | Element.Text | 
| Element.AltText | Element.AltText | 
| Element.Source | Element.Source | 
| Search.Query | Search.Query | 
| Search.TotalMatchingResults | Search.TotalMatchingResults | 
| Search.ResultsPerPage | Search.ResultsPerPage | 
| Search.CurrentResultsPage | Search.CurrentResultsPage | 
| Search.FilterExpression | Search.FilterExpression | 
| Search.SortCriteria | Search.SortCriteria | 
| Search.SortOrder | Search.SortOrder | 
| Item.Id | Item.Id | 
| Item.Title | Item.Title | 
| Item.Category | Item.Category | 
| Item.Value | Item.Value | 
| Item.Currency | Item.Currency | 
| Item.Quantity | Item.Quantity | 
| Item.ImpressionId | Item.ImpressionId | 
| Item.ImpressionType | Item.ImpressionType | 
| ItemsList[]。ID | ItemsList[]。ID | 
| ItemsList[]。タイトル | ItemsList[]。タイトル | 
| ItemsList[]。カテゴリ | ItemsList[]。カテゴリ | 
| ItemsList[]。値 | ItemsList[]。値 | 
| ItemsList[]。通貨 | ItemsList[]。通貨 | 
| ItemsList[]。数量 | ItemsList[]。数量 | 
| ItemsList[]。ImpressionType | ItemsList[]。ImpressionType | 
| ItemsList[]。ImpressionId | ItemsList[]。ImpressionId | 
| AdditionalItemImpressions[]。タイトル | AdditionalItemImpressions[]。タイトル | 
| AdditionalItemImpressions[]。ID | AdditionalItemImpressions[]。ID | 
| AdditionalItemImpressions[]。カテゴリ | AdditionalItemImpressions[]。カテゴリ | 
| AdditionalItemImpressions[]。値 | AdditionalItemImpressions[]。値 | 
| AdditionalItemImpressions[]。通貨 | AdditionalItemImpressions[]。通貨 | 
| Cart.Id | Cart.Id | 
| Cart.Value | Cart.Value | 
| Cart.Currency | Cart.Currency | 
| Form.Id | Form.Id | 
| Form.Name | Form.Name | 
| フォームの長さ | フォームの長さ | 
| Form.ValidationErrors | Form.ValidationErrors | 
| Form.FieldsCompleted | Form.FieldsCompleted | 
| Form.FieldsRequired | Form.FieldsRequired | 
| Scroll.DepthPercentage | Scroll.DepthPercentage | 
| Scroll.PositionX | Scroll.PositionX | 
| Scroll.PositionY | Scroll.PositionY | 
| Error.Description | Error.Description | 
| Error.Type | Error.Type | 
| Location.Country | Location.Country | 
| Location.State | Location.State | 
| Location.Province | Location.Province | 
| Location.City | Location.City | 
| Location.County | Location.County | 
| Location.Latitude | Location.Latitude | 
| Location.Longitude | Location.Longitude | 
| Application.Name | Application.Name | 
| Application.Version | Application.Version | 
| Application.Environment | Application.Environment | 

**標準注文オブジェクトへのマッピング**

次の表に、WebAnalytics-Clickstream ソースから標準注文オブジェクトにマッピングされるフィールドを示します。


| WebAnalytics-Clickstream ソースフィールド | 標準オーダーのフィールド | 
| --- | --- | 
| OrderId | Attributes.WebAnalyticsOrderId | 
| Session.Id | Attributes.WebSessionId | 
| Order.Value | TotalPrice | 
| Order.Currency | 通貨 | 
| Order.Discounts | TotalDiscounts | 
| Order.ShippingMethod | Attributes.ShippingMethod | 
| Order.ShipmentTrackingId | Attributes.ShipmentTrackingId | 
| Order.ShippingAddress | ShippingAddress.Address1 | 
| Order.PaymentMethod | ゲートウェイ | 
| ItemsList[]。タイトル | OrderItems[].Title | 
| ItemsList[]。料金 | OrderItems[].Price | 
| ItemsList[]。数量 | OrderItems[].Quantity | 

**標準デバイスオブジェクトへのマッピング**

次の表に、WebAnalytics-Clickstream ソースから標準デバイスオブジェクトにマッピングされるフィールドを示します。


| WebAnalytics-Clickstream ソースフィールド | 標準デバイスターゲットフィールド | 
| --- | --- | 
| DeviceId | Attributes.WebAnalyticsDeviceId | 
| Session.Id | Attributes.WebSessionId | 
| Device.Type | タイプ | 
| Device.OperatingSystem | OperatingSystem | 
| Device.OSVersion | OperatingSystemVersion | 
| Device.ScreenWidth | ScreenWidth | 
| Device.ScreenHeight | ScreenHeight | 
| Device.Browser | ブラウザ | 
| Device.BrowserVersion | BrowserVersion | 
| Device.Locale | ロケール | 
| Device.Model | モデル | 
| Device.Manufacturer | Manufacturer | 

**WebAnalytics-Clickstream キー**

WebAnalytics-Clickstream データは、次のインデックスを使用してプロファイルに関連付けられます。


| 標準インデックス名 | WebAnalytics-Clickstream ソースフィールド | 標準的な識別子 | 
| --- | --- | --- | 
| \_webAnalyticsClickstreamEventId | EventId | WEB\_ANALYTICS、UNIQUE | 
| \_webAnalyticsUserId | User.Id | PROFILE | 
| \_webAnalyticsAnonymousUserId | User.AnonymousId | PROFILE | 
| \_webAnalyticsOrderId | OrderId | ORDER | 
| \_webAnalyticsDeviceId | DeviceId | デバイス | 

例えば、[SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) API でキー名`_webAnalyticsAnonymousUserId`として `_webAnalyticsUserId`または を使用して、ウェブ分析クリックストリームイベントに関連付けられたプロファイルを検索できます。特定のプロファイルに関連付けられた WebAnalytics-Clickstream オブジェクトは、[ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API を `ProfileId`および `ObjectTypeName`で使用して見つけることができます`WebAnalytics-Clickstream`。