From 2a15ae39ffb98df177e7bce941b7d2d0ce3011a1 Mon Sep 17 00:00:00 2001 From: Antonio Roberto Silva Date: Thu, 29 Feb 2024 00:35:25 -0300 Subject: [PATCH] noscript does not have : --- .../views/catarse_bootstrap/layouts/_facebook_pixel.html.slim | 2 +- .../catarse_bootstrap/layouts/_google_tag_pixel_body.html.slim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/catarse/app/views/catarse_bootstrap/layouts/_facebook_pixel.html.slim b/services/catarse/app/views/catarse_bootstrap/layouts/_facebook_pixel.html.slim index e94572776..545621c0a 100644 --- a/services/catarse/app/views/catarse_bootstrap/layouts/_facebook_pixel.html.slim +++ b/services/catarse/app/views/catarse_bootstrap/layouts/_facebook_pixel.html.slim @@ -48,7 +48,7 @@ fbq('init', '1930357564064883'); fbq('track', 'PageView'); - noscript: + noscript img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=1930357564064883&ev=PageView&noscript=1" - if CatarseSettings[:facebook_pixel_id].present? diff --git a/services/catarse/app/views/catarse_bootstrap/layouts/_google_tag_pixel_body.html.slim b/services/catarse/app/views/catarse_bootstrap/layouts/_google_tag_pixel_body.html.slim index 23b5739cd..6b6a261e4 100644 --- a/services/catarse/app/views/catarse_bootstrap/layouts/_google_tag_pixel_body.html.slim +++ b/services/catarse/app/views/catarse_bootstrap/layouts/_google_tag_pixel_body.html.slim @@ -1,3 +1,3 @@ - if Rails.env.production? || Rails.env.sandbox? - noscript: + noscript iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K2GRSPH6" height="0" width="0" style="display:none;visibility:hidden" \ No newline at end of file