Answer the question
In order to leave comments, you need to log in
How to fix encoding in Facebook Pixel?
Installed this miracle on the site.
Website in utf-8.
I do so.
<script>
var pageData = {
"title": "<?=$pageData_title();?>", // Вывод заголовка
"category": "<?=$pageData_category;?>" // Вывод категории
}
</script>
fbq('track', 'ViewContent', {
content_name: pageData.title,
content_category: pageData.category
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question