How to embed a Google Groups in a Confluence space ?
Asked by Ludovic MOTTINI:

To get some kind of free forum, I was hoping to embed a Google Groups in a Confluence page so my users could see it and discuss without leaving Confluence.

I tried the iframe macro but the frame keeps showing a blank page.

I am using Confluence Cloud

An idea ?

Thanks


Answers:
author: Shannon S
body: Hello Ludovic,

Thank you for reaching out to us! Happy to help you determine why your site isn't showing up in the iFrame Macro.

Per the [iFrame Macro documentation](https://confluence.atlassian.com/confcloud/iframe-macro-950276528.html),
> Some websites may show up as blank when you try to include them as part of an iFrame. This could be because:

*
  > The website administrators have invoked the [*x-frame-options* response header](https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options) to prevent browsers from rendering it in an iFrame.
*
  > The browser you're using has blocked the website from loading as a security precaution.

As a test, they recommend that you try replacing http:// with https:// at the start of the URL. Could you give that a try?

Regards,

Shannon

comments: author: Ludovic MOTTINI
body: Hi Shannon, thank you for your help. I tried. Same thing.


author: Shannon S
body: Ludovic,

I tested on my own end and I received an error. I assume this is the same you are seeing?

![Screenshot 2019-04-09 at 14.55.17.png](https://community.atlassian.com/t5/image/serverpage/image-id/50993iEE23A4DECE1753EF/image-dimensions/440x317?v=v2 "Screenshot 2019-04-09 at 14.55.17.png")

It may require additional settings in order to embed. I'm not too familiar with Google Groups, but let's try something.

Can you go to click on **Manage group** and then scroll to the bottom where it says **Embedding your group** , obtain the embed code from there, and try to embed it using the [HTML macro](https://confluence.atlassian.com/doc/html-macro-38273085.html)?

Let me know how that goes.

Regards,

Shannon


author: fwoon
body: FYI the section of code under the 'Embedding your group' works. You can simply copy and paste that into a HTML macro.

HOWEVER confluence 7 server totally removed HTML macro so you will need to create your own variant of HTML macro which is quite simple.


author: Shannon S
body: Hi [@fwoon](/t5/user/viewprofilepage/user-id/247480),

Thank you for letting us know how you were able to embed your group into your Confluence site.

I am curious about what you said, however. We haven't removed HTML macro from Confluence server, nor am I aware of any plans to. As of Confluence 7.3, the [HTML macro](https://confluence.atlassian.com/doc/html-macro-38273085.html) is an available macro. It's also not mentioned to be removed on our [End of Support Announcements](https://confluence.atlassian.com/doc/end-of-support-announcements-for-confluence-210239673.html#EndofSupportAnnouncementsforConfluence-DeprecatedmacrosforConfluence(12March2019)) page. Can you let me know where you found that information?

I tested and have successfully enabled HTML macro on my Confluence 7.2.1 site.

If you want to **enable** **the HTML Macro**:
> The HTML macro is disabled by default. You'll need Confluence Administrator or System Administrator permissions to enable this macro.
>
> ![(warning)](https://confluence.atlassian.com/s/en_GB/7901/af536c7c6dffcc1d697b914b797aa7f2f306b4f8/_/images/icons/emoticons/warning.svg) Enabling these macros can make your Confluence site vulnerable to cross-site scripting attacks. You should only turn on these macros if you trust all your users not to attempt to exploit them. We strongly recommend leaving this macro disabled if you allow self-signed up or anonymous users to create content.
>
> **To enable the HTML macro:**

1.
   > Go to ![](https://confluence.atlassian.com/doc/files/747833194/747833195/2/1517274813281/cog.png) \> **Manage apps**.
2.
   > Select **System** from the drop down and search for the **Confluence HTML Macros**system app.
3.
   > Expand the listing and enable the **html (html-xhtml)** module.

Can you confirm if you're able to turn that on in your Confluence site?

Thank you!

Regards,

Shannon


author: fwoon
body: Thanks Shannon! I didn't realize it was disabled by default and thought it was simply removed.

I will test this out once i have the chance soon!


author: Shannon S
body: Thank you for letting me know [@fwoon](/t5/user/viewprofilepage/user-id/247480)! I'll await your response. :)

Shannon


Tags: cloud

confluence-cloud