Unverified Commit e9176877 authored by Ségolène Alquier's avatar Ségolène Alquier Committed by GitHub

[examples] Replace the GA_TRACKING_ID string with env variable (#21817)

parent c64005ff
export const GA_TRACKING_ID = '<YOUR_GA_TRACKING_ID>'
export const GA_TRACKING_ID = process.env.NEXT_PUBLIC_GA_ID
// https://developers.google.com/analytics/devguides/collection/gtagjs/pages
export const pageview = (url) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment