So I am making a tracker to see how members interact with the new wix blog and I will be inserting info into a database but I wanted to know which would be the fastest in terms of performance.
A little background, it will take a logged in user's id and insert that along with blog post id, and category and keep track in a database how many times they read a particular category and keep a reference field of all the posts they have read.
The data will (eventually) be used to show them blog feeds based on what they read the most.
The info will be inserted once the blog post element or page is fully loaded. I want to also use this once wix forum api comes out so i would prefer to use a .js or .jsw file for it. I don't really care about what it returns so would a backend .jsw, backend .js, or public .js file perform best?