The head tag is in the page/elements/head view. Extend the view and you can add your code.
@usac
1 - Create your own theme/plugin
2 - Create a new file in your plugin:
/mod/your_awesome_plugin/views/default/adsense/head.php
3 - Edit this file with your above AdSense code:
<?php ?>
<script>...</script>
4 - Add the followed code in your start.php between init() function:
elgg_extend_view('page/elements/head', 'adsense/head');
5 - Flush the caches via Administration
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.