Imitating an item for xDB tracking from custom route/controller

84 Views Asked by At

I have some pages/items that uses client caching, so the requests to the server does not correlate to the actual visits of those pages at all. Therefore I cancel the current page interaction when those pages are rendered on the server. Instead I want to track the visits to those pages through a separate api route/controller. When I meet certain conditions, I'd like to track the request to the controller, as if it was a visit to the cached page/item. I've tried various approaches, but just can't get this to work. Any ideas of how this can be done properly?

0

There are 0 best solutions below