Expand my Community achievements bar.

Join us for an upcoming in-person Adobe Target Skill Builders event ~~> We're hosting these live learning opportunities to equip you with the knowledge and skills to leverage Target successfully. Learn more to see if we'll be coming to a city near you!
SOLVED

Deploying tests with Adobe Tag Manager 2.0

Avatar

Level 1

Hi everyone!

I have been trying to deploy some ab tests using only the Adobe Tag Manager 2.0 tag in the page but I am having problems on how to effectively launch the mboxCreate requests through the Tag Manager interface.
Could someone provide an example of how to configure the Tag Manager 2.0 to test the following part of my page?

<div id="testcontent">
<img src="iphone.jpg">
</div>

Thanks a lot in advance.

Best regards

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi Martin,

First you need to add a global mbox to the mbox configuration on the T&T side. Login and go to Configuration > mbox > edit and add the following to the "extra javascript box":

/* global mbox */
mboxCreate('global','path='+location.pathname);

Note: the parameter for location.pathname is to hep to populate the page URL so it is easier to know where the mbox is when using Tagmanager.

Next, create a container in Tag Manager and add the product Adobe Target using your clientcode, which you can get from clientcare. Click on "synchronous" and click on "Save and Deploy".

This should be all you need to use TagManager for Test&Target.

Thanks,

Spring

If you find an answer helpful, mark it with a 'heart', if it answered your question then mark it 'correct'.

View solution in original post

2 Replies

Avatar

Correct answer by
Administrator

Hi Martin,

First you need to add a global mbox to the mbox configuration on the T&T side. Login and go to Configuration > mbox > edit and add the following to the "extra javascript box":

/* global mbox */
mboxCreate('global','path='+location.pathname);

Note: the parameter for location.pathname is to hep to populate the page URL so it is easier to know where the mbox is when using Tagmanager.

Next, create a container in Tag Manager and add the product Adobe Target using your clientcode, which you can get from clientcare. Click on "synchronous" and click on "Save and Deploy".

This should be all you need to use TagManager for Test&Target.

Thanks,

Spring

If you find an answer helpful, mark it with a 'heart', if it answered your question then mark it 'correct'.

Avatar

Level 2

I recommend you switch to dynamic tag manager, I had T&T deployed at no time with it.