Hi @chris_horne,
The ranMID is showing fine but a good chunk of the code given by Rakuten appeared to have been missed by Tealium. Rakuten are saying that Tealium is missing an affiliate template. The sRAN() function and call. Attaching their document. Can you add this to the template of this tag atleast in our profile? Rakuten Conversion Tracking tag.
Thank you, Sujani
<!-- START of Rakuten Marketing Conversion Tag --> <script type="text/javascript"> var rm_trans = { orderid : 'ORDERID', currency: 'CURRENCYCODE', customerStatus: 'CUSTOMER_STATUS', conversionType: 'Sale', customerID: 'CUSTOMER_ID', discountCode: 'DISCOUNT_CODE', discountAmount: DISCOUNT_AMOUNT, taxAmount: TAX_AMOUNT, ranMID: '42657', lineitems : [{ quantity : QUANTITY_PURCHASED, unitPrice : SINGLE_UNIT_ITEM_PRICE, unitPriceLessTax: SINGLE_UNIT_ITEM_PRICE_NO_TAX, SKU: '42657', productName: 'PRODUCT_NAME' }] }; /*Do not edit any information beneath this line*/ if(!window.DataLayer){window.DataLayer={Sale:{Basket:rm_trans}}}else{DataLayer.Sale=DataLayer.Sale||{Basket:rm_trans};DataLayer.Sale.Basket=DataLayer.Sale.Basket||rm_trans}DataLayer.Sale.Basket.Ready = true; function sRAN(){var a="p",b=1,c="p",d=0,e=0,f=DataLayer&&DataLayer.Sale&&DataLayer.Sale.Basket?DataLayer.Sale.Basket:{},g=42657||f.ranMID;if(!g)return!1;var h=f.allowCommission;if(h&&"false"==h.toLowerCase())return!1;var i=f.orderid||"OrderNumberNotAvailable",j="",k="",l="",m="",n=f.currency||"",o="o"===c,p=f.taxAmount?Math.abs(Math.round(100*Number(f.taxAmount))):0,q=f.discountAmount?Math.abs(Math.round(100*Number(f.discountAmount))):0,r="p"===a?"ep":"m"===a?"eventnvppixel":"",s=f.customerStatus||"",t="",u=document.location.protocol+"//track.linksynergy.com/"+r+"?",v="";null!=s&&""!=s&&(e&&"EXISTING"==s.toUpperCase()||e&&"RETURNING"==s.toUpperCase())&&(v="R_"),d&&"MOBILE"==t.toUpperCase()&&"R_"==v&&(v="MR_"),d&&"MOBILE"==t.toUpperCase()&&""==v&&(v="M_");for(var w=[],x=0;x<(f.lineitems?f.lineitems.length:0);x++){for(var y=!1,z=window.JSON?JSON.parse(JSON.stringify(f.lineitems[x])):f.lineitems[x],A=0;A<w.length;A++){w[A].SKU===z.SKU&&(y=!0,w[A].quantity=Number(w[A].quantity)+Number(z.quantity))}y||w.push(z)}for(var x=0;x<w.length;x++){var z=w[x],C=encodeURIComponent(z.SKU),D=z.unitPriceLessTax||z.unitPrice,E=z.quantity,F=encodeURIComponent(z.productName)||"";j+=v+C+"|",k+=E+"|",l+=Math.round(Number(D)*Number(E)*100)+"|",m+=v+F+"|"}j=j.slice(0,-1),k=k.slice(0,-1),l=l.slice(0,-1),m=m.slice(0,-1),q&&b&&(j+="|"+v+"DISCOUNT",m+="|"+v+"DISCOUNT",k+="|0",l+="|-"+q),o&&p&&(j+="|"+v+"ORDERTAX",k+="|0",l+="|-"+p,m+="|"+v+"ORDERTAX"),u+="mid="+g+"&ord="+i+"&skulist="+j+"&qlist="+k+"&amtlist="+l+"&cur="+n+"&namelist="+m+"&img=1";var G,H=document.createElement("img");H.setAttribute("src",u),H.setAttribute("height","1px"),H.setAttribute("width","1px"),G=document.getElementsByTagName("script")[0],G.parentNode.insertBefore(H,G)}sRAN(); </script> <!-- END of Rakuten Marketing Conversion Tag -->
... View more