diff --git a/view/frontend/templates/post/view/views_count.phtml b/view/frontend/templates/post/view/views_count.phtml index a5efe772..cf0338d0 100644 --- a/view/frontend/templates/post/view/views_count.phtml +++ b/view/frontend/templates/post/view/views_count.phtml @@ -14,7 +14,7 @@ require(['jquery', 'domReady!'], function($){ setTimeout(function(){ $.ajax({ - url:"escapeUrl($block->getCounterUrl());?>", + url: atob( 'getCounterUrl()) ?>'), type:'POST', dataType: 'json', success: function(response) { }