自訂中繼資料支援 custom-metadata-support
您可以在:value、sessionStart和chapterStart事件中提供自訂索引鍵adStart配對。 這些資訊必須以 JSON 索引鍵 customMetadata 提供,並放置在 params 索引鍵旁。
customMetadata JSON索引鍵應包含索引鍵:value配對的物件。 索引鍵只能包含英數字元、底線及點/句號。
範例
目前您可以使用下列索引鍵sessionStart配對來傳送:value事件:
params: { "media.channel": "channel-1" },
customMetadata: { "a.media.channel": "channel-2" }
對於上述設定,傳送到分析的報告資料如下:
c.a.media.channel=channel-2
建議
我們建議您為自訂中繼資料使用單獨的命名空間。例如:
params: { "media.channel": "channel-1" },
customMetadata: { "clientnamespace.media.channel": "channel-2" }
在建議的範例中,傳送至分析之自訂中繼資料的報告資料如下:
c.a.media.channel=channel-1c.clientnamespace.media.channel=channel-2
recommendation-more-help
c8eee520-cef5-4f8c-a38a-d4952cfae4eb