Hi,
I created a new box at the same size as the badge(approx 300 x 60px) and put all the code in the same placeholder.
Make sure the placeholder is in the mouse off layer. And remember it won't be visable in preview.