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 am using the below code and it's not working with the custom definition and getting "not set" as a value. But in the debug view I am getting the value in the "data layer".
#83
Open
priyabratap opened this issue
Aug 8, 2024
· 0 comments
I am using the below code and it's not working with the custom definition and getting "not set" as a value. But in the debug view I am getting the value in the "data layer". [image:debug-datalayer]
// Set user properties using ReactGA set
ReactGA.set({
user_name: userData?.name,
pst_code: userData?.store?.code,
pst_name: userData?.store?.name,
});
I changed the above code and able to see the "data layer" as well as in the "hit details" [image:Hit Details]
ReactGA.set required Object only and can't use set method
Do you know if it is something I need to pass like above? [I mean "user_properties" is important to pass]
The text was updated successfully, but these errors were encountered:
priyabratap
changed the title
I am using the below code and it's not working with the custom definition and getting "not set" as a value. But in the debug view I am getting the value in the "data layer". [image:debug-datalayer]
I am using the below code and it's not working with the custom definition and getting "not set" as a value. But in the debug view I am getting the value in the "data layer".
Aug 8, 2024
I am using the below code and it's not working with the custom definition and getting "not set" as a value. But in the debug view I am getting the value in the "data layer". [image:debug-datalayer]
I changed the above code and able to see the "data layer" as well as in the "hit details" [image:Hit Details]
ReactGA.set required Object only and can't use set method
Do you know if it is something I need to pass like above? [I mean "user_properties" is important to pass]
Originally posted by @priyabratap in #22 (comment)
The text was updated successfully, but these errors were encountered: