• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 How do I add Google adsense on Xenforo?

Betclever

Active member
#1
Hello boys!

How do I add Google adsense on Xenforo and in addition of this, I would like to show up a message when members/guests are visiting mywebsite with an adblock?

So, to resume, I would like to generate revenues with Google Adsense but I don't know how it works.

Thanks for your help.
 

Betclever

Active member
#3
Admin CP -> Appearance -> Templates -> ad_header


Not recommended because it might annoy your members.
I don't want to only add them to the header but between some threads and posts and on some places like above the sidebar,...
In addition of this, I don't know how it works, you only gave me a template where I can put content but how does it work exactly?

Thanks for your help
 

Martok

Well-known member
#5
Adsense adverts are added into the ad templates. The template names are listed here and shown visually:

https://xenforo.com/community/resources/visual-list-of-ad-locations.1383/

Ads can be made responsive:

https://xenforo.com/community/resources/responsive-adsense.2084/

You can also choose who sees them using conditional statements:

https://xenforo.com/community/resources/conditional-statements.1604/

You can display messages to adblock users using this add-on:

https://xenforo.com/community/resources/rellect-adblock-detector.2312/



Any questions you have about these should be asked in their respective discussion threads.
 

Martok

Well-known member
#7
This add-on was last updated in May 2015, but it shows to support Xenforo 1.5.

Does anyone have experience with it? The reviews appear to be good. Thanks.
Lots of people have experience of it, including me. It works with the latest version of XenForo. Ask any questions in the discussion thread for that add-on.