Showing results for 
Search instead for 
Did you mean: 
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 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


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors