how do i get started on monetizing my forum?

shimspedy

Well-known member
hey, i would like to know how I can locate the <head> tags .... I have been checking the templates and I can find it...
since adsense requires you to add their code between the <head>
Thanks
 
I suggest putting your Adsense in the thread view, one on the top and one on the bottom.

1521746658862.webp

Example:

1) Go to the Advertising option:

Admin control panel -> Setup -> Advertising

2) Click the Add advertisement button.

Title
AdSense - Container breadcrumb (top): Above

Position
Container breadcrumb (top): Above

HTML:
<xf:if is="{$xf.reply.template} == 'thread_view'">
    <center>
    <div style="max-width:728px;margin:6px;">
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- Responsive -->
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-123456789"
         data-ad-slot="123456789"
         data-ad-format="auto"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    </div>
    </center>
</xf:if>

Display criteria
Registered
Unregistered / Unconfirmed

3) Save

4) Do the same steps for the AdSense to show at the bottom.
 
if i wanted to add a <meta> data how would i do it ? since i have tried that but no report is showing on my adsense since i havent added the code in the <head> tag
 
okay thanks very much the reason I asked its because most of the time I run into problems like where you have to add a code in your <head> tag when verifying your domain in Google services like search engines as well
 
Back
Top Bottom