MasterPageTracker - widget

0
I would like to have google analytics active on my app. Docs says: MasterPageTracker Typically you would want to start by using the MasterPageTracker by adding this widget to your master layout. By doing this, all pages in your Mendix application will be tracked by Google Analytics. When I add add to my master layout it complains "Widget must be placed in context of an entity..." but there is no entity in the master layout... So were do I go wrong... Should I create an dummy entity?
asked
2 answers
1

Have you tried placing it in a snippet?

answered
1

Most of my applications have a "masterdatarecord" which is used for system-wide messages etc and to create the kind of context you would need for the widget. So it is not truly a dummy.

answered