AnsweredAssumed Answered

Method to detect opening of an application widget from a second widget

Question asked by jay.gregory on Jul 26, 2017
Latest reply on Jul 27, 2017 by rscheitlin

I'm developing an enhanced Google Analytics widget, one that tracks specific layer interactions, map interactions, etc. etc.  I'm curious if there is a way to code the Google Analytics widget to detect and track when a user opens any other (or chosen subset) of application widgets.  Given the Google Analytics widget essentially is always running, can I include code in its Widget.js that listens for the creation, opening, or instantiation of other widgets in the application.  I looked in the widget manager class, but am unsure if widgets have access to each other (because it makes sense if they are compartmentalized). 

 

Thanks!

Outcomes