Skip to content

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
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.

3 participants