I set up my site for google analytics a while ago (maybe 1.5 years?) Anyway, it is tracking traffic but not conversions. I went to chat help and they are saying I need to remove the old code I added to theme.liquid but want to make sure I remove the right code and than add it again per the new procedure at Onlne Store > Preferences.
I attached a screen shot with the code I <think> I should remove, but wanted someone to confirm it. I'm not a coder, just a mechanical engineer.
What you have is the incorrect way to setup analytics in Shopify. I suggest you follow https://www.digitaldarts.com.au/google-analytics-and-shopify-for-splendid-data