Interview practice question
Governing third-party scripts across the site
Frontend Engineering · Async JavaScript and the Browser · Experienced
Marketing keeps adding third-party scripts through a tag manager, hurting performance and security. How would you bring this under control?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Inventory all third parties and their cost.
- Approval process with performance/security review.
- Load strategies (defer, facades, consent-based).
- CSP to restrict sources.
- Monitor impact continuously.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.