Claspo
Claspo is a platform for creating on-site widgets such as popups, forms, and banners to capture leads and engage website visitors.
Key features include:
- Popup and form builder
- Targeting and triggering rules
- A/B testing and analytics
- Integrations with marketing platforms
Claspo integrates with ShopWired by adding a tracking to the ShopWired theme so you can display widgets and collect visitor data on your website.
Account creation
Account creation
Create an account on the Claspo website at Claspo.
After your account is created, Claspo will provide a JavaScript tracking script for installation.
Theme installation
Theme installation
Claspo provides a script similar to the example shown below:
<script>
(function(w,d,s,o,f,js,fjs){
w['ClaspoObject']=o;
w[o]=w[o]||function(){(w[o].q=w[o].q||[]).push(arguments)};
js=d.createElement(s), fjs=d.getElementsByTagName(s)[0];
js.id=o; js.src=f; js.async=1;
fjs.parentNode.insertBefore(js,fjs);
}(window,document,'script','claspo','https://cdn.claspo.io/claspo.js'));
</script>
The script shown above is provided as an example only. You must copy the exact script provided in your own Claspo account, as the script and any ID values will be unique to your website.
- Navigate to Website > Themes
- Select the
code editoroption for your active theme - Open the
master.twigfile - Paste the Claspo script just before the closing
</body>tag - Select Save changes
After the script has been added, Claspo will begin collecting data from your website.
Once the script is installed, widgets created in Claspo are displayed on your ShopWired website based on the configuration set within your Claspo account.
Recommendations
Recommendations
- Ensure the script is added to the correct
master.twigfile of the active theme - Avoid adding the script multiple times as this can prevent widgets from loading correctly
- Test widget display on a draft theme before publishing changes
- Confirm widget targeting rules in Claspo if widgets are not appearing
- Keep a record of where scripts are installed for future maintenance