Google Analytics

User ID - Web Tracking - Google Analytics

User ID - Web Tracking

by Matt75 » Thu Feb 19, 2015 3:29 pm

Hi,

Someone know how to add the User ID - Web Tracking feature to this extension ?
:arrow: https://developers.google.com/analytics/devguides/collection/analyticsjs/user-id

I see in overall_header_stylesheets_after.html an event

Code: Select all

<!-- EVENT phpbb_googleanalytics_alter_ga_requirements -->


But I don't know how to use that to add the code.

Moreover, someone know what type of data is requested, just the phpBB user_id (integer) or a string ?

Thanks
User avatar
Matt75
Registered User
Posts: 5
Joined: Thu Feb 19, 2015 3:22 pm
Contact:

Re: User ID - Web Tracking

by VSE » Fri Feb 20, 2015 1:45 am

You can't use that because the current user_id is not available as a template variable. We may add it in the future though.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.
User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4882
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: User ID - Web Tracking

by tonydoe » Sun Oct 22, 2017 5:11 am

VSE wrote:You can't use that because the current user_id is not available as a template variable. We may add it in the future though.
I'd like to follow-up on this. Has anything changed in the meantime?
tonydoe
Registered User
Posts: 20
Joined: Fri Jun 02, 2017 6:47 pm
Location: Zagreb
Contact:

Re: User ID - Web Tracking

by olalavui » Mon Feb 11, 2019 11:53 am

VSE wrote:You can't use that because the current user_id is not available as a template variable. We may add it in the future though.
i hope too ;)
Come back phpBB with phpBBVietnam
User avatar
olalavui
Registered User
Posts: 100
Joined: Sat Dec 13, 2008 3:02 am
Location: Vietnam
Name: Bui Thanh Tung
Contact:

Re: User ID - Web Tracking

by VSE » Mon Feb 11, 2019 5:04 pm

tonydoe wrote:
VSE wrote:You can't use that because the current user_id is not available as a template variable. We may add it in the future though.
I'd like to follow-up on this. Has anything changed in the meantime?
olalavui wrote:
VSE wrote:You can't use that because the current user_id is not available as a template variable. We may add it in the future though.
i hope too ;)
This extension already has User ID tracking. It was added 2 years ago.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.
User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4882
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact: