use curl instead of file_get_content for back-end tracking