Start guide
›
js library
›
Introducing
Item conversion measurement
Beta version.
Please contact support when using.
This feature is a pre-release version and is subject to change and limited support.
The measured data is used for CV targeting only.
By adding the track:itemCv method as a customization tag,
The “Product” attribute on the site at the time of conversion (CV) can be linked with “CODE Marketing cloud”.
“Product” in this measurement tag is
“Clothes” at apparel shops
“Recruitment” on human resources site
“Travel Plan” on Travel Sites
As such, it can be used universally without specializing in a specific business category or product.
The concept of CV varies widely from site to site,
With this measurement tag, you can select from the conversion types of “Reservation”, “Browse”, “Entry”, “Purchase”, “Favorite”, “Cart” You.
Only one CV type can be linked per CV,
Multiple product CV events can be sent.
About track:itemCv method
Method to generate event to collect product CV attribute in js.
Cases where track:itemCv method needs to be installed
In the following cases, installation of the track: itemCv method is mandatory.
-Targeting using product CV attributes
How to install track:itemCv method
The location and content of the track:itemCv method depends greatly on the site implementation. Refer to the location of the track:itemCv method described below and the sample code, and rewrite the description according to the site.
Location of the track:itemCv method
When linking the product CV attribute to “CODE Marketing cloud”, please install the track: itemCv method on the page that can acquire that information.
(Example)
-When viewing product details
-When registering favorites
-When registering cart
-At the time of purchase
-When making a reservation
Sample code
var events = [
{
"itemId": "00001",
"conversionType": "Entry",
"itemCount": 1,
"itemPrice": 1050,
"sku": "SKU1",
},
{
"itemId": "00002",
"conversionType": "Entry",
"itemCount": 1,
"itemPrice": 1050,
"sku": "SKU1",
},
]
_cc ('track', 'itemCv', events);
Properties that can be used as the third argument of track:itemCv method
| Property name |
Required |
Overview |
Example |
Type |
| itemId |
○ |
Product ID |
“0001” |
String type |
| conversionType |
○ |
Conversion type |
“Purchase” |
Enumeration type (“Reservation”, “Browse”, “Entry”, “Purchase”, “Favorite”, “Cart”) |
| itemCount |
× |
Number of Items |
3 |
Number Type |
| itemPrice |
× |
Item Price |
1000 |
Number Type |
| sku |
× |
SKU |
“3 pieces” |
String type |
Properties that can be used in the product CV condition from the management screen
| Property name |
Required measurement property |
| Product ID |
itemId |
| Number of items |
itemCount |
| Product Price |
itemPrice |
| SKU |
sku |
What is an enumerated type?
Select one of the values in the parentheses of the enumeration.
For example, for enumeration types (“A”, “B”, “C”), select “A” or “B” or “C”.