With @dub/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 @dub/analytics script to your Shopify store simply by installing the Dub Shopify App from the App Store.
The connection status in the Dub Conversions app
Then, make sure to activate the @dub/analytics script by following these steps:
  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, select the App embeds tab.
  5. Locate the Analytics Script for the Dub Conversions app and toggle it to activate.
Enable the Dub Analytics script in your Shopify theme

Installation video

Here’s a video showing how to install and activate the @dub/analytics script in your Shopify store: