adding funnel api