angular-ab-tests
angular-ab-tests copied to clipboard
Setting Cookie Path
Is it possible to set the path of a cookie without replacing the cookieHandler? I could make a pullrequest if you want, extending the config with an optional path and adapting the set function.
I like the bundle, really good documentation!
Hi @SrgSteak
yes, I think that's a functionality that is indeed missing. Could you open a pull request, and make it configurable from the initialisation of a test?
It should be added as an additional property of AbTestOptions
, like domain?:
, and then passed it onto generateVersion
in the service object.
I'll take care of updating the documentation.
Thanks! Please let me know if you need any help