Do the join scripts HAVE to be located on the same domain as the rest of your content?

What i mean is, lets say i build a site on domain1.com can i have the join script link going to a page on domain2.com?

That make sense?

Regards,

Lee