Get data from url parameter and paste it in dynamic text

Hello there!

So, I’m doing a page that will also work as a landing page. So it will bring in the url, UTM parameters from google, like campaign id, keyword, etc.

I would like to know how when someone for example, if someone looks up on google, “pet care”, after clicking in my adwords ad, and lands on my bubble app, get the

www.domain.com?keyword=pet%20care

So in my app it displays

PET CARE in the subttitle

and when the search is “pet welfare” for example, it displays that instead of the 1st example

How can I achieve that?

thanks in advance

1 Like

Hey Martin, this might help you as it a similar question that someone asked couple of days ago.

Hello there, I can’t find the “get path” option. Besides, I want to make an IF in the text.

IF there is keyword=Pet%20Care parameter in url, make text “Pet Care”

if not, “General Pet Supplies” (for example) as a subtitle in the page

How can I do this?

is it possible to see what you done?

I have done nothing about it… and it’s regular text where I want it displayed

anyone? please help?

@martin2,

When you choose “Get data from url” you can select Path as an option instead of the default “Parameter”

You can add a condition to the text element to do what you asked… When get data from url is Pet Care > text = Pet Care

By default, set the text to “General Pet Supplies”. PS - you don’t need to include “%20” in your parameter search. Bubble will already remove the % encoding and replace it with a space.


Gaby | Coaching Bubble
Private coaching, courses, and tons of free resources

Hey! thx for the answer!!

Only question now is, how can I do the condition? like if there is Keyword parameter in the url, dynamic text insert, the parameter value
if there is no keyword parameter, input XXXXXX text

How can I do that?

GREAT THANKS IN ADVANCE! :slight_smile:

@martin2

GREAT!!!

THANK YOU! :rofl:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.