How to add HTML to page following user/register to track Google AdWords conversions?
In case of GA or some of the social plugins, you can just add the code in a custom block with FULL HTML format, so you can try creating custom block (maybe in footer) with your code and set the pages where it will appear to user/register