How can you track user engagement on websites that use Flash or AJAX and are located on one HTML page?

Google Adwords, Analytics Certifications
How can you track user engagement on websites that use Flash or AJAX and are located on one HTML page?

Answer -  You can use Event Tracking, or track interactions as Pageviews and set goals.