Rakuten Advertising Tag Setup Guide
This article describes how to set up the Rakuten Advertising tag in your Tealium iQ Tag Management account.
Tag tips
- If you paste the
affiliateConfigobject in the Extract From Code field, the tag automatically populatesranMID,discountType, andincludeStatusparameters. - Conversion fires when Order ID is set.
- Affiliate functionality is 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)
- Order ID (
Tag configuration
First, go to Tealium’s tag marketplace and add the Rakuten Marketing tag . For more information, see Manage tags.
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: A 4 or 5-digit merchant ID.
- Tax Rate: Tax rate as a percentage value. For example,
20for UK VAT of 20%. - Rakuten Display Merchant ID: * A 4-digit merchant ID.
- Rakuten Search Merchant ID: Search Config rsMID (
rsMID). - Conversion Type: The default value is
sale, but can be set to anything. - Discount Type: The discount type for affiliate sales. The default value is
amount, but can be set topercentage. - Include Status: Whether to include the order status in the tag. The default value is
true.
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 |
|
siteSection |
|
conversionType |
|
customerStatus |
|
discountAmount |
|
optionalData |
|
E-Commerce
| Variable | Description |
|---|---|
order_id |
|
order_subtotal |
|
order_tax |
|
order_currency |
|
order_coupon_code |
|
order_consumed |
|
order_shipped_country |
|
order_status |
|
order_shipped |
|
order_site_name |
|
customer_id |
|
customer_score |
|
customer_country |
|
product_id |
|
product_name |
|
product_quantity |
|
product_sku |
|
product_unit_price |
|
product_discount |
|
product_brand |
|
product_category |
|
product_category_id |
|
product_coupon |
|
product_is_clearance |
|
product_is_sale |
|
product_margin |
|
Affiliate
| Variable | Description |
|---|---|
allowCommission |
|
affiliateConfig.ranMID |
|
affiliateConfig.taxRate |
|
affiliateConfig.discountType |
|
affiliateConfig.tagType |
|
affiliateConfig.includeStatus |
|
affiliateConfig.removeOrderTax |
|
affiliateConfig.removeTaxFromProducts |
|
affiliateConfig.removeTaxFromDiscount |
|
affiliateConfig.centValues |
|
affiliateConfig.nonCentCurrencies |
|
Display
| Variable | Description |
|---|---|
displayConfig.rdMID |
|
displayConfig.domain |
|
displayConfig.tagType |
|
displayConfig.includeStatus |
|
displayConfig.allowCommission |
|
displayConfig.removeTaxFromProducts |
|
displayConfig.removeTaxFromDiscount |
|
displayConfig.taxRate |
|
Search
| Variable | Description |
|---|---|
searchConfig.rsMID |
|
searchConfig.conversionType |
|
searchConfig.accountID |
|
searchConfig.clickID |
|
This page was last updated: February 3, 2026