Tolstoy
Tolstoy is a platform for creating interactive and shoppable video experiences for ecommerce websites.
Key features include:
- Shoppable video widgets
- Product catalogue import via CSV
- Interactive video creation and personalisation
- Optional conversion tracking
Tolstoy integrates with ShopWired by providing an embed that loads a widget on the ShopWired website.
Account creation
Account creation
Create an account on the Tolstoy website at Tolstoy.
Once your account is created, Tolstoy provides access to product import options and widget embed code used later in this guide.
Providing a CSV product feed to Tolstoy
Providing a CSV product feed to Tolstoy
Tolstoy imports product data from ShopWired using a CSV feed.
To provide Tolstoy with your product data:
- Navigate to Products > Feeds
- Locate the Orders CSV feed section
- Copy the CSV feed URL
The CSV feed URL generated by ShopWired is entered into Tolstoy to import your product catalogue. The required fields and structure of the CSV are defined by Tolstoy.
Theme installation
Theme installation
Tolstoy provides a widget script similar to the example shown below:
<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>
The code shown above is provided as an example only. You must copy the exact script provided in your own Tolstoy account, as any IDs or keys will be unique to your website.
- Navigate to Website > Themes
- Select the
code editoroption for the theme you want to edit - Open the
master.twigfile - Paste the widget script just above the closing
</head>tag - Select Save changes
Adding the Tolstoy widget to website pages
Adding the Tolstoy widget to website pages
To display Tolstoy videos on specific pages, Tolstoy provides an embed container similar to the example shown below:
<div id="tolstoy-widget"></div>
The code shown above is provided as an example only. You must copy the exact embed code provided in your Tolstoy account.
- Navigate to Website > Themes
- Select
customise your themefor the theme you want to edit - Navigate to the page where the widget should appear
- Select
add a new section - Select the
custom HTMLsection type - Paste the embed code into the Custom HTML setting
- Select out of the section and position it as required using the theme editor
Recommendations
Recommendations
- Import your product data into Tolstoy before publishing widgets on live pages
- Test widget placement on a draft theme before updating a live theme
- Keep a record of where Tolstoy scripts and embed containers have been added