Continuing the discussion from Embedding Discourse Comments via Javascript,
I noticed that when embedding my Discourse Forum (which has been configured with Google Analytics via the Admin fields) into my Blog as blog comments, it was loading Google Analytics JS files twice – once from the blog’s calls, once from the Embed’s calls.
This then added more resources to be downloaded on the calling site, and could double your statistics across your entire business.
There should be an option to not load Analytics and potentially any other unnecessary scripts to save bandwidth/requests on the site embedding Discourse. Embed should be more bare bones IMHO.
The current workaround is to stop using the official Google Analytics options and just put the call into your forum’s head. Then it’s not called in the embed.