To start with, could you take a look at this article? it describes the path you’d need to take from “setting variables for build” to “seeing them reflected at browse time”:
Could you explain how you are handling the interpolation step, and where you’re looking to see those variables set (and how you’re looking)? I bet we can help resolve things in case that article doesn’t lead you to a working conclusion already