Skip to content

Commit

Permalink
docs(readme): Fix example with directive
Browse files Browse the repository at this point in the history
  • Loading branch information
kolkov committed Apr 20, 2022
1 parent 26c146c commit 4dd5b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ this.ym.reachGoal.next({target: 'ADD_TO_CART', options});
Many analytics events are tracked based on user interaction, such as button clicks. Just tell it which DOM event to track.

```html
<button ymGoal trackOn="click">Track Me</button>
<button ymGoal trackOn="click" target="TRACKED">Track Me</button>
```

This will register a general Target in Yandex Metrika based on the target name.
Expand Down

0 comments on commit 4dd5b3f

Please sign in to comment.