two different posts for coursera_course and non-coursera type of parent window url