function getSurvey - template url