When you push_event/3 your are pushing an event to the client to be consumed by hooks. So you would have to have a JS hook that would catch that event to send back to the backend.
Are these 2 pages different live views? (i.e. Listing.Index and Listing.Show)
Are you mounting the live_component in each view?
Can you paste some code so we can maybe see a little whats going on?
Your JS hooks, LiveView(s) and your component would be sufficient


















