@@ -12,7 +12,7 @@ This Readme will guide you through using Amplitude's Javascript SDK to track use
12
12
``` html
13
13
<script type =" text/javascript" >
14
14
(function (e ,t ){var n= e .amplitude || {_q: [],_iq: {}};var r= t .createElement (" script" );r .type = " text/javascript" ;
15
- r .async = true ;r .src = " https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.1 -min.gz.js" ;
15
+ r .async = true ;r .src = " https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.2 -min.gz.js" ;
16
16
r .onload = function (){e .amplitude .runQueuedFunctions ()};var i= t .getElementsByTagName (" script" )[0 ];
17
17
i .parentNode .insertBefore (r,i);function s (e ,t ){e .prototype [t]= function (){this ._q .push ([t].concat (Array .prototype .slice .call (arguments ,0 )));
18
18
return this }}var o = function (){this ._q = [];return this };var a= [" add" ," append" ," clearAll" ," prepend" ," set" ," setOnce" ," unset" ];
@@ -451,7 +451,7 @@ If you are using [RequireJS](http://requirejs.org/) to load your Javascript file
451
451
``` html
452
452
<script src =' scripts/require.js' ></script > <!-- loading RequireJS -->
453
453
<script >
454
- require ([' https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.1 -min.gz.js' ], function (amplitude ) {
454
+ require ([' https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.2 -min.gz.js' ], function (amplitude ) {
455
455
amplitude .init (' YOUR_API_KEY_HERE' ); // replace YOUR_API_KEY_HERE with your Amplitude api key.
456
456
window .amplitude = amplitude; // You can bind the amplitude object to window if you want to use it directly.
457
457
amplitude .getInstance ().logEvent (' Clicked Link A' );
@@ -465,7 +465,7 @@ You can also define the path in your RequireJS configuration like so:
465
465
<script >
466
466
requirejs .config ({
467
467
paths: {
468
- ' amplitude' : ' https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.1 -min.gz'
468
+ ' amplitude' : ' https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.3.2 -min.gz'
469
469
}
470
470
});
471
471
0 commit comments