CopyCat Media interview question

What is the difference between On-page and Off-page optimization?