Surprised that I couldn't find a topic on this already...
Short Version: I can't figure out a way to pass macros into twine via html.
Long Version: I've built a notification system in a Twine project using jQuery. It uses HTML5 data attributes to pass variables. This allows me to put a div wrapper around anything and have it pop up a little Growl-style notification in the corner with stuff like "bug spray added to inventory" or "you got ten points" or whatever and all the info is contained right there in the div. The issue I'm running into is getting these divs to pass stuff back into Twine. For example, I'd like to set a variable and print a script tag to the window with Google Analytics event info in the same click that triggers the notification. I know a few methods to achieve this via Javascript, but I'd really like to do it in just HTML if that's possible. Open to any and all ideas!