templates/seo/seo.html.twig line 1

Open in your IDE?
  1. {% set ruta = app.request.get('_route') %}
  2. {% set params = app.request.attributes.get('_route_params')  %}
  3. {% set seo = qi.seo(app.request.getUri(),url('homepage')) %}
  4. {% if seo %}
  5.     <title>{{ seo.titulo }}</title>
  6.     <meta name="description" content="{{ seo.descripcion }}" />
  7.     <link rel="image_src" href="{{ seo.imagen }}"/>
  8.     <meta property="og:title" content="{{ seo.titulo }}" />
  9.     <meta property="og:type" content="article" />
  10.     {# <meta property="og:url" content="{{ url(ruta,params) }}" /> #}
  11.     <meta property="og:image" content="{{ seo.imagen }}" />
  12.     <meta property="og:description" content="{{ seo.descripcion }}" />
  13. {% endif %}
  14. <link href="https://cdn.jsdelivr.net/npm/sweetalert2@10.0.2/dist/sweetalert2.min.css" rel="stylesheet" type="text/css">
  15. <script src="https://cdn.jsdelivr.net/npm/sweetalert2@9.17.1/dist/sweetalert2.all.min.js"></script>
  16. {# -- SEGUIMIENTO -- #}
  17. {# NUEVO #}
  18. <!-- Global site tag (gtag.js) - Google Analytics ID de seguimiento UA-121079141-1 -->
  19. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-121079141-1"></script>
  20. <script>
  21. window.dataLayer = window.dataLayer || [];
  22. function gtag(){dataLayer.push(arguments);}
  23. gtag('js', new Date());
  24. gtag('config', 'UA-121079141-1');
  25. </script>
  26. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-183047150-1"></script>
  27. <script>
  28. window.dataLayer = window.dataLayer || [];
  29. function gtag(){dataLayer.push(arguments);}
  30. gtag('js', new Date());
  31. </script>
  32. {# NUEVO #}
  33. <!-- Google Tag Manager -->
  34. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  35. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  36. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  37. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  38. })(window,document,'script','dataLayer','GTM-5VCZ6F9');</script>
  39. <!-- End Google Tag Manager -->
  40. {# NUEVO #}
  41. <!-- Meta Pixel Code -->
  42. <script>
  43. !function(f,b,e,v,n,t,s)
  44. {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  45. n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  46. if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  47. n.queue=[];t=b.createElement(e);t.async=!0;
  48. t.src=v;s=b.getElementsByTagName(e)[0];
  49. s.parentNode.insertBefore(t,s)}(window, document,'script',
  50. 'https://connect.facebook.net/en_US/fbevents.js'
  51. );
  52. fbq('init', '2730504733634084');
  53. fbq('track', 'PageView');
  54. </script>
  55. <noscript><img height="1" width="1" style="display:none"
  56. src="https://www.facebook.com/tr?id=2730504733634084&ev=PageView&noscript=1"
  57. /></noscript>
  58. <!-- End Meta Pixel Code -->
  59. {# chat keybe #}
  60. <script src="https://storage.kbe.ai/keybejs/latest/keybe.js"></script>
  61.       <script>
  62.             window.addEventListener('load', function () {
  63.               var configChat = {
  64.                 apiKey: '17ae60ad840e4ccd9c2e5552555585fc'
  65.               }
  66.               window.keybe.webchatConversationsUiLoad(configChat)
  67.             })
  68.       </script>