Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Missing Features #26

Open
hecktarzuli opened this issue Jul 1, 2020 · 4 comments
Open

Missing Features #26

hecktarzuli opened this issue Jul 1, 2020 · 4 comments

Comments

@hecktarzuli
Copy link
Collaborator

hecktarzuli commented Jul 1, 2020

a) Robots - It's critical that spiders/bots get assigned the original version of the experiment so no unintended side effects occur. I propose a regex to match against user agent with a default that includes 'spider', 'bot' etc.. It can be disabled.

b) Emit Assignment Function - Since there are so many edge cases that would negate the initial window.ga push, a helper function should be exposed that would run the window.ga push again whenever you want.

c) Get Optimize Value Function - To help make this lib more useful outside of Vue Analytics, a helper function or $exp.prop should be exposed that gets the value of the Optimize token (uePZO471S-6qGUwbeUyw_Q.1 for example). This would make this lib much more helpful in GTM as well.

d) Ability to Disable Auto-Assign Reporting - There are cases when you don't want the assignment on first page hit. Specifically when you are looking at people hitting a certain page type you don't want to tell Optimize/GA about it as your results would be diluted with people that may have never seen the experiment. This should be optional.

If these are acceptable, I wouldn't mind making a pull req, but before I spent time on it I wanted to make sure the Nuxt gang was on board since this lib doesn't seem to be getting any updates besides dep bumps.

@pi0 @farzadso

cc: @atinux

@mmw-ben
Copy link

mmw-ben commented Jul 1, 2020

Yes I'd like to see these features added to

@pi0
Copy link
Member

pi0 commented Jul 6, 2020

Hi, @hecktarzuli Nice ideas! Would be nice having a proposal/PR per feature :)

@hecktarzuli
Copy link
Collaborator Author

@mmw-ben workin on it!

@farzadso
Copy link
Collaborator

farzadso commented Jul 8, 2020

@pi0 @hecktarzuli Sorry for the late reply guys. I'll be there along the way for every feature we want to add.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants