Hi - I’m working on a new site, using Bricksforge Pro Forms. I’ve configured a form action to set a couple of values in local storage. When submitted, these name/value pairs are set in local storage, and then I have a redirect to a “thank-you” page when I have conditions set to show/hide page elements based on the values in local storage. That works great. But, ideally I’d like to also use those values as dynamic data on the page and display these values.
I could pass the same values in the redirect URL as query string parameters, but I’m hoping to use the same mechanism for both, as there’s less worry about keeping things in sync should I make changes later. I also want to create a data layer on the page for Google Tag Manager to use to help track conversions.
But, it doesn’t look like local storage values are available as dynamic data options. I’ve heard some people will use Javascript to display local storage values to the user, and if that’s the only way, I could make that work (need to make sure I can pass those values to GTM, too). Or maybe I’d be better off with query string parameter.
Sorry for the rambling post, I think there are a few different ways to capture values from a Pro Forms field to display on another page, trigger display conditions, and populate data for GTM. Is using local storage a good idea for that, or are there better options?
thanks!