Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Is there a way to connect Launch to an Experience Fragment?

Avatar

Level 3

I would like to connect our Adobe Launch tool to Experience Fragments so that we can leverage the rules and data elements for analytics and functionality purposes. We currently connect the Launch platform using the Advanced tab Cloud Configuration path.

 

We are working on iframing Experience Fragments into a virtual trade show application that we are hosting and would like the analytics pieces to fire within the iFrame window.

 

If there are alternate ideas to make this work I look forward to hearing ideas.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 8

@james-mke When you inspect the iframe content, do you see launch script loading? if the launch script is loading and still not triggering then it could be a cross-domain issue. do you see any cors issue in the browser console?

 

I tested this in the same domain by loading XF's in the Iframe's and the analytics script is loading and tracking. here the XF's, iframe and pages are in the same AEM application.

 

You can also try loading the launch script in the virtual trade show application instead of XF's and read elements via iframe content, refer below link 

https://experienceleague.adobe.com/docs/analytics/implementation/use-cases/iframe.html?lang=en#acces...

 

 

 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 8

@james-mke When you inspect the iframe content, do you see launch script loading? if the launch script is loading and still not triggering then it could be a cross-domain issue. do you see any cors issue in the browser console?

 

I tested this in the same domain by loading XF's in the Iframe's and the analytics script is loading and tracking. here the XF's, iframe and pages are in the same AEM application.

 

You can also try loading the launch script in the virtual trade show application instead of XF's and read elements via iframe content, refer below link 

https://experienceleague.adobe.com/docs/analytics/implementation/use-cases/iframe.html?lang=en#acces...

 

 

 

 

Avatar

Level 3
Thank you Raj. I suspected that loading the Launch script into the trade show site may be the next best solution. We can try that.