Closed (fixed)
Project:
Google Analytics
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2010 at 23:09 UTC
Updated:
8 Jan 2011 at 20:30 UTC
Just updated from 2.2 to 3.0 and noticed that user role segmentation was no longer happening. It looks like the profile module is required to be active in order for any segmentation to happen even if all you want is user roles:
if (module_exists('profile') && !empty($profile_fields)) {
A patch is attached.
| Comment | File | Size | Author |
|---|---|---|---|
| googleanalytics-profile.patch | 614 bytes | gilgabar |
Comments
Comment #1
gilgabar commentedComment #2
hass commentedThis may not work if you configure fields and than you disable the profile module. Then profile field settings exists, but profile module is disabled what may throw errors/warnings/notices.
Comment #3
sdsheridanwhy not just put
after that if statement?
Shawn
Comment #4
hass commentedCommitted #1 patch, after one more review.