• Skip to main navigation
  • Skip to main content
  • Jump to the main sidebar

Carlosmdh

  • Migra ahora a Google Analytics 4
  • Blog
  • Snippets
  • Tutorials
  • Q&A GA4
  • About Me
  • Contact Me

Cómo añadir el script gtag.js a Genesis Framework

Con este snippet podrás agregar el script gtag.js a tu instalación de Genesis Framework. Te recomiendo que lo hagas con un plugin de funciones personalizadas.

Cómo añadir el script gtag.js a WordPress

Con este snippet podrás agregar el script gtag.js a tu instalación de WordPress. Te recomiendo que lo hagas con un plugin de funciones personalizadas.

Introduction to WordPress snippets

When we talk about a snippet we are talking about code fragments that we can insert in our WordPress to modify or add some function to our website.

Adding Google Tag Manager code to Genesis

With this snippet you can add the Google Tag Manager script to your Genesis Framework based WordPress installation. I recommend you to do it with a custom functions plugin.

Adding Google Tag Manager to WordPress

With this snippet you can add the Google Tag Manager script to WordPress. I recommend that you do it with a custom functions plugin.

How to add the GTIN field to the WooCommerce product sheet

If you want to upload the product catalog of your store to Google Merchant, one of the essential fields for this tool to approve the product feed is the GTIN (Global Trade International Number), that is, what we know as barcode and that in Europe is the EAN or ISBN for books. But this field is not in WooCommerce by default.

How to synchronize the color palette of the blocks created with ACF

One of the drawbacks of creating a block with the different tools that have emerged is that, in some cases, the color picker or color selector used by the developer is not the same as the one used by the WordPress editor. This is the case of the blocks created with Advanced Custom Fields.

How to modify the url in Youtube videos

In a previous tutorial I told you that when you insert a Youtube video, it brings with it its own third-party advertising cookies from DoubleClick, which is the platform used by YouTube to show ads before or under the video as a banner. And I told you how to prevent it by hand, copying the url of the video and replacing the url https://youtube.com by https://www.youtube-nocookie.com.

How to inject different Tag Manager containers into a WordPress Multisite

In a previous tutorial, How to add the Google Tag Manager code to WordPress I left you a snippet to add the code provided by Google Tag Manager to your WordPress website, but what happens if you have a multisite with different websites and domains?

  • Go to page 1
  • Go to page 2
  • Go to next page "

Sidebar

Sidebar-Alt

Blog - Snippets - Tutorials

Privacy Policy - Cookie Policy - Change your Consent


carlosmdh © 2023 · Made with by carlosmdh

We use cookies to give you the best experience on our website.

Puedes aprender más sobre qué cookies utilizamos o desactivarlas en los ajustes.

Carlosmdh
Powered by  GDPR Cookie Compliance
Privacy summary

This website uses cookies so that we can provide you with the best possible user experience. Cookie information is stored in your browser and performs functions such as recognising you when you return to our site or helping our team understand which parts of the site you find most interesting and useful.

Strictly necessary cookies

Strictly necessary cookies must always be enabled so that we can save your cookie settings preferences.

If you disable this cookie we will not be able to save your preferences. This means that each time you visit this website you will have to enable or disable cookies again.

Cookies de terceros

Esta web utiliza Google Analytics para recopilar información anónima tal como el número de visitantes del sitio, o las páginas más populares.

Dejar esta cookie activa nos permite mejorar nuestra web.

¡Por favor, activa primero las cookies estrictamente necesarias para que podamos guardar tus preferencias!

Cookies adicionales

Esta web utiliza las siguientes cookies adicionales:

(Lista aquí las cookies que estás utilizando en la web.)

¡Por favor, activa primero las cookies estrictamente necesarias para que podamos guardar tus preferencias!

  • Español
  • Français