templates/cms/frontEnd/siteSetting/siteSettingBody.html.twig line 1

Open in your IDE?
  1. {% apply spaceless %}
  2. {% if attribute(data, constant('App\\CMSBundle\\Entity\\SiteSetting::GOOGLE_TAG_MANAGER_ID')) is not empty %}
  3. <!-- Google Tag Manager -->
  4. <noscript>
  5. <iframe src="https://www.googletagmanager.com/ns.html?id={{ attribute(data, constant('App\\CMSBundle\\Entity\\SiteSetting::GOOGLE_TAG_MANAGER_ID')) }}" height="0" width="0" style="display:none;visibility:hidden"></iframe>
  6. </noscript>
  7. <!-- End Google Tag Manager -->
  8. {% endif %}
  9. {% if attribute(data, constant('App\\CMSBundle\\Entity\\SiteSetting::FACEBOOK_PIXEL_ID')) is not empty %}
  10. <!-- Facebook Pixel Code -->
  11. <noscript>
  12. <img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id={{ attribute(data, constant('App\\CMSBundle\\Entity\\SiteSetting::FACEBOOK_PIXEL_ID')) }}&ev=PageView&noscript=1" alt="facebook pixel" />
  13. </noscript>
  14. <!-- END Facebook Pixel Code -->
  15. {% endif %}
  16. {% if attribute(data, constant('App\\CMSBundle\\Entity\\SiteSetting::FACEBOOK_CHAT_PAGE_ID')) is not empty %}
  17. <!-- Messenger Chat Plugin Code -->
  18. <div id="fb-root"></div>
  19. <!-- Your Chat Plugin code -->
  20. <div id="fb-customer-chat" class="fb-customerchat"></div>
  21. {% endif %}
  22. {% endapply %}