From feebadad563b6019ca933277bd4eea2aca547020 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Thu, 1 Jul 2021 20:05:07 +0700 Subject: [PATCH] feat: cloudflare analytics --- config/head.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/head.js b/config/head.js index 34ed418..fba02d4 100644 --- a/config/head.js +++ b/config/head.js @@ -85,6 +85,9 @@ export default { {rel: 'icon', type: 'image/png', href: 'favicon.png'}, {rel: 'icon', type: 'image/svg', href: 'favicon.svg'}, ], + script: [ + {src: 'https://static.cloudflareinsights.com/beacon.min.js', 'data-cf-beacon': process.env.CLOUDFLARE_TOKEN, defer: true}, + ], meta: [ {charset: 'utf-8'}, {name: 'viewport', content: 'width=device-width, initial-scale=1'},