Trang bạn đã yêu cầu hiện không có sẵn bằng ngôn ngữ của bạn. Bạn có thể chọn ngôn ngữ khác ở cuối trang hoặc dịch nhanh mọi trang web sang ngôn ngữ mà bạn chọn bằng cách sử dụng tính năng dịch được tích hợp sẵn trong Google Chrome.

Conversions with cart data parameters

Before you can set up your conversions with cart data you need to add cart data parameters.

To submit cart data, you'll need to add these additional parameters into the event snippet code:

Parameter

Value Type

Example Value

Description
event String “purchase” Only “purchase” events will be processed for cart data.
discount
(optional)
Float 1.50

Discount, $1.50, applied to the whole order, for example:

  • Free shipping
  • Limited offer sale

Note: When using Google Analytics as conversion source, the discount parameter is not supported.

aw_merchant_id
(optional)
Integer 98765 The Merchant Center ID. Provide this parameter if you submit an item in several Merchant Center accounts and you want to control from which Merchant Center the item’s data, for example, its COGS, should be read.
aw_feed_country
(optional)
String “US”

The country associated with the feed where your items are uploaded. Use CLDR territory codes.

Note: When using Google Analytics as a conversion source, please use the parameter aw_feed_label instead.

aw_feed_language

(optional)

String “EN” The language associated with the feed where your items are uploaded. Use ISO 639-1 language codes.

aw_feed_label

(optional)

String “feed_label”

The label associated with the feed where your items are uploaded.

Note: Supported only when using Google Analytics as conversion source.

items Array [{
id: "P12345",
price: 12.50,
quantity: 2
}]
 
An array of price, quantity, and item IDs for each of the items that were purchased.
items.id String 'P12345'

The item ID of the purchased product. It must match the item ID used in the Merchant Center.

Note: When using Google Analytics as conversion source, the alternative parameter items.item_id is supported.

items.price Float 12.50 Sales price of a single item, excluding tax, shipping, and any transaction level discounts.
items.quantity Integer 2 Number of units sold of the items.

Thông tin này có hữu ích không?

Chúng tôi có thể cải thiện trang này bằng cách nào?
Search
Clear search
Close search
Main menu
87142189863010166
true
Tìm kiếm trong Trung tâm trợ giúp
true
true
true
true
true
73067
false
false
false