Expand my Community achievements bar.

Applications for the 2024 Adobe Target Community Mentorship Program are open! Click to the right to learn more about participating as either an Aspirant, to professionally level up with a new Certification, or as a Mentor, to share your Adobe Target expertise and inspire through your leadership! Submit your application today.
SOLVED

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

Avatar

Level 4

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 4
@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 });