For security reasons, including Piwik in an iframe first require you make small change to your config/config.ini.php file: see this FAQ.