Dear There,
Google adsense ask me to paste the following code in into the HTML of my website, right after the <head> tag. They will verify it in three days !!!
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-0000000000000",
enable_page_level_ads: true
});
</script>
I am new to ELGG, where to paste it in my ELGG website?
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.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- jasoos@jasoos
jasoos - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- jasoos@jasoos
jasoos - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Fokana@foka_patrick_1189
Fokana - 0 likes
- jmperu@jmperu
jmperu - 0 likes
You must log in to post replies.At the end of mod\your_theme\views\default\page\elements\head.php
Thanks for reply.
BUT ... There is no head.php file in this theme ( https://elgg.org/plugins/849006 ) !!!!
Copy this file from Elgg dir root installed /views/default\page\elements\head.php to /mod/your_theme_name/views/default\page\elements\head.php
Now edit this file in your theme
I tried your suggested approach, but it seems not working as google reply to paste it again :(
Is there any other way to achieve the same.?
But not for me :)
In head.php:
And my GADs code in views
when i put it in my header.php i have and error: synthax error unexpected '<', now i don't how can do. help me
avez vous eu une réponse?
je l'ai mis dans walled_garden.php dans le plugin easytheme2
pour l'instant je n'ai pas d'erreur à voir si les pub arrivent