This is an open-source demo project (GitHub Repository) that you can already use to wrap any Frame link and get analytics in the PostHog tool.
You’ll receive analytics events when users interact with your Frame directly in PostHog. Check out this demo: Demo Link. Contact me on Farcaster with any questions (@Nastya) or raise a GitHub issue.