How to pull the current user’s email and insert into a script placeholder?
You didn’t provide any information on how you’re getting the script on the page to begin with. Assuming that this is something you have hardcoded into your template, here is a way you could approach it. First, you need to check if the user is logged in, because if they are not, there’s no point … Read more