Send a consistent event name to GTM (#222)

This commit is contained in:
Matt (IPv4) Cowley
2021-02-15 19:23:06 +00:00
committed by GitHub
parent 68b2fccbc0
commit 5f37442cbe

View File

@@ -44,7 +44,7 @@ export default ({ category, action, label, value, nonInteraction }) => {
// Google Tag Manager
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: `${category} ${action}`,
event: 'nginx_tool',
category,
action,
label,