Active Network interview question

How would you go about sending and tracking data between web pages with JavaScript?