diff --git a/themes/fid/templates/fid/user/matomo.phtml b/themes/fid/templates/fid/user/matomo.phtml new file mode 100644 index 0000000000000000000000000000000000000000..038c715f252962cd4eee90f08fbf229493ab5dd4 --- /dev/null +++ b/themes/fid/templates/fid/user/matomo.phtml @@ -0,0 +1,15 @@ +<?php $optOutUrl = "https://fid-matomo.ub.uni-leipzig.de/index.php?module=CoreAdminHome&action=optOut" + . "&backgroundColor=$backgroundColor" + . "&fontColor=$fontColor" + . "&fontSize=$fontSize" + . "&fontFamily=$fontFamily" + . "&language=$language" + . "&SiteId=1" +?> + +<iframe + id="matomo" name="matomo" + src="<?=$optOutUrl?>" + frameborder="0" + scrolling="no"> +</iframe> \ No newline at end of file