If you closely inspect your error, you can see that is happening on line 1562.
You're trying to use the jquery object there to send data to your google analytics. However that is not even being used. You might as well just remove this from your product detail template.
<script type="text/javascript">
jQuery(document).ready(function(){
var MBG = GoogleAnalyticEnhancedECommerce;
MBG.setCurrency('EUR');
MBG.addProductDetailView({
"id":0,
"name":"null",
"category":"null",
"brand":"",
"variant":"null",
"type":"typical",
"position":"0",
"quantity":1,
"list":"product",
"url":"",
"price":"0.00"
});
});
</script>
If you really want this to work, you might want to transfer your jquery to your header so that way its going to be loaded before this script runs.
Another thing you might do is disable the analytics module. Since it's not being used and this is what is causing the problem.
Or look into the function in that model that is rendering that code to try and solve that. You can just change that from using Jquery document ready to native document ready with js.
So in your case change that to:
document.addEventListener("DOMContentLoaded", function(event) {
var MBG = GoogleAnalyticEnhancedECommerce;
MBG.setCurrency('EUR');
MBG.addProductDetailView({
"id":0,
"name":"null",
"category":"null",
"brand":"",
"variant":"null",
"type":"typical",
"position":"0",
"quantity":1,
"list":"product",
"url":"",
"price":"0.00"
});
});
You can read more about it here: $(document).ready equivalent without jQuery