Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

New Member

PowerBI Embedded Analytics Tracking to GA4

Hi All,


A client of mine is using PowerBI Embedded Analytics to load a PowerBI iframe widget onto their website. We were wondering what our options are for tracking widget interactions and whether or not we can add a GTM container code snippet into the widget so that we can forward the widget interactions to our GA4 account.

I was testing in the embedded analytics playground and there are specific event handlers for interacting with these widgets. Does this mean we can easily embed GTM code snippet into the header of each widget and then send events on those interactions using the event handlers from the API? Our plan was then going to be to leverage to send events to the parent page of the Iframe.  

Is this possible? 




New Member

Hi Kyle,


Similar case studies seem to pose difficulties for me.

PowerBI Embedded reports are embedded in my website, and I use Pendo as my tracking system.

It was impossible to track widgets within a PowerBI report.

Are you successful in managing it?


Best regards,


New Member

Hi Liu, thanks for your response. 

Do you have any blogs/articles that relate to tracking iframe widget interactions in 3rd party analytics platforms? 

Community Support
Community Support

Hi  @kylejacoby ,


This is the related document, you can view this content:

Power BI and iFrame (

PowerBI widget | Knowledge Base | Wallboard

Introduction to Power BI embedded analytics - Training | Microsoft Learn

Power BI Embed Widget | The Portal Connector (

Embed IFrame Code Widget – Pendo Help Center



Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.