View Source SauceAnalytics.Live.SetupAssigns (sauce_analytics v0.1.2)
Callback which is invoked on the Phoenix.LiveView
's mount using on_mount/4
. Required when invoked SauceAnalytics
functions in a Phoenix.LiveView
.
Sets up an assign which holds a SauceAnalytics.ReviveSession
, the name of this assign is configured in the opts
of SauceAnalytics
.