How to add the @dub/analytics client-side script to your Shopify store
@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.
@dub/analytics
script by following these steps:
_dubAnalytics
– if the script is installed correctly, you should see the _dubAnalytics
object in the console.?dub_id=test
query parameter to your website URL and make sure that the dub_id
cookie is being set in your browser.<head>
section of the page@dub/analytics
script in your Shopify store: