Google has clearly documented how it tracks link clicks, impressions and positions for AI Overviews in this help document.