ttMETA mboxName as undefined | Community
Skip to main content
ambikaTewari_ATCI
Community Advisor
Community Advisor
April 22, 2020
Solved

ttMETA mboxName as undefined

  • April 22, 2020
  • 2 replies
  • 5350 views

Hi Experts,

 

I have implemented ttMETA plugin using Adobe Launch. The code I have picked from target help doc.

However I am seeing undefined under "MboxName":


CODE OF ttMETA:
window.ttMETA.push(
{
'CampaignName': token["activity.name"],
'CampaignId' : token["activity.id"],
'RecipeName': token["experience.name"],
'RecipeId': token["experience.id"],
'OfferId': token["option.id"],
'OfferName': token["option.name"],
'MboxName': e.detail.mbox
});

RESPONSE of ttMETA:

CampaignId: "318808"

CampaignName: "POC"

MboxName: undefined

OfferId: "3"

OfferName: "Offer3"

RecipeId: "1"

RecipeName: "Experience B"


Can anybody advise why am I getting this undefined under mbox name ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Tanvi_Agarwal_

Hi @ambikatewari_atci 

 

Are you using 2.x library? 

This may happen with the use of 2.x library as with this new version target call does not pass mbox name as a parameter anymore.

2 replies

Tanvi_Agarwal_
Adobe Employee
Tanvi_Agarwal_Adobe EmployeeAccepted solution
Adobe Employee
April 23, 2020

Hi @ambikatewari_atci 

 

Are you using 2.x library? 

This may happen with the use of 2.x library as with this new version target call does not pass mbox name as a parameter anymore.

ambikaTewari_ATCI
Community Advisor
Community Advisor
April 23, 2020
Yes @2793925, I am using at.js 2.x . Got it, this has page load concept. Thank you for this info.
Community Advisor
May 13, 2020

Wanted to comment that response tokens work great for this use case

 

https://docs.adobe.com/content/help/en/target/using/administer/response-tokens.html