Slide 1

Slide 1 text

Google Tag Manager Wat, waarom en WordPress Jan Henckens - WP Antwerp, November 2015

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

Wat? Container om 'tags' toe te voegen op je site h"p:/ /tagmanager.google.com Jan Henckens - WP Antwerp, November 2015

Slide 4

Slide 4 text

Script tag: Net na de openende body tag: (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'); Jan Henckens - WP Antwerp, November 2015

Slide 5

Slide 5 text

Tags? • Google Analy,cs • Google Adwords • CrazyEgg, MouseFlow ⚠ Custom HTML en javascript ⚠ Jan Henckens - WP Antwerp, November 2015

Slide 6

Slide 6 text

Triggers Jan Henckens - WP Antwerp, November 2015

Slide 7

Slide 7 text

Variables Jan Henckens - WP Antwerp, November 2015

Slide 8

Slide 8 text

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

Slide 9

Slide 9 text

Voor wie? • Marke'ng/Marketeer • Community manager • ... • Maar zeker ook: developers! Jan Henckens - WP Antwerp, November 2015

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

? Jan Henckens - WP Antwerp, November 2015

Slide 12

Slide 12 text

⌘ + Q Jan Henckens - WP Antwerp, November 2015