Reply
Highlighted
Visitor
Posts: 15
Registered: ‎07-13-2016
Accepted Solution

How to pass dynamic parameters and values to mboxes created by TNT Ext?

I have created certain no of mboxes on my page via Tealium and I would like to pass specific dynamic parameters with values to each mbox. How to do so? I knew that Static Param field is only for hard-coded values.

Reply
0 Kudos
Tealium Employee
Posts: 206
Registered: ‎09-01-2015

Re: How to pass dynamic parameters and values to mboxes created by TNT Ext?

@DaveCHChan

 

So what you can do, is use the mappings on the Adobe Target (Async) tag, and that will allow dynamic paramters to be sent, just like the static parameters are.

 

Adrian

Reply
0 Kudos
Visitor
Posts: 15
Registered: ‎07-13-2016

Re: How to pass dynamic parameters and values to mboxes created by TNT Ext?

Thanks for reply!

 

Since I am quite new on Tealium, could you mind showing me your suggestion in details?

 

Let's say I would like to pass "custid=xxxxxx" to a mbox as parameter. How to do it step by step?

 

Reply
0 Kudos
Tealium Employee
Posts: 206
Registered: ‎09-01-2015

Re: How to pass dynamic parameters and values to mboxes created by TNT Ext?

@DaveCHChan

 

Here is a community article that explains nicely how to add a mapping:

 

https://community.tealiumiq.com/t5/Tealium-iQ/Adding-a-User-Defined-Destination-Mapping-to-a-Tag/ta-...

 

The example they use is the DoubleClick Tag, but this can be applied to Target tag as well.

 

TargetMapping.png

 

Above is an example of the mapping.

 

This is used in combination with the "Test and Target Content Modification" extension.

 

mbox.png

 

 

Reply
0 Kudos
Visitor
Posts: 15
Registered: ‎07-13-2016

Re: How to pass dynamic parameters and values to mboxes created by TNT Ext?

Hi,

 

/t5/image/serverpage/image-id/875i31AB64FDBDD7FE68/image-size/original?v=v2&px=-1

 

 

May I know what does Destination mean on above screen?

 

In my case, if custID is in Data Source e.g. a UDO then what would be the Destination? How to apply it as mbox parameter?

 

Thanks!

Reply
0 Kudos
Tealium Employee
Posts: 206
Registered: ‎09-01-2015

Re: How to pass dynamic parameters and values to mboxes created by TNT Ext?

@DaveCHChan

 

Destination is the name that you want to send across.

So in the example Page Name (js) is taken from the UDO (page_name) and sent across as u1.

 

For what you would like to achieve you would need source to be custId (js) (As in your data source) and the destination would also be custId.

 

2016-09-01_1457.png

Reply
0 Kudos
Visitor
Posts: 15
Registered: ‎07-13-2016

Re: How to pass dynamic parameters and values to mboxes created by TNT Ext?

Thanks for your prompt reply!

 

Besides data mappings, what else should I set? E.g. At Tnt Ext, could Static Params leave empty?

Reply
0 Kudos
Tealium Employee
Posts: 206
Registered: ‎09-01-2015
Visitor
Posts: 15
Registered: ‎07-13-2016

Re: How to pass dynamic parameters and values to mboxes created by TNT Ext?

[ Edited ]

Thanks! I've got my answer.

 

Btw, I have another message asking how to create / define mbox on event like mouse click, mouse over, document.ready() etc? Or run script like mboxcreate / mboxdefine when visitors trigger some event on my page?

 

Let me provide more background info related to the above questions. Actually, I have 30+ menu items on a page and each of them associate with a promotion box with a banner. I would like to trigger a mbox over there on every visitor's mouse over on each menu item. Because if I create 30+ mboxes at once on page load, the page loading speed would be very low. That's why I would like trying mouse over event handling to trigger each mbox creation.

 

Hope you could give me advise.

Reply
0 Kudos