You can try to always inject the code inside of a theme element such that it gets called on load, AKA where all of the .css files get called into action you can place the hidden code so that it gets your data WHILE still being readable by bots (or people) who browse.