We are working on a suite of multi-tenant apps that use a single REST API backend.
This REST API feeds data to all these different apps from a single database and we got the single sign on figured out as well where the single API handles issuing of tokens, refreshing of tokens etc.
All the frontend apps are vue based and we're currently trying to find a way to have link, visitor tracking for the frontend apps and have that data stored in the centralized database.
I have created a single web route in the backend, that basically tracks anyone who opened that url and is opening that url in the background as an image on all the frontend apps so that we can track it and have it saved
But this seems like a really hacky way and I was wondering if there's a better way to deal with visitor tracking for the purely API based projects than this?
Any help or pointers would really help :)
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2ZEXYYR
via IFTTT
Aucun commentaire:
Enregistrer un commentaire