Is there a way to connect Launch to an Experience Fragment? | Community
Skip to main content
james-mke
Level 3
March 16, 2021
Solved

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

  • March 16, 2021
  • 1 reply
  • 1153 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by raj_mandalapu

@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#access-appmeasurement-that-resides-in-an-iframe

 

 

 

 

1 reply

raj_mandalapu
raj_mandalapuAccepted solution
Level 7
March 18, 2021

@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#access-appmeasurement-that-resides-in-an-iframe

 

 

 

 

james-mke
james-mkeAuthor
Level 3
March 18, 2021
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.