-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1049da
commit f60cfbf
Showing
1 changed file
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ <h1>Page Loaded</h1> | |
analytics.page("Wishlist"+ ++counter) | ||
}, 2000); */ | ||
//analytics.page(); | ||
analytics.identify( | ||
/* analytics.identify( | ||
{ | ||
name: "Tintin", | ||
city: "Brussels", | ||
|
@@ -69,9 +69,9 @@ <h1>Page Loaded</h1> | |
title: "How to Create a Tracking Plan", | ||
course: "Intro to Analytics", | ||
revenue: 10 | ||
}); | ||
}); */ | ||
</script> | ||
<script src="../dist/browser.js"></script> | ||
<script src="browser.js"></script> | ||
|
||
<script type="text/javascript"> | ||
//var testObj = new analytics.test(); | ||
|
@@ -105,6 +105,32 @@ <h1>Page Loaded</h1> | |
) | ||
.build() | ||
); */ | ||
analytics.identify('12345', {email: "[email protected]"}, { | ||
context: { | ||
ip: '0.0.0.0', | ||
}, | ||
page: { | ||
path: '', | ||
referrer: '', | ||
search: '', | ||
title: '', | ||
url: '', | ||
}, | ||
anonymousId: '00000000000000000000000000', | ||
}); | ||
analytics.page('ApplicationLoaded', { | ||
path: '', | ||
referrer: '', | ||
search: '', | ||
title: '', | ||
url: '', | ||
}, | ||
{ | ||
context: { | ||
ip: '0.0.0.0' | ||
}, | ||
anonymousId: '00000000000000000000000000' | ||
}); | ||
</script> | ||
</body> | ||
</html> |