Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hcodes committed Jan 29, 2015
1 parent ab781ef commit d90153f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,16 @@ counter.hit('http://mysite.org', 'Main page', 'http://google.com/...', {level1:
* reachGoal: function (target, userParams) {}
*/
counter.hit();
counter.reachGoal('goalName');
// или
// С параметрами визитов
counter.hit();
counter.reachGoal('goalName', {level1: {level2: 1}});
```
Вызов метода `hit()` перед `reachGoal()` необходим для корректной привязки цели к визиту.

## Внешняя ссылка
```JavaScript
Expand Down

0 comments on commit d90153f

Please sign in to comment.