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

PROD-276: Send custom events for various events across stackbot to go… #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aashil
Copy link
Contributor

@aashil aashil commented Sep 13, 2016

…ogle analytics.

Events on which we send data to google analytics:

  • On clicking the submit button.
  • On pressing enter to make a search.
  • On clicking Add more button to show more data in the reports.
  • On logging out.
  • On logging in.

Aashil added 2 commits September 13, 2016 14:13
…ogle analytics.

Events on which we send data to google analytics:
* On clicking the submit button.
* On pressing enter to make a search.
* On clicking Add more button to show more data in the reports.
* On logging out.
* On logging in.
@aashil aashil force-pushed the dev-276-google-analytics branch from 7db3f04 to d372ff3 Compare September 13, 2016 19:36
@@ -49,6 +49,7 @@ export class SearchComponent {
doSearch(searchField: any) {
this.queryService.doQuery(searchField, 'site-search').subscribe(
data => {
ga('send', 'event', 'Search', 'source', 'site-search');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move these to before the the doQuery()

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

Successfully merging this pull request may close these issues.

2 participants