This adds code for Universal Analytics with a checkbox option to enable/disable it. It uses the existing analytics code if disabled.
Add integration option to use Universal Analytics
Maybe it's just me but aren't you forgetting ecommerce.js? :)
add ecommerce.js require that was forgotten
@EmilEriksen Good catch. I missed that in the pull request.
I've added it now.
Great! Also on line 243 there's a ] instead of a closing bracket :)
fix curly bracket instead of square bracket
👍 fixed that one.
Nice work @matt-h, thanks!