Tolstoy Widget Code

Add the following script at the head on your site:

Replace {{APP_KEY}} with your account App Key.

<script>tolstoyAppKey="{{ APP_KEY }}"</script>
<script type="module"
  async
  src="https://widget.gotolstoy.com/we/widget.js"
></script>
<script
  type="text/javascript"
  nomodule
  async
  src="https://widget.gotolstoy.com/widget/widget.js"
></script>

For Shopify users the script is added automatically using the ScriptTag API