Sacha Bigiaoui
08/27/2025, 10:58 AMTightknit
08/27/2025, 10:59 AMTightknit
08/27/2025, 10:59 AMCarissa Cui
08/27/2025, 5:33 PMSacha Bigiaoui
08/27/2025, 5:35 PMCarissa Cui
08/27/2025, 6:02 PM...?dog=Chuck).
• In Replo, you’d need a little JS in a code block to read dog=Chuck from the URL and update the page content with Welcome Chuck.
Setting up the URL params in Typeform:
1. Add a Short text question: “What’s your dog’s name?”
2. Go to Endings → + → Redirect to URL.
3. In the URL box, type your Replo page, e.g.
4. <https://yourstore.com/pages/welcome?dog=>
5. then click the ➕ picker and insert the answer to the dog-name question. Typeform will drop in the correct “recall” token so each respondent’s value is appended automatically.
In Replo:
1. Add a text component (eg. "Welcome Friend!")
2. In the text component's configs, under Dataset Attributes, tag it as dog-name , value = true
3. Add an HTML Code Block under the text block and add the following code snippet (this code snippet works specifically for this dog/dog-name example):
<script>
document.addEventListener('DOMContentLoaded', function () {
const p = new URLSearchParams(location.search);
const raw = p.get('dog');
if (!raw) return;
const name = raw.trim().replace(/\s+/g,' ')
.split(' ').map(s=>s.charAt(0).toUpperCase()+s.slice(1)).join(' ');
const el = document.querySelector('[data-dog-name]');
if (el) el.textContent = `Welcome ${name}`;
});
</script>
4. Publish the page
On this live page URL, if you append "?dog=charlie" to the end, it will update the text block accordingly!
Hope this helpsSacha Bigiaoui
09/02/2025, 8:57 AMCarissa Cui
09/02/2025, 4:24 PMSacha Bigiaoui
09/05/2025, 8:21 AM