Installing on an unpublished theme
Themes are automatically updated with our code snippets when they are published. (can take 5 mins to process)
To install the app on an unpublished theme please copy and paste the following code snippet to the bottom of the layout/theme.liquid file.
{% if product %} <script> var boosterParams = boosterParams || {}; boosterParams.customer = {}; boosterParams.product = {{ product | json }}; {% if customer %} boosterParams.customer.email = "{{ customer.email }}"; {% endif %} </script> {% endif %}
The end result should look similar to this.