diff --git a/matomo.js b/matomo.js index e78d1805e6b5c2d100b933032e755891f0d40db2..f3b2f4c0f222d38ce8e81f296fcb35ed4f335b6a 100644 --- a/matomo.js +++ b/matomo.js @@ -10,7 +10,7 @@ var search_page = ''; var result_count = 0; // compatibilité Magasin de thème -if ( search_keywords && ('body').attr('data-template') && $('div.search_result') ) { +if ( search_keywords && $('body').attr('data-template') && $('div.search_result') ) { result_count = $('li.result_count_results').text().match('[0-9]+')[0]; search_page = $('li.result_pager span').html().match(' ([0-9]+) /')[1]; tracksearch = true;