diff --git a/pages/_app.tsx b/pages/_app.tsx index 685a67aa3b..2bf0bbb491 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -55,6 +55,7 @@ export const lato = localLato({ import "styles/varaibles.css"; import "styles/global.css"; +const NEXT_PUBLIC_REDDIT_ID = process.env.NEXT_PUBLIC_REDDIT_ID; const NEXT_PUBLIC_GTM_ID = process.env.NEXT_PUBLIC_GTM_ID; const NEXT_PUBLIC_GTAG_ID = process.env.NEXT_PUBLIC_GTAG_ID; const MUNCHKIN_ID = process.env.MUNCHKIN_ID; @@ -162,6 +163,17 @@ const Analytics = () => { {/* End Google Tag Manager (noscript) */} )} + + {NEXT_PUBLIC_REDDIT_ID && ( + <> + {/* Reddit Pixel */} + + {/* DO NOT MODIFY UNLESS TO REPLACE A USER IDENTIFIER /*} + {/* End Reddit Pixel */} + + )} ); };