# Using Discourse variables to personalize embedded Typeform

**URL:** https://meta.discourse.org/t/using-discourse-variables-to-personalize-embedded-typeform/111329
**Category:** Support
**Created:** [March 12, 2019, 12:37am UTC](https://meta.discourse.org/t/using-discourse-variables-to-personalize-embedded-typeform/111329 "2019-03-12T00:37:24Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![markschmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markschmucker/32/141599_2.png) [@markschmucker](https://meta.discourse.org/u/markschmucker)
#### Post date: [March 12, 2019, 2:52am UTC](https://meta.discourse.org/t/using-discourse-variables-to-personalize-embedded-typeform/111329/3 "2019-03-12T02:52:47Z")

</div>

Thanks Sam. So something like this?

> [@Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648#heading--3-b):
>
> Discourse Themes and Theme Components can be used to customize the look, feel and functionality of Discourse’s frontend. This section of the developer guides aims to provide all the reference materials you need to develop simple themes for a single site, right up to complex open-source theme components. This introduction aims to provide a map of all the tools and APIs for theme development. If you prefer a step-by-step tutorial for theme development, jump straight to: Themes vs. Theme Compon…

```
<script type="text/discourse-plugin" version="0.8">
  $( document ).ready(function() {
    const user = api.getCurrentUser(),
      username = user.username;

    $('h1.hello-world').html('Hello there '+username+"!")
  });
</script>

```

Except find and replace the url instead of saying Hello?

---

_[View the full topic](https://meta.discourse.org/t/using-discourse-variables-to-personalize-embedded-typeform/111329)._
