There are a lot of posts around getting the client id from google analytics by adding some javascript to your GTM and having it store the data in a hidden property on your form. var clientId = ga.getAll()[0].get('clientId'); $( document ).ready(fun
read more