Jadey Ryan
banner
jadeynryan.bsky.social
Jadey Ryan
@jadeynryan.bsky.social
🌱 environmental data science
#RStats #QuartoPub
mom of 🐈 🐈 🐈 👶🏻
she/her
jadeyryan.com
It should be posted on the R-Ladies St Louis YouTube! youtube.com/@rladiesstl7...
R Ladies STL
R-Ladies STL Virtual Meetups Welcome to the R-Ladies St. Louis YouTube Channel! We are the St. Louis chapter of a global organization called R-Ladies. R-Ladies is a world-wide organization with the ...
youtube.com
October 27, 2025 at 11:57 PM
Appreciate your help and pointing me where to ask for more help! 💜
October 6, 2025 at 10:09 PM
Thanks @tanho.ca ! Alas… none worked. All of the ones with $ just insert the whole placeholder into the gtag script. {{ ENVVAR }} without $ or “” causes the plugin to fail as it’s type object and is expecting a string.
October 6, 2025 at 8:22 PM
oh promise this is the last one for tonight! you asked for the deploy log... here's the screenshot that shows the secrets are included in the build environment! I just don't know how to get quarto to replace the placeholder with the secret value.
October 6, 2025 at 4:14 AM
lastly... this support guide wasn't helpful to me at all. but maybe to you as someone who actually knows what they're doing 😅

anyways... thanks for the time you've already spent on thinking about this. but please enjoy the last bit of the weekend!

answers.netlify.com/t/support-gu...
[Support Guide] Using environment variables on Netlify correctly
Last reviewed: November 2024 The preferred way to use environment variables in Netlify is to set them in our environment - be that in the Environment Variables settings UI (on the site’s “Build & Dep...
answers.netlify.com
October 6, 2025 at 4:11 AM
I saw `process.env.` was used in the quarto-netlify plugin repo so I was hopeful it would work but all of this is above my level lol

github.com/quarto-dev/n...
github.com
October 6, 2025 at 4:09 AM
netlify docs aren't super helpful in the quarto context. I was hoping using `process.env.GOOGLE_ANALYTICS_ID` would pass through using the quarto-netlify plugin, but it didn't work
docs.netlify.com/build/config...
Build environment variables
Identify environment variables available in the build environment, set your own environment variables, and use environment variables during builds.
docs.netlify.com
October 6, 2025 at 4:06 AM
@tanho.ca
here's a screenshot of how I configured Netlify's environment variables and here are the docs I was attempting to follow...
docs.netlify.com/build/enviro...
October 6, 2025 at 4:05 AM
Oh I did try an _environment file! quarto.org/docs/project... also didn’t work…
Environment Variables – Quarto
quarto.org
October 6, 2025 at 2:50 AM
I might still have the problem of GitHub actions not passing the secret to the quarto .yml files?
October 6, 2025 at 2:36 AM
The HTML file would need to be committed to my GitHub repo though, which doesn’t solve the problem. I’m thinking I might have to switch from continuous deployment with netlify to GitHub actions? Also ?? cuz I’m not sure that would work either lol
October 6, 2025 at 2:35 AM
I tried setting Netlify “environment variables” then in my _quarto.yml file, I set the Google analytics ID to call this variable with “${GOOGLE_ANALYTICS_ID}”, “process.env. GOOGLE_ANALYTICS_ID”, and “{{GOOGLE_ANALYTICS_ID}}”. None of these worked to pass from Netlify to Quarto.
October 6, 2025 at 1:40 AM
Specifically Google analytics ID and Giscus repo IDs! I don’t care that they’re public on the deployed site but I don’t want it on my repo for when folks copy my website without removing these IDs.
October 6, 2025 at 1:37 AM