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