2

You could take a look at Google Tag Manager. I use it to inject GA code into our website pages and for click tracking purposes.


2

Why do you have 3 sets of parenthesis around the member_id tag? Does it work if you simply use {member_id}? EDIT (after comments) I'm not completely sure how this should be set up as I've never used this (will need to get up to speed on it though) but based on what I see in the docs does this work; {if logged_in} ga('create', 'UA-XXXX-Y', { 'userId': ...


Only top voted, non community-wiki answers of a minimum length are eligible