Placeholder image to show there was no frontend code for SWUP Gtag plugin.

Swup Gtag Plugin

Project Scenario

SwupJS is a page transition library written in JavaScript. This library recently moved from v1 to v2, switching from a previously used convention for a more modular plugin approach. Around the same time, Google moved their analytic system from Analytics.js to Gtag.js, leading to a need for a compatible Swup plugin for the new Gtag.js analytic reporting system.

The Result

A successfully integrated plugin for SwupJS with Gtag.js support. The resulting plugin is used in several applications, as well as receiving consistent weekly downloads on npm.