Sachin Kadam
Sachin Kadam

Reputation: 265

Google Analytics event tracking with user meta data

I am using Google Analytics event tracking to track various events. for one f my use case i.e fr sign up page I want to track the details of the failed sign up user using Event tracking. Is this possible using Event tracking.

The syntax for event tracking is,

ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);

I tried to pass the user data as below,

ga('send', 'event', 'Videos', 'play',{ 'email' : '[email protected]' })

but this did not worked.

Upvotes: 0

Views: 507

Answers (1)

Marco
Marco

Reputation: 1172

GA and other Google services does not allow PII so i suggest you take a look at this. Maybe you can adapt it to work on your site.

Finally i think you can not send the email as a filed object maybe you should be using a custom dimension.

Upvotes: 0

Related Questions