How to Install a Klix Poll on Shopify
#Get Your Poll Embed Code
- Login to your dashboard..
- Navigate to your poll list, and click on the poll you wish to install.
- On the top right of the poll page, click the Share/Embed tab and scroll down to the Embed Code section.
This will display the HTML code you need to insert into your HTML to display the Klix poll. It will look similar to the code below... (do not use the code below).
<div class="klixEmbed" data-id="gauge_id"></div>
<script src="https://goklix.com/api/gauge/gauge_id/embed.js" async></script>
- Follow the instructions to copy your widgets unique code to your 📋 clipboard
#How to Create a Shopify Custom HTML Section
A shopify Custom HTML sectio nallows you to enter custom HTML, CSS and JavaScript code into specific sections of your online store.
- From your Shopify admin, navigate to 'Online Store > click on Themes > Customize > Edit code'.
- Click 'Add a new section' under 'Sections' and name it 'Klix Poll'.
- Ensure you select 'Custom section' from the types of sections available.
- Click 'Done'.
- When you have created a Custom content section you will see two fields appear: Content and CSS. In the content field paste your Klix Poll embed code and click 'Save'.
- Now navigate back to the 'Theme Customization' option and open the page you with to add the Klix poll to.
- Click 'Add Section', find your newly created 'Klix Poll' section and hit add to add the HTML to your Shopify store.
#Placing Klix Widgets - Things to Note
Our widget can appear in multiple places in the same page/article.
- You can display several different widgets on the same page.
- You can display the same widget multiple times on your page.