You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a react website using react-ga4 that is hosted on a third-party website using an iframe.
When loading the third-party website my iframe should report a pageview. However this does not work. I have created data streams for both the third party domain and the domain that is hosting the iframe. Both trackingIds are initialized.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have a react website using react-ga4 that is hosted on a third-party website using an iframe.
When loading the third-party website my iframe should report a pageview. However this does not work. I have created data streams for both the third party domain and the domain that is hosting the iframe. Both trackingIds are initialized.
I'm using the following code:
ReactGA.send({ hitType: "pageview", page: "/path", title: "Some title" });
Also tried a plain
ReactGA.send("pageview");
Beta Was this translation helpful? Give feedback.
All reactions