mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
expanded upon event API
This commit is contained in:
@@ -24,9 +24,9 @@ describe('UniversalAnalytics', () => {
|
||||
ga('send', 'pageview');
|
||||
ga('send', 'pageview', {some: 'details'});
|
||||
ga('send', 'event', 'Videos', 'play', 'Fall Campaign');
|
||||
ga('send', {hitType: 'event', eventCategory: 'Videos', eventAction: 'play', eventLabel: 'Fall Campaign'});
|
||||
ga('send', 'event', 'Videos', 'play', 'Fall Campaign', {nonInteraction: true});
|
||||
ga('send', 'pageview', '/page');
|
||||
ga('send', {hitType: 'event', eventCategory: 'Videos', eventAction: 'play', eventLabel: 'Fall Campaign'});
|
||||
ga('send', 'event', 'Videos', 'play', 'Fall Campaign', {nonInteraction: true});
|
||||
ga('send', 'pageview', '/page');
|
||||
ga('send', 'social', {'socialNetwork': 'facebook', 'socialAction': 'like', 'socialTarget': 'http://foo.com'});
|
||||
ga('send', 'social', {'socialNetwork': 'google+', 'socialAction': 'plus', 'socialTarget': 'http://foo.com'});
|
||||
ga('send', 'timing', {'timingCategory': 'category', 'timingVar': 'lookup', 'timingValue': 123});
|
||||
|
||||
Reference in New Issue
Block a user