Welcome Guest, Not a member yet? Register   Sign In
Unique URLs for the purposes of analytics goal tracking.
#1

[eluser]porangi[/eluser]
Hi,

I'm writing a login package for a system and am thinking.......

For logins and registrations is there anything wrong with using redirects that create urls like

http://localhost/index.php?login_success

or

http://localhost/index.php/users/login?login_fail

so that they can be watched by google analytics goal tracker?

Cheers for the positive and/or negative confirmation.

Chris
#2

[eluser]Frank Wong[/eluser]
If you pass in extra parameters to a controller method than what it needs, they should be ignored. So you should be able to do what you want to do.
Code:
localhost/user/login/ #Empty login form
localhost/user/login/failed #Failed response
localhost/user/login/succeeded #Success response




Theme © iAndrew 2016 - Forum software by © MyBB