Following last week's tutorial on custom states, here is the other essential tool you need to store temporary data - URL parameters.

Bubble Tip of the Week #8 - Custom States
Sometimes, you want to store your data temporarily without saving to the database and showing your users an ugly loading bar. There are two main ways you can do that: (1) Custom States and (2) URL parameters. Here are the differences between both as described in Bubble’s manual: Both have

URL parameters

Ever noticed how sometimes in your url, there are a lot of 'gibberish' at the end of your url? These are url parameters that provide data to the websites so that they can use or record them.

In the example below, url parameters are used to identify the source of the click - Social - Facebook.

Click image to enlarge.

URL parameters are at the end of the url and always have this format:

The first parameter will start with a '?', and following parameters are indicated with a '&'.

The advantage over URL parameters is that the data won't be lost after refreshing the page. However, users can manually edit their browser url - so don't hide anything sensitive over url parameters!

How do I set up URL parameters?

In this example, I share the most common example for url parameters - to show/hide tabs in a dashboard.

Follow along the interactive demo to learn how it's done:

Subscribe for more content like this!

If you have any questions, let me know via email or my Twitter.