Jump to content

GA User ID Tracking

Featured Replies

Posted

Wondering how to best go about implementing Google Analytics User ID Tracking in IPB4.

Is there a shortcode or something that I can easily add in the Google Analytics AdminCP section? Eg:

ga(‘set’, ‘&uid’, {{USER_ID}}); // Set the user ID using signed-in user_id.

or

ga(‘set’, ‘&uid’, <? echo $USER_ID ?>); // Set the user ID using signed-in user_id.

etc? Doesn't look like the Google Analytics section praises php code (probably a good thing), so any ideas on this would be great.

 

 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.