This article describes how to set up the Rakuten Marketing tag in your Tealium iQ Tag Management account.

In this article:

Table of Contents Placeholder

Tag Tips

  • Conversion fires when Order ID is set.
  • Affiliate functionality only available when Allow Commission is set to True.
  • Supports these E-Commerce extension parameters:
    • Order ID (_corder )
    • Sub Total (_csubtotal )
    • Tax Amount (_ctax )
    • Currency (_ccurrency )
    • Promo Code (_cpromo )
    • Customer ID (_ccustid )
    • List of Product IDs (_cprod )
    • List of Names (_cprodname )
    • List of Quantities (_cquan )
    • List of Prices (_cprice )
    • List of Discounts (_cpdisc )

Tag Configuration

First, go to Tealium's tag marketplace and add the Rakuten Marketing tag (Learn more about how to add a tag).

After adding the tag, configure the following settings:

  • Tracking Key
    • Your site-specific Tracking Key issued by your Rakuten Marketing integration contact.
  • Rakuten Affiliate Merchant ID
    • 4 or 5-digit Merchant ID.
  • Tax Rate
    • Tax rate as a percentage value.
    • Example: "20" for UK VAT
  • Rakuten Display Merchant ID
    • 4-digit Merchant ID
  • Rakuten Search Merchant ID
    • Search Config rsMID (rsMID )
  • Conversion Type
    • Default value is "sale", but can be set to anything.

Data Mappings

Mapping is the process of sending data from a data layer variable to the corresponding destination variable of the vendor tag. For instructions on how to map a variable to a tag destination, see Data Mappings.

The available categories are:

Standard

Variable Description
trackingKey
  • Tracking Key
siteSection
  • Site Section

allowCommission

  • Allow Commission
  • Values are true or false.
conversionType
  • Conversion Type
customerStatus
  • Customer Status
discountAmount
  • Discount Amount
optionalData
  • Optional Data

E-Commerce

Variable Description
order_id
  • Order ID.
  • Overrides _corder .
order_subtotal
  • Sub Total.
  • Overrides _csubtotal.
order_tax
  • Tax Amount.
  • Overrides _ctax.
order_currency
  • Currency
  • Overrides _ccurrency.
order_coupon_code
  • Promo Code.
  • Overrides _cpromo.
order_consumed
  • Consumed.
order_shipped_country
  • Order Shipped Country.
order_status
  • Order Status.
  • Values are:
    • Existing
    • Returning
    • New

order_shipped

  • Order Shipped.
order_site_name
  • Site Name.
customer_id
  • Customer ID.
  • Overrides _ccustid.
customer_score
  • Customer Score.
customer_country
  • Customer Country.
  • Overrides _ccountry.
  • Used in place of order_shipped_country if order_shipped_country is not provided.
product_id
  • Array
  • List of Product IDs.
  • Used in place of product_sku if product_sku is not provided.
  • Overrides _cprod.
product_name
  • Array
  • List of Names.
  • Overrides _cprodname.
product_quantity
  • Array
  • List of Quantities.
  • Overrides _cquan .
product_sku
  • Array
  • List of SKUs
  • Overrides _csku.
product_unit_price
  • Array
  • List of Prices.
  • Overrides _cprice.
product_discount
  • Array
  • List of Discounts.
  • Overrides _cpdisc.
product_brand
  • Array
  • List of Brands.
  • Overrides _cbrand.
product_category
  • Array
  • List of Categories.
  • Overrides _ccat .
product_category_id
  • Array
  • List of Category IDs.
product_coupon
  • Array
  • List of Coupons.
product_is_clearance
  • Array
  • List of Clearance Statuses.
product_is_sale
  • Array
  • List of Sales Statuses.
product_margin
  • Array
  • List of Margins.

Affiliate

Variable Description
allowCommission
  • Allow Commission
  • Values are true or false.
affiliateConfig.ranMID
  • ranMID

affiliateConfig.taxRate

  • Tax Rate

affiliateConfig.discountType

  • Discount Type
affiliateConfig.tagType
  • Tag Type
affiliateConfig.includeStatus
  • Include Status
  • Values are true or false.
affiliateConfig.removeOrderTax
  • Remove Order Tax
  • Values are true or false.
affiliateConfig.removeTaxFromProducts
  • Remove Tax From Products
  • Values are true or false.
affiliateConfig.removeTaxFromDiscount
  • Remove Tax From Discount.
  • Values are true or false.
affiliateConfig.centValues
  • Cent Values.
  • Values are true or false.

Display

Variable Description
displayConfig.rdMID
  • rdMID
displayConfig.domain
  • Domain
displayConfig.tagType
  • Tag Type
displayConfig.includeStatus
  • Include Status
displayConfig.allowCommission
  • Allow Commission
displayConfig.removeTaxFromProducts
  • Remove Tax From Products
  • Values are true or false.
displayConfig.removeTaxFromDiscount
  • Remove Tax From Discount
  • Values are true or false.
displayConfig.taxRate
  • Tax Rate

Search

Variable escription
searchConfig.rsMID
  • rsMID
searchConfig.conversionType
  • Conversion Type
searchConfig.accountID
  • Account ID
searchConfig.clickID
  • Click ID