Generate a method that will push onto a global queue, commonly used by 3rd-party Javascript tools.