Skip to content

Commit

Permalink
docs: 📝 Update wordpress personalization
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Jun 7, 2022
1 parent a42e1ca commit 3010976
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions apps/docs/docs/embed/wordpress.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,25 +59,27 @@ Here is an example for a bubble config:

<script>
const typebot = Typebot.Chat({
publishId: "exemple-lead-gen",
buttonColor: "#0042DA",
buttonIconUrl: "",
publishId: 'exemple-lead-gen',
buttonColor: '#0042DA',
buttonIconUrl: '',
loadingColors: {
chatBackground: "#00002e",
bubbleBackground: "#F7F8FF",
typingDots: "#303235",
chatBackground: '#00002e',
bubbleBackground: '#F7F8FF',
typingDots: '#303235',
},
});
})
</script>
```

## Personalize user experience (Hidden variables)
## Personalize user experience

You can leverage the hidden variables and inject your user information directly into your typebot so that the experience is entirely customized to your user. Here are the available variables from WordPress:
You can leverage the [hidden variables](/editor/variables#hidden-variables) and inject your user information directly into your typebot so that the experience is entirely customized to your user.

<img src="/img/embeddings/wp-variables.png" alt="WP predefined variables"/>
Here are the available variables from WordPress, make sure to create them in your typebot's variables dropdown:

Then you can use these variables anywhere on your typebot. For more informations, check out the [Hidden variables doc](https://docs.typebot.io/editor/variables/hidden-variables)
<img src="/img/embeddings/wp-variables.png" alt="WP predefined variables" width="400px"/>

You can use these variables anywhere on your typebot. For more informations, check out the [Hidden variables doc](https://docs.typebot.io/editor/variables/hidden-variables)

## Your typebot isn't showing?

Expand Down
Binary file modified apps/docs/static/img/embeddings/wp-variables.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

5 comments on commit 3010976

@vercel
Copy link

@vercel vercel bot commented on 3010976 Jun 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

builder-v2-git-main-typebot-io.vercel.app
app.typebot.io
builder-v2-typebot-io.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3010976 Jun 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./apps/docs

docs-typebot-io.vercel.app
docs-git-main-typebot-io.vercel.app
docs.typebot.io

@vercel
Copy link

@vercel vercel bot commented on 3010976 Jun 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3010976 Jun 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3010976 Jun 7, 2022

Please sign in to comment.