Expand my Community achievements bar.

SOLVED

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

Avatar

Level 5

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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@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

Avatar

Employee Advisor

Meant to post an answer not a comment.

Avatar

Correct answer by
Employee Advisor

@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

Avatar

Level 5
@MihneaD, 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 });