Update API endpoint for track.js.