Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

way to know while editing a page in AEM that target activity on same page exists

NehaCMS
Level 4
Level 4

Is there way to know while editing a page in AEM that target activity on same page exists. 

1 Accepted Solution
mikewebguy
Correct answer by
Employee
Employee

@NehaCMS 

You can run a mboxtrace to see what activities if any you were checked for. Here is a good Knowledge Base article that discusses how to troubleshoot content delivery: https://docs.adobe.com/help/en/target/using/activities/troubleshoot-activities/content-trouble.html 

Here is a TLDR version: 
1. Go into Marketing Cloud > Target > Settings > Implementation > Generate Token
2. Copy the bold part should look something like this: 
3. Go to URL in question but this time add the mboxtrace code to the URL as a parameter if the first parameter you will need to put ? before it if the subsequent parameter you will need to put & before it. 
5. Pull up your developer tools in Chrome. (Right-click > Inspect) 
6. Go to the Network tab. 
7. Filter out for .tt
8. Click on the target call
9. Expand elements under "Preview"
10. Look under Execute > Trace in here there are two important sections: "evaluatedCampaingTargets" (Shows you activities running on the page that you were checked for) "campaigns" (Shows your activities that are running on the page that you qualified into)

Hope this helps you out a lot.

Mihnea Docea | Technical Support Consultant | Customer Experience | Adobe | 1 (800) 497-0335

View solution in original post

5 Replies
mikewebguy
Employee
Employee

Meant to post an answer not a comment.

mikewebguy
Correct answer by
Employee
Employee

@NehaCMS 

You can run a mboxtrace to see what activities if any you were checked for. Here is a good Knowledge Base article that discusses how to troubleshoot content delivery: https://docs.adobe.com/help/en/target/using/activities/troubleshoot-activities/content-trouble.html 

Here is a TLDR version: 
1. Go into Marketing Cloud > Target > Settings > Implementation > Generate Token
2. Copy the bold part should look something like this: 
3. Go to URL in question but this time add the mboxtrace code to the URL as a parameter if the first parameter you will need to put ? before it if the subsequent parameter you will need to put & before it. 
5. Pull up your developer tools in Chrome. (Right-click > Inspect) 
6. Go to the Network tab. 
7. Filter out for .tt
8. Click on the target call
9. Expand elements under "Preview"
10. Look under Execute > Trace in here there are two important sections: "evaluatedCampaingTargets" (Shows you activities running on the page that you were checked for) "campaigns" (Shows your activities that are running on the page that you qualified into)

Hope this helps you out a lot.

Mihnea Docea | Technical Support Consultant | Customer Experience | Adobe | 1 (800) 497-0335

View solution in original post

NehaCMS
Level 4
Level 4
@mikewebguy, wanted to know if same can be achieved programatically while we are editing a page and want to notify author's like alert that some activity is running, using something like-adobe.target.getOffer({ "mbox": "target-global-mbox", "success": function(offer) { console.log('in success',offer); }, "error": function(status, error) { console.log('Error', status, error); }, "timeout": 2000 });