Documentation

Shopify integration

  1. 1

    Add the talksprout script to your theme

    In your Shopify admin, go to Online Store → Themes → Edit code. Open the theme.liquid file in the Layout folder and paste the following inside the <head> section. Save the file.

    <script type="module" src="https://www.static.talksprout.com/js/ts.js"></script>
  2. 2

    Add the widget trigger to a page

    Still in the theme editor, open the HTML file for the page where you want the widget (e.g. product page or homepage). Add a button or any HTML element with the following attributes, replacing exampleId with your workspace ID. Optionally add data-talksprout-user to pass user information.

    <body> <button data-talksprout data-talksprout-workspace-id="exampleId" > Your button </button> </body>

    That's it — your widget is now integrated. Clicking the element will open the feedback widget and submissions will appear in your talksprout dashboard.