View Source SauceAnalytics.Live.SetupAssigns (sauce_analytics v0.1.1)

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.

Link to this section Summary

Link to this section Functions

Link to this function

on_mount(atom, params, session, socket)

View Source