Sounds like a job for Google Analytics.
Hi guys. Did anyone figure this out? I would like to do something similar. I am trying to redirect to a certain page based on one of the user’s answers. The plugin site has a good tutorial on redirecting, but not on the dependency part.
The table is wp_posts.
I am actually working on an external post creator right now and found this page to be very helpful:
http://codex.ww.wp.xz.cn/Function_Reference/wp_insert_post