Highlighted

Commission Junction (Conversant) confusion with agency

Silver Contributor
Silver Contributor

Hi all -

 

I seem to be having a battle of wits with an agency of ours who are an affiliate marketing agency. They're using CJ (amongst others) for some of their programs, and I'm having a hell of a time reconciling what's right and what isn't through a filter of people.

 

The agency sends me this to "throw on the page":

<script>/*DO NOT ALTER *** The Economist*/(function(e){var t="1384",n=document,r,i,s={http:"http://cdn.mplxtms.com/s/MasterTMS.min.js",https:"https://secure-cdn.mplxtms.com/s/MasterTMS.min.js"},o=s[/\w+/.exec(window.location.protocol)[0]];i=n.createElement("script"),i.type="text/javascript",i.async=!0,i.src=o+"#"+t,r=n.getElementsByTagName("script")[0],r.parentNode.insertBefore(i,r),i.readyState?i.onreadystatechange=function(){if(i.readyState==="loaded"||i.readyState==="complete")i.onreadystatechange=null}:i.onload=function(){try{e()}catch(t){}}})(function(){});</script>

This looks to me like simple container code to call CJ's master library but without any actual order reporting.

 

The intention is for the confirmation page to trigger a 'report' back to CJ with order details (type, price, etc.) however when I compare the URL call itself called by the Tealium Marketplace tag, it goes to www.emjcd.com which the agency says, is pointing to the wrong place. I'm pretty sure they have no idea what they are talking about, but it's been a long, long week.

 

Is anyone else having issues with the CJ tag? Is this the right implementation?

 

BTW, I also can't seem to get the tag to pass the item and its attributes as an array in PRODUCTLIST. I start to get tons of permutations with the tag splitting up the products based on individual characters. Do I need to array that first, then pass the array?

9 REPLIES 9
Highlighted

Commission Junction (Conversant) confusion with agency

Employee Emeritus

Hello @redfuel318. Okay... Let's start with the basic tag configuration article for Commission Junction found here:

 

https://community.tealiumiq.com/t5/Tags-and-Client-side/Commission-Junction-Tag-Basic-Configuration/...

 

If you could take a look at this article for me and let me know what other questions you have that would be fantastic. 

 

Now, in terms of the array, I honestly do not know the answer to that question. Let's see, first, if the basic tag configuration for CJ answers some of the questions and go from there.

 

I look forward to your reply. 

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.
Highlighted

Commission Junction (Conversant) confusion with agency

Silver Contributor
Silver Contributor

Thanks Kathleen - I've gone through the CJ docs already back and forth - they're quite clear. The agency isn't. What I really need is a barometer from others who have used or are using a CJ tag, and to hear from them as to whether the CJ tag implementation on Tealium is in fact what CJ needs or if what the agency is asking for (some reference to a cloud-hosted master.js script) is some kind of red herring that I should disregard!

 

Also the ability to pass in the array is important, hopefully that can be figured out as well.

Highlighted

Commission Junction (Conversant) confusion with agency

Employee Emeritus

Excellent! That's what I needed to know @redfuel318. Thank you for the quick reply. Let me see about getting you some help with the array. Stay tuned...

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.
Highlighted

Commission Junction (Conversant) confusion with agency

Silver Contributor
Silver Contributor

Thank you thank you -

 

Highlighted

Commission Junction (Conversant) confusion with agency

Employee Emeritus

@redfuel318 I searched deep and wide and could only find one other Tealium client that has any reference to MasterTMS.min.js in their profile.  My guess is that CJ has more than one product and the agency you are working with wants you to hit this MasterTMS.min.js which is not the same as what is in the Tealium Tag.  

 

When I look at this other client profile, there is a Conversant tag that is currently turned off, which leads me to believe they went down the same dark path as you are on right now.

 

As I look at that code you provided, the only thing that is interesting is that it is waiting on DOM Complete where Tealium will fire tags a little earlier at DOM Ready.  If that is not a problem, then you could just add these two URLs to a Tealium Generic Tag and set the type to scirpt

 

http://cdn.mplxtms.com/s/MasterTMS.min.js
https://secure-cdn.mplxtms.com/s/MasterTMS.min.js

 

You could try this with a load rule for Order Confirmation page.  

Let us know if that works to make all parties involved happy.

 

Bk

Highlighted

Commission Junction (Conversant) confusion with agency

Silver Contributor
Silver Contributor

Thanks @brian_kranson - I'll do that today and report back results in the next couple of days. Really appreciate your help - I'll be using this solution in combination with another you'd provided a few months ago for parsing out a query string param.

Highlighted

Commission Junction (Conversant) confusion with agency

Silver Contributor
Silver Contributor

Done. Reporting back:

 

CJ has a couple of different methods for implementing their tags, with a simple iframe solution and (to me) an unnecessarily complex UDO method which seems to bring little benefit as the information being passed is no larger in complexity... especially compared to constucting a simple URL with varaible replacement. But what do I know? ;)

 

The simple solution was to use their iframe implementation, with a few lookup tables working in concert to mash the data into shape. Fairly simple, really. In the end (genericised):

 

<!-- BEGIN COMMISSION JUNCTION TRACKING CODE -->
<iframe height="1" width="1" frameborder="0" scrolling="no"
src="https://www.emjcd.com/tags/c?containerTagId=xxxxx&ITEMx=[ItemSku]&AMTx=[AmountofItem]&QTYx=[
Quantity]&CID=xxxxxx&OID=[OID]&TYPE=xxxxxx&CURRENCY=[CURRENCY]&DISCOUNT=[DISCOUNT]"
name="cj_conversion" ></iframe>
<!-- END COMMISSION JUNCTION TRACKING CODE -->

Highlighted

Commission Junction (Conversant) confusion with agency

Silver Contributor
Silver Contributor
BTW - the inclusion of the MasterTMS script was not necessary, as it's only required for a UDO implementation (creation of their own UDO object similar to Tealium's for population of variables on page, to then get called by the script).
Highlighted

Commission Junction (Conversant) confusion with agency

Employee Emeritus

Excellent explanation @redfuel318. Thank you for the report!

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.