johnw65
2 months ago
316
2
Laravel

Track User Links

Posted 2 months ago by johnw65

I'm relatively new to Laravel so this is likely a simple questions. I have a database driven menu and each of the menu have an id associate with it. There are many links. I want to keep track of all of the links that a user visited using an insert statement. What is the best way to implement this? Do I create a listener and pass the ID so I can perform an insert statement? Thanks in advance.

Please sign in or create an account to participate in this conversation.