Welcome Guest, Not a member yet? Register   Sign In
Using Code Igniter's validation with Google Analytics Experiments?
#1

[eluser]ckelly06[/eluser]
Hey guys,

I'm implementing Google Analytics Experiments on a page where I have a form that uses CI's validation library. For those of you who don't know how Google Analytics Experiments works, it lets you put a piece of javascript on your page that randomly directs the user to one of several variations, so if you had the GA Experiments code on a view located at...

folder/myview

it might send the user to one of three different pages....

folder/myview
folder/alternateview
folder/alternateview2

The problem is that you have to tell CI where to send the user if the validation fails, but if I tell it to send the user back to "folder/myview", I have no idea which of those 3 views the user will see. So if they fail the form validation, they might get sent back to a totally different looking page.

Has anyone run into this issue? I'm also going to see if the Google Analytics forums have any answers.

Thank you!


Messages In This Thread
Using Code Igniter's validation with Google Analytics Experiments? - by El Forum - 10-07-2013, 05:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB