I am using Sitecore 9.1.1 with SXA 1.8.1. I have a set of pdfs stored externally but I would like to use Sitecore Analytics to register download page events when someone is downloading the documents.
What would be the easiest way to do that? It is quite straightforward to track documents that are stored inside the Media Library but are there any OOTB solution to track external links or it requires custom development?
The links to the documents are rendered on the sitecore pages either in Rich text
or General link
fields but the documents they are pointing to are stored on external hosting which I do not own/have control over.