Before you begin, make sure that you have already imported a CSV file to have the ability to tag products to videos in your library. Here's a detailed article for uploading a CSV file for native site.
After creating your video stories project, head to the Installation section in your Tolstoy account.
You can get there by clicking your profile on the lower left, then selecting Settings.
Copy and paste the code in your site's <head> section. Click the 'I completed all the steps' button if you haven't already.
Note: If you are an eCommerce brand, copy the conversion code to your thank you page.
Set your video stories project live by clicking the Publish button.
Copy the following code, and place it in your product page template or anywhere you want the stories to appear. Make sure to change the PRODUCT_ID if needed. Click the 'Done' button when you're finished.
Important ⚠️
For the videos to populate according to its tagged product, you need to make sure that the value inside the attribute data-product-id is a dynamic value.
If you can make it dynamic, you can remove the manually entered PRODUCT_ID and just place the variable where the dynamic data is stored.
To make it dynamic, you usually create a variable where your product IDs are stored. Then it will just change dynamically depending on the PDP.





