-
Notifications
You must be signed in to change notification settings - Fork 58
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
Angulartics #148
base: master
Are you sure you want to change the base?
Angulartics #148
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ <h2 class="header" ng-class="{ 'empty': rooms.isEmpty() }"> | |
/> | ||
</span> | ||
<form ng-submit="createRoom()" class="top-right-form"> | ||
<button type="submit" id="submit"> | ||
<button type="submit" id="submit" analytics-on="click" analytics-event="Create Room"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tracking "clicks" doesn't really make sens here: since you can create the room by pressing Enter in the text field. We need domain action oriented events. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need both, interface interactions and domain events. For example perhaps nobody use sur submit button and use enter key finally, if it's the case we can remove this button. But we need analytics to know |
||
<span><i class="icon-plus"></i></span> | ||
</button> | ||
<input type="text" ng-model="roomName" class="form-control clearfix" name="name" placeholder="Create a new room..." maxlength="{{ roomMaxLength }}" /> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Tom32i i don't kown the best way to desactivate, just remove service declaration in app.js ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Angulartics send the page title to GA, what is the bay to manage page title ?