How to create local mbox using Tealium. We are loading mbox.js from tealium in sync way.

Bronze Contributor
Bronze Contributor

How to create local mbox using Tealium. We are loading mbox.js from tealium in sync way.

1 REPLY 1

How to create local mbox using Tealium. We are loading mbox.js from tealium in sync way.

Gold Contributor
Gold Contributor

I am not sure if I understand your question, but you can create mbox parameters above your mbox script (in utag.sync). There you add one of the adobe target methods with which to create an mbox. One of them is a global function called "targetPageParams()" and there you can return an array in the form ["parameter1=value","parameter2=value"].

Here an extract:

 

function targetPageParams() 
		{
	  	try {
	  		var targetArr = [];
	  		targetArr[0] = "page_type="+page_type;
	  		targetArr[1] = "intuser="+intuser;
	  		targetArr[2] = "loggedin="+loggedin;
 			return targetArr;
			}
		catch (err) 
			{
		if (typeof window.console !== "undefined")
			{
			window.console.log("TargetPageParams failed:" + err.toString());
			}
		}
Public