Fetch url parameters and add to DB