At first I thought about sending the event from the download button, but then I realized that users might accidentally press it, but the photo wouldn’t load and the event would still be transmitted, which is not correct. Surely there is a function that, after downloading, issues a list of codes, which file at least somotret, you can put in there something like a pixel.