Skip to content

Commit

Permalink
Update eightPodAnalyticsAdapter.js (prebid#11962)
Browse files Browse the repository at this point in the history
  • Loading branch information
patmmccann authored and mefjush committed Jul 19, 2024
1 parent ce40079 commit 5a5c475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/eightPodAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ let eightPodAnalytics = Object.assign(adapter({url: trackerUrl, analyticsType}),
window.addEventListener('message', async (event) => {
const data = event.data;

const frameElement = event.source.frameElement;
const frameElement = event.source?.frameElement;
const parentElement = frameElement?.parentElement;
const adUnitCode = parentElement?.id;

Expand Down

0 comments on commit 5a5c475

Please sign in to comment.