XF 2.2 Adding a qualifier to code in the <head> section

Spartan

Well-known member
Adsense auto ads requires a snippet to be added between the <head> and </head> section. What can I add to say don't run this code if a user is in x usergroup?

I have people who pay to not see ads, and Siropu's ads manager made this easy enough. But the new google auto ads can't be done using ads manager (or at least I can't figure out how).

Thank you.
 
This can now also be done without template modifications by utilizing the XF core's Display criterias along with a specific Ad position in the head:
 
Back
Top Bottom