I'm looking to optimize the content provided by my company's APIs, specifically to customize it based on user interactions. For instance, if a user views product X, I want to display similar products Y and Z to them. The issue is that we don't have control over the frontend; our B2B clients manage their own applications that interact with our APIs. I'm curious if anyone has experience working with B2B customers to efficiently track user behavior on their platforms. What strategies or methods have you employed to achieve this?
3 Answers
I think we need more context to determine if it's feasible. If your API calls are search-based, using trackers to prioritize certain results could work. But if that's not the case, solutions might be limited.
You could start by tracking the products requested by each unique session. Since you can identify the client UUID making the API calls, keep a record of what they access. This way, you can adjust the API responses accordingly. Don’t forget to document your findings and share them with your team, including any limitations and suggestions for improvement!
Just a heads up to check your local laws regarding data tracking; you might need to update your privacy policy to include this information.
Are you sure this tracking is even legal? It sounds a bit like privacy infringement since you're the API provider and there's no direct agreement with the end user.
We do have various APIs for tasks like product listings and order creation. Tracking who accesses which API is manageable, but getting browsing data from the users on a frontend we don't control is tricky. It seems like integration from the B2B client’s side would be essential. Has anyone successfully implemented something like this?