1. Copy Your ClickSambo Tracking Code:
Log in to your ClickSambo account and copy the entire JavaScript tracking code snippet (it usually looks like <script>...</script>).
2. Add Sitewide Tracking (to theme.liquid):
a. In your Shopify Admin, go to Online Store > Themes.
b. On your current theme, click Actions > Edit code.
c. In the file browser (under Layout), open theme.liquid.
d. Paste your ClickSambo code on a new line just before the closing </head> tag.
e. Click Save.
3. Add Conversion Tracking (to Order Status Page):
a. In Shopify Admin, go to Settings > Checkout.
b. Scroll down to the Order status page section and find the Additional scripts text box.
c. Paste your ClickSambo tracking code here, ensuring it's below any existing scripts.
* Important Note: If ClickSambo provides a specific code snippet for conversion tracking (potentially with order variables like total amount or ID), use that version here.
d. Click Save.
4. Verify the Installation:
a. ClickSambo Dashboard: After some time, log in to ClickSambo and check if tracking is active for your site.
b. Browser Developer Tools: Visit your Shopify store. Use your browser's developer tools (Network or Sources tab) to see if the ClickSambo script (clicksambo.com) is loading.
c. Test Purchase (Recommended): If possible, make a test purchase to confirm conversion tracking works on the order status/thank you page.
Key Considerations:
Backup Theme: Before editing theme.liquid, always duplicate your theme (Actions > Duplicate) as a backup.
ClickSambo's Official Guide: Prioritize any specific Shopify installation instructions directly from ClickSambo.
Shopify App: Check if ClickSambo offers an official Shopify App, which might simplify installation.
Script Conflicts: If issues arise, temporarily remove the code to test for conflicts. Contact ClickSambo support if needed.