Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a JS event listener to the interactive radio button example #251

Closed
aminalhazwani opened this issue Jan 23, 2018 · 2 comments
Closed

Comments

@aminalhazwani
Copy link
Contributor

The current radio buttons page on staging features an interactive example accessible via the image caption.

We would like to append a GA JS event in order to understand if this is something we should purse more. The things that we would like to measure are two: first if users actually use the caption and switch from the static image to the interactive example and second, once they switch, if they actually interact with said example.

Side note: we might change the code of the interactive example, would that be possible also after the JS events are set up?

@ericawright
Copy link
Contributor

In order to set up the second case - interacting with the example - I need to remove the iframe. So yes, the code can change, and will have to change

@aminalhazwani
Copy link
Contributor Author

@ericawright ok, thanks for the feedback! So for now let's keep the iframe and track only the interaction with the image caption ☺️

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

No branches or pull requests

3 participants