How do I make an ad free version for users on a paid plan

Hey I want to create a paid plan where users can pay by the month and therefore get my website ad free. Im not quite sure how to do this if I am going to use Google Adsense. Thanks in advance for any help!

1 Like

Hey! Welcome to bubble.

Hereā€™s a quick video on custom states. (Itā€™s not mine but it will serve the purpose of what youā€™re trying to do)

In this case, heā€™s using the state of color to change what appears on the page in each situation, yellow or red

In your case you would be showing ads based on if someone was paid or not, and whatever element you use, (whether its a google adsense plugin someone has made or youā€™re using and embed with an html element) You can have the ad elements appear and disappear based on this.

Hope this helped and wasnā€™t too simple of an example

-AS

No no this was super helpful it gave me a great idea. Thanks!!!

Heyy, just wanted to bump this thread as Iā€™m looking to do something similar, and Google Adwords may have changed in the 4 years since this was last discussed!

Iā€™ve signed up for an Adwords account, and it tells me that before I can run ads I need to paste some code between the tags on each page of my site.

Firstly, how do I do that? And secondly, I want to make sure that my paid users donā€™t get any ads.

If it helps; my User data type has a ā€˜Current Planā€™ field with options for ā€œFreeā€ or ā€œProā€ depending on whether theyā€™ve an active Strip subscription or not.

I watched that video from earlier in the thread, but not sure how best to implement this? I worry that if I add a Floating Group with HTML element inside that users wonā€™t be able to click out of the ads, since Google Ads usually have a ā€˜xā€™ in the corner to close them? I donā€™t want my free users to have an inescapable floating ad! :sweat_smile:

Would appreciate any help or pointers towards another thread.

Thank you :pray: