Skip to main content

Shopify Integration

With CutMeShort Analytics, you can track lead and sale conversions on your Shopify store, enabling you to measure the effectiveness of your marketing campaigns. You can add the CutMeShort Analytics script to your Shopify store by adding the script directly to your theme.

Installation

  1. Navigate to your Shopify admin panel.
  2. Go to Online Store > Themes.
  3. Click on Customize for your current theme.
  4. In the theme editor, go to the theme settings or code section.
  5. Add the CutMeShort Analytics script to your theme’s head section.
  6. Save your changes.
<script src="https://cut-me-short-public.s3.ap-south-1.amazonaws.com/dev/track_dev.js" defer></script>

Verification

You can verify the installation with the following tests:
  1. Open the browser console and type in window._cms – if the script is installed correctly, you should see the CMS tracking object in the console.
  2. Add the ?cms_id=test query parameter to your website URL and make sure that the tracking cookie is being set in your browser.
If both of these checks pass, the script is installed correctly. Otherwise, please make sure:
  • The analytics script was added to the <head> section of the page
  • If you’re using a content delivery network (CDN), make sure to purge any cached content

Features

Once installed, the CutMeShort Analytics script will automatically track:
  • Product views
  • Add to cart events
  • Purchase conversions
  • Customer information
  • Attribution data

Next Steps

For more information on configuring advanced tracking options, contact the CutMeShort support team.