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
While going through GA documentation, they do support multiple sub domains for which events can be recorded.
We have multiple domains (one for each customer, a.example.com, b.example.com, etc. ), and we want to roll up the data collected. This is in addition to per customer data collection.
I tried the same using the below example
const Example = () => {
const ga4React1 = useGA4React('GA_CODE_I', {}, []); // GA CODE, optional, if empty try to get from globals
console.log(ga4React1);
. . .
const ga4React2 = useGA4React('GA_CODE_II', {}, []); // GA CODE, optional, if empty try to get from globals
console.log(ga4React2);
. . .
return <>{JSON.stringify(ga4React)}</>;
};
But the second object always found to be null. Is there anything missed out in above configuration ?
The text was updated successfully, but these errors were encountered:
While going through GA documentation, they do support multiple sub domains for which events can be recorded.
We have multiple domains (one for each customer,
a.example.com
,b.example.com
, etc. ), and we want to roll up the data collected. This is in addition to per customer data collection.I tried the same using the below example
But the second object always found to be null. Is there anything missed out in above configuration ?
The text was updated successfully, but these errors were encountered: