--- title: "HubSpot emails with G2 marketing content" slug: "hubspot-emails-with-g2-marketing-content" updated: 2025-06-04T23:04:59Z published: 2025-06-04T23:04:59Z canonical: "documentation.g2.com/hubspot-emails-with-g2-marketing-content" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.g2.com/llms.txt > Use this file to discover all available pages before exploring further. # HubSpot emails with G2 marketing content Adding [G2 Badges](https://documentation.g2.com/docs/g2-badges) and [Star Rating widgets](https://documentation.g2.com/docs/widgets#star-rating-widget) to HubSpot emails enables you to highlight your G2 reviews and drive review generation efforts. ## Before getting started Before proceeding with the following steps, make sure you have the embed code for the G2 Badge or Star Rating widget you want to add to your email. To access G2 Badge embed codes, go to [my.G2](https://my.g2.com/~/badges), then **Marketing Content** > **G2 Badges**. ![The G2 Badges tab in my.G2.](https://documentation-g2-com-images.s3.us-east-1.amazonaws.com/hubspot-emails-g2-badges-tab.png) To access Star Rating widget embed codes, go to [my.G2](https://my.g2.com/~/widgets/star_rating_widgets), then **Marketing Content** > **Widgets** > **Star Rating Widget**. ![The Star Rating widget tab in my.G2.](https://documentation-g2-com-images.s3.us-east-1.amazonaws.com/hubspot-emails-star-rating-widget.png) ## Embedding G2 marketing content in Hubspot emails ![Demo of adding an email to HubSpot](https://documentation-g2-com-images.s3.us-east-1.amazonaws.com/hubspot-emails-add-g2-content-to-email.gif) To add G2 Badges or Star Rating widget to HubSpot emails: 1. Log in to [HubSpot](https://app.hubspot.com/), then navigate to **Marketing** > **Email**. 2. Select **Create email**, then choose an email type and template. 3. From the *Content* tab, select **More**, then select and drag the **HTML - Email** module into your email layout. If using a custom email template, you must navigate to **Advanced** > **Source Code** instead. 1. Paste the embed code you copied from my.G2 into the HTML editor. Your email preview will update immediately.