Closed namimody closed 9 years ago
for context of why this was added #4589
Check here when we believe this is fixed: https://www.google.com/analytics/web/?hl=en&pli=1#report/content-landing-pages/a493209w819276p798164/%3F_u.date00%3D20150901%26_u.date01%3D20150914/
@namimody This should be fixed as soon as we deploy to production.
@Bladt The new events are renamed Authorization - Register
and Authorization - Login
so that they don't conflict with the old broken events. As a heads up, Authorization - Login
fires after a user registration as well (since the newly registered user is then "logged in"). Let me know if that's an issue and I can look into another route!
Thanks @dfurnes! :D
On Thu, Oct 15, 2015 at 11:34 AM, David Furnes notifications@github.com wrote:
@namimody https://github.com/namimody This should be fixed as soon as we deploy to production.
@Bladt https://github.com/Bladt The new events are Authorization - Register and Authorization - Login (so that they don't conflict with the old broken events). As a heads up, Authorization - Login fires after a user registration as well (since the newly registered user is then "logged in"). Let me know if that's an issue and I can look into another route!
— Reply to this email directly or view it on GitHub https://github.com/DoSomething/phoenix/issues/5119#issuecomment-148425707 .
Namita (Nami) Mody
Junior Product Manager @dosomething http://twitter.com/dosomething @imanami13 https://twitter.com/imanami13 (212) 254-2390 x255
@Bladt I did some further refactoring in #5536 and now the Authorization - Login
custom event will only be triggered when the user logs in via the login form (and Authorization - Register
will still only be called when the user registers). So they no longer overlap!
We released a code change around 21 July that has been automatically firing a “login” event on every page load, resulting in incorrect bounce rate stats.
It is likely due to:
https://github.com/DoSomething/phoenix/commit/83d934114f5b9328637dae87e1d836a20b68a71b and https://github.com/DoSomething/phoenix/pull/4705
and more specifically: https://github.com/deadlybutter/dosomething/blob/3ffd7710fb56df776ed59a7853bda70ea1ff5e2b/lib/modules/dosomething/dosomething_user/dosomething_user.module#L235
The login form renders on every page, so this form_alter runs on every page. That’s why the event always fires.