Global Site Tag (gtag.js) Tracking for Contact Form 7

Since version 0.6.2 the plugin supports the latest Google Analytics tracking code called “Global Site Tag” or gtag.js which usually look like this:

<script async src=""></script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'GA_TRACKING_ID');

The plugin automatically sends custom tracking events whenever a form submission is submitted, sent, failed to send or is considered spam.

See the list of all Google Analytics and Metomo (formerly Piwik) tracking events that are triggered automatically for all form submissions.