# Ads only to registered users?

**URL:** <https://meta.discourse.org/t/ads-only-to-registered-users/144084>\
**Category:** Product Support\
**Tags:** advertising\
**Created:** [March 12, 2020, 4:50pm UTC](https://meta.discourse.org/t/ads-only-to-registered-users/144084 "2020-03-12T16:50:31Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![007](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/007/32/175794_2.png) [@007](https://meta.discourse.org/u/007)\
**Post date:** [April 18, 2020, 12:12am UTC](https://meta.discourse.org/t/ads-only-to-registered-users/144084/11 "2020-04-18T00:12:03Z")

</div>

Just throwing my $0.02 in here.

Allowing ads to be targeted to specific user groups (or skipped for certain groups) would make a lot of sense.

Many communities offer paid options for removing ads as a way of supporting their costs.

Older forum software has options like this that we can add around ad code. Is there an equivalent in Discourse if we wanted to modify this ourselves?

```
<if !user_in($loggedinuser($usergroup[id])); />
Ad code here
</endif>

```

Or something like that. It’s been a while.

---

_[View the full topic](https://meta.discourse.org/t/ads-only-to-registered-users/144084)._
