Use Google Analytics' User ID function with Wordpress site


Staff member
Searching the web high and low for an answer!

I need to integrate Google analytics' 'user ID' function with my wordpress site.
See: <a href="" rel="nofollow"></a>

Been looking for a dedicated plugin but closest thing I could find was <a href="" rel="nofollow"></a> but the lack of instructions left me without a solution.

Currently have GA installed and running fine currently with Yoast's plugin, but not this user ID function. So I can’t identify registered users interactions.

I do understand that WP generates an ID for each user, my question is more regarding how to send this to GA (and if sending WP's user ID is best practice?)

Not sure if wordpress is natively/easily able to "send the unique IDs generated by your own authentication system to Analytics as values for the User ID”.

Any help appreciated!