Track Ad Spaces with revenue

Hi there,

can the following project be implemented with Matomo?

I have a page with ad spaces that are lazy-loaded.

I would like to track these areas and provide them with a value.

The first idea: In the DIV of the lazy load:

<img referrerpolicy="no-referrer-when-downgrade" src=";rec=1&amp;action_name=Ad_Position_1&amp;idgoal=2&amp;revenue=0.00105" style="border:0" alt="" />

Where I failed: I can’t evaluate that anywhere.

Do you know a better way to implement something like this?

Thanks for hints!