Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Google Analytics Component

Owen Stowe edited this page Apr 12, 2019 · 1 revision

Component for integrating Google Analytics. All you need to get this component running is your GA tracking ID. It's recommended you store your tracking ID as a custom site option on a WordPress settings page.

If using Irving, this component is not the easiest approach to implementing GA. For Irving sites, we recommend loading GA via Google Tag Manager (see the Google Tag Manger page of this wiki). The reason for this is GTM will allow you to easily track URL changes via the History API, which Irving utilizes.

Clone this wiki locally