Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Google Tag Manager (WP Antwerp, November 2015)

Jan Henckens
November 26, 2015

Google Tag Manager (WP Antwerp, November 2015)

Slides for a short presentation I did about Google Tag Manager at the WPAntwerp meetup on november 26th 2015.

Jan Henckens

November 26, 2015
Tweet

More Decks by Jan Henckens

Other Decks in Technology

Transcript

  1. Jan • PHP Developer @ sta0k.be ! • WordPress core

    contributor • Theme & plugin author @ wordpress.org • (trail)marathon runner ", badminton player # • (ex consultant @ KBC ICT Services $) Jan Henckens - WP Antwerp, November 2015
  2. Wat? Container om 'tags' toe te voegen op je site

    h"p:/ /tagmanager.google.com Jan Henckens - WP Antwerp, November 2015
  3. Script tag: Net na de openende body tag: <!-- Google

    Tag Manager --> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-NR2LDF" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-NR2LDF');</script> <!-- End Google Tag Manager --> Jan Henckens - WP Antwerp, November 2015
  4. Tags? • Google Analy,cs • Google Adwords • CrazyEgg, MouseFlow

    ⚠ Custom HTML en javascript ⚠ Jan Henckens - WP Antwerp, November 2015
  5. Waarom? • Aanpassingen doen zonder code aan te passen !

    geen developer meer nodig " • Snel nieuwe tags/events toevoegen • Makkelijke "Preview & debug" • Wijzigingen staan direct online # Jan Henckens - WP Antwerp, November 2015
  6. Voor wie? • Marke'ng/Marketeer • Community manager • ... •

    Maar zeker ook: developers! Jan Henckens - WP Antwerp, November 2015
  7. GTM in WordPress? Best na de openende body tag... •

    Plugins met wp_footer • Zelf toevoegen in je theme • 'DuracellTomi's Google Tag Manager for WordPress' Jan Henckens - WP Antwerp, November 2015