Skip to content

Commit

Permalink
chore(release): publish
Browse files Browse the repository at this point in the history
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
 - @amplitude/[email protected]
  • Loading branch information
amplitude-sdk-bot committed Jan 31, 2023
1 parent 5b7a596 commit bb953b5
Show file tree
Hide file tree
Showing 31 changed files with 146 additions and 47 deletions.
9 changes: 9 additions & 0 deletions packages/analytics-browser-test/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.4.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-31)

**Note:** Version bump only for package @amplitude/analytics-browser-test

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.4.0-beta.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-26)

### Features
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics-browser-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/analytics-browser-test",
"version": "2.4.0-beta.0",
"version": "2.4.0",
"private": true,
"description": "",
"author": "Amplitude Inc",
Expand All @@ -16,7 +16,7 @@
"url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
},
"dependencies": {
"@amplitude/analytics-browser": "^1.7.0-beta.0"
"@amplitude/analytics-browser": "^1.7.0"
},
"devDependencies": {
"nock": "^13.2.4"
Expand Down
9 changes: 9 additions & 0 deletions packages/analytics-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.7.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-31)

**Note:** Version bump only for package @amplitude/analytics-browser

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.7.0-beta.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-26)

### Features
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Alternatively, the package is also distributed through a CDN. Copy and paste the
<!-- README_SNIPPET_BLOCK -->
```html
<script type="text/javascript">
!function(){"use strict";!function(e,t){var r=e.amplitude||{_q:[],_iq:[]};if(r.invoked)e.console&&console.error&&console.error("Amplitude snippet has been loaded.");else{var n=function(e,t){e.prototype[t]=function(){return this._q.push({name:t,args:Array.prototype.slice.call(arguments,0)}),this}},s=function(e,t,r){return function(n){e._q.push({name:t,args:Array.prototype.slice.call(r,0),resolve:n})}},o=function(e,t,r){e[t]=function(){if(r)return{promise:new Promise(s(e,t,Array.prototype.slice.call(arguments)))}}},i=function(e){for(var t=0;t<g.length;t++)o(e,g[t],!1);for(var r=0;r<m.length;r++)o(e,m[r],!0)};r.invoked=!0;var a=t.createElement("script");a.type="text/javascript",a.integrity="sha384-AlTQcW91NXlwO5iFFYzDnszLOyNPfNelER+hapKfkAHIzNJiXGDJ3H5lKCMAaQca",a.crossOrigin="anonymous",a.async=!0,a.src="https://cdn.amplitude.com/libs/analytics-browser-1.7.0-beta.0-min.js.gz",a.onload=function(){e.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK")};var c=t.getElementsByTagName("script")[0];c.parentNode.insertBefore(a,c);for(var u=function(){return this._q=[],this},l=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove","getUserProperties"],p=0;p<l.length;p++)n(u,l[p]);r.Identify=u;for(var d=function(){return this._q=[],this},f=["getEventProperties","setProductId","setQuantity","setPrice","setRevenue","setRevenueType","setEventProperties"],v=0;v<f.length;v++)n(d,f[v]);r.Revenue=d;var g=["getDeviceId","setDeviceId","getSessionId","setSessionId","getUserId","setUserId","setOptOut","setTransport","reset"],m=["init","add","remove","track","logEvent","identify","groupIdentify","setGroup","revenue","flush"];i(r),r.createInstance=function(){var e=r._iq.push({_q:[]})-1;return i(r._iq[e]),r._iq[e]},e.amplitude=r}}(window,document)}();
!function(){"use strict";!function(e,t){var r=e.amplitude||{_q:[],_iq:[]};if(r.invoked)e.console&&console.error&&console.error("Amplitude snippet has been loaded.");else{var n=function(e,t){e.prototype[t]=function(){return this._q.push({name:t,args:Array.prototype.slice.call(arguments,0)}),this}},s=function(e,t,r){return function(n){e._q.push({name:t,args:Array.prototype.slice.call(r,0),resolve:n})}},o=function(e,t,r){e[t]=function(){if(r)return{promise:new Promise(s(e,t,Array.prototype.slice.call(arguments)))}}},i=function(e){for(var t=0;t<g.length;t++)o(e,g[t],!1);for(var r=0;r<m.length;r++)o(e,m[r],!0)};r.invoked=!0;var a=t.createElement("script");a.type="text/javascript",a.integrity="sha384-hrYKej3Megfo8qR/SR02qtyTdPLHBB0rbCjo0MyszJYmF8ib78Y7DC+RZwaGMvDO",a.crossOrigin="anonymous",a.async=!0,a.src="https://cdn.amplitude.com/libs/analytics-browser-1.7.0-min.js.gz",a.onload=function(){e.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK")};var u=t.getElementsByTagName("script")[0];u.parentNode.insertBefore(a,u);for(var c=function(){return this._q=[],this},p=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove","getUserProperties"],l=0;l<p.length;l++)n(c,p[l]);r.Identify=c;for(var d=function(){return this._q=[],this},v=["getEventProperties","setProductId","setQuantity","setPrice","setRevenue","setRevenueType","setEventProperties"],f=0;f<v.length;f++)n(d,v[f]);r.Revenue=d;var g=["getDeviceId","setDeviceId","getSessionId","setSessionId","getUserId","setUserId","setOptOut","setTransport","reset"],m=["init","add","remove","track","logEvent","identify","groupIdentify","setGroup","revenue","flush"];i(r),r.createInstance=function(){var e=r._iq.push({_q:[]})-1;return i(r._iq[e]),r._iq[e]},e.amplitude=r}}(window,document)}();
amplitude.init("YOUR_API_KEY_HERE");
</script>
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics-browser/generated/amplitude-snippet.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
amplitude.invoked = true;
var as = document.createElement('script');
as.type = 'text/javascript';
as.integrity = 'sha384-AlTQcW91NXlwO5iFFYzDnszLOyNPfNelER+hapKfkAHIzNJiXGDJ3H5lKCMAaQca';
as.integrity = 'sha384-hrYKej3Megfo8qR/SR02qtyTdPLHBB0rbCjo0MyszJYmF8ib78Y7DC+RZwaGMvDO';
as.crossOrigin = 'anonymous';
as.async = true;
as.src = 'https://cdn.amplitude.com/libs/analytics-browser-1.7.0-beta.0-min.js.gz';
as.src = 'https://cdn.amplitude.com/libs/analytics-browser-1.7.0-min.js.gz';
as.onload = function () {
if (!window.amplitude.runQueuedFunctions) {
console.log('[Amplitude] Error: could not load SDK');
Expand Down
8 changes: 4 additions & 4 deletions packages/analytics-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/analytics-browser",
"version": "1.7.0-beta.0",
"version": "1.7.0",
"description": "Official Amplitude SDK for Web",
"keywords": [
"analytics",
Expand Down Expand Up @@ -43,9 +43,9 @@
"url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
},
"dependencies": {
"@amplitude/analytics-client-common": "^0.5.3-beta.0",
"@amplitude/analytics-core": "^0.11.3-beta.0",
"@amplitude/analytics-types": "^0.15.0-beta.0",
"@amplitude/analytics-client-common": "^0.5.3",
"@amplitude/analytics-core": "^0.11.3",
"@amplitude/analytics-types": "^0.15.0",
"@amplitude/ua-parser-js": "^0.7.31",
"tslib": "^2.4.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-browser/playground/amplitude.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/analytics-browser/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '1.7.0-beta.0';
export const VERSION = '1.7.0';
9 changes: 9 additions & 0 deletions packages/analytics-client-common/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.5.3](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-31)

**Note:** Version bump only for package @amplitude/analytics-client-common

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.5.3-beta.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-26)

**Note:** Version bump only for package @amplitude/analytics-client-common
Expand Down
6 changes: 3 additions & 3 deletions packages/analytics-client-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/analytics-client-common",
"version": "0.5.3-beta.0",
"version": "0.5.3",
"description": "",
"author": "Amplitude Inc",
"homepage": "https://github.com/amplitude/Amplitude-TypeScript",
Expand Down Expand Up @@ -35,8 +35,8 @@
},
"dependencies": {
"@amplitude/analytics-connector": "^1.4.5",
"@amplitude/analytics-core": "^0.11.3-beta.0",
"@amplitude/analytics-types": "^0.15.0-beta.0",
"@amplitude/analytics-core": "^0.11.3",
"@amplitude/analytics-types": "^0.15.0",
"tslib": "^2.4.1"
},
"files": [
Expand Down
9 changes: 9 additions & 0 deletions packages/analytics-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.11.3](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-31)

**Note:** Version bump only for package @amplitude/analytics-core

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.11.3-beta.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-26)

**Note:** Version bump only for package @amplitude/analytics-core
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/analytics-core",
"version": "0.11.3-beta.0",
"version": "0.11.3",
"description": "",
"author": "Amplitude Inc",
"homepage": "https://github.com/amplitude/Amplitude-TypeScript",
Expand Down Expand Up @@ -34,7 +34,7 @@
"url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
},
"dependencies": {
"@amplitude/analytics-types": "^0.15.0-beta.0",
"@amplitude/analytics-types": "^0.15.0",
"tslib": "^2.4.1"
},
"files": [
Expand Down
9 changes: 9 additions & 0 deletions packages/analytics-node-test/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.5](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-31)

**Note:** Version bump only for package @amplitude/analytics-node-test

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.5-beta.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-26)

**Note:** Version bump only for package @amplitude/analytics-node-test
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics-node-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/analytics-node-test",
"version": "0.1.5-beta.0",
"version": "0.1.5",
"private": true,
"description": "",
"author": "Amplitude Inc",
Expand All @@ -16,7 +16,7 @@
"url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
},
"dependencies": {
"@amplitude/analytics-node": "^1.0.3-beta.0"
"@amplitude/analytics-node": "^1.0.3"
},
"devDependencies": {
"nock": "^13.2.4"
Expand Down
9 changes: 9 additions & 0 deletions packages/analytics-node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.3](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-31)

**Note:** Version bump only for package @amplitude/analytics-node

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.3-beta.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-26)

**Note:** Version bump only for package @amplitude/analytics-node
Expand Down
6 changes: 3 additions & 3 deletions packages/analytics-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/analytics-node",
"version": "1.0.3-beta.0",
"version": "1.0.3",
"description": "Official Amplitude SDK for NodeJS",
"author": "Amplitude Inc",
"homepage": "https://github.com/amplitude/Amplitude-TypeScript",
Expand Down Expand Up @@ -36,8 +36,8 @@
"url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
},
"dependencies": {
"@amplitude/analytics-core": "^0.11.3-beta.0",
"@amplitude/analytics-types": "^0.15.0-beta.0",
"@amplitude/analytics-core": "^0.11.3",
"@amplitude/analytics-types": "^0.15.0",
"tslib": "^2.4.1"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-node/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '1.0.3-beta.0';
export const VERSION = '1.0.3';
9 changes: 9 additions & 0 deletions packages/analytics-react-native/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.8.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-31)

**Note:** Version bump only for package @amplitude/analytics-react-native

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.8.0-beta.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-26)

### Bug Fixes
Expand Down
8 changes: 4 additions & 4 deletions packages/analytics-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/analytics-react-native",
"version": "0.8.0-beta.0",
"version": "0.8.0",
"description": "Official React Native SDK",
"keywords": [
"analytics",
Expand Down Expand Up @@ -57,9 +57,9 @@
"url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
},
"dependencies": {
"@amplitude/analytics-client-common": "^0.5.3-beta.0",
"@amplitude/analytics-core": "^0.11.3-beta.0",
"@amplitude/analytics-types": "^0.15.0-beta.0",
"@amplitude/analytics-client-common": "^0.5.3",
"@amplitude/analytics-core": "^0.11.3",
"@amplitude/analytics-types": "^0.15.0",
"@amplitude/ua-parser-js": "^0.7.31",
"@react-native-async-storage/async-storage": "^1.17.11",
"tslib": "^2.4.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-react-native/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.8.0-beta.0';
export const VERSION = '0.8.0';
9 changes: 9 additions & 0 deletions packages/analytics-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.15.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-31)

**Note:** Version bump only for package @amplitude/analytics-types

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.15.0-beta.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-26)

### Features
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplitude/analytics-types",
"version": "0.15.0-beta.0",
"version": "0.15.0",
"description": "",
"author": "Amplitude Inc",
"homepage": "https://github.com/amplitude/Amplitude-TypeScript",
Expand Down
9 changes: 9 additions & 0 deletions packages/marketing-analytics-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.3.5](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-31)

**Note:** Version bump only for package @amplitude/marketing-analytics-browser

# Change Log

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.3.5-beta.0](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) (2023-01-26)

**Note:** Version bump only for package @amplitude/marketing-analytics-browser
Expand Down
2 changes: 1 addition & 1 deletion packages/marketing-analytics-browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Alternatively, the package is also distributed through a CDN. Copy and paste the
<!-- README_SNIPPET_BLOCK -->
```html
<script type="text/javascript">
!function(){"use strict";!function(e,t){var r=e.amplitude||{_q:[],_iq:[]};if(r.invoked)e.console&&console.error&&console.error("Amplitude snippet has been loaded.");else{var n=function(e,t){e.prototype[t]=function(){return this._q.push({name:t,args:Array.prototype.slice.call(arguments,0)}),this}},s=function(e,t,r){return function(n){e._q.push({name:t,args:Array.prototype.slice.call(r,0),resolve:n})}},o=function(e,t,r){e[t]=function(){if(r)return{promise:new Promise(s(e,t,Array.prototype.slice.call(arguments)))}}},i=function(e){for(var t=0;t<m.length;t++)o(e,m[t],!1);for(var r=0;r<g.length;r++)o(e,g[r],!0)};r.invoked=!0;var a=t.createElement("script");a.type="text/javascript",a.integrity="sha384-9tUO0BQt7B7nVyRHkVQjvAVcCb8ION9Ovduh8vzcqqcIUYC0CelYsm8AUoWBLS1q",a.crossOrigin="anonymous",a.async=!0,a.src="https://cdn.amplitude.com/libs/marketing-analytics-browser-0.3.5-beta.0-min.js.gz",a.onload=function(){e.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK")};var c=t.getElementsByTagName("script")[0];c.parentNode.insertBefore(a,c);for(var u=function(){return this._q=[],this},l=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove","getUserProperties"],p=0;p<l.length;p++)n(u,l[p]);r.Identify=u;for(var d=function(){return this._q=[],this},v=["getEventProperties","setProductId","setQuantity","setPrice","setRevenue","setRevenueType","setEventProperties"],f=0;f<v.length;f++)n(d,v[f]);r.Revenue=d;var m=["getDeviceId","setDeviceId","getSessionId","setSessionId","getUserId","setUserId","setOptOut","setTransport","reset"],g=["init","add","remove","track","logEvent","identify","groupIdentify","setGroup","revenue","flush"];i(r),r.createInstance=function(){var e=r._iq.push({_q:[]})-1;return i(r._iq[e]),r._iq[e]},e.amplitude=r}}(window,document)}();
!function(){"use strict";!function(e,t){var r=e.amplitude||{_q:[],_iq:[]};if(r.invoked)e.console&&console.error&&console.error("Amplitude snippet has been loaded.");else{var n=function(e,t){e.prototype[t]=function(){return this._q.push({name:t,args:Array.prototype.slice.call(arguments,0)}),this}},s=function(e,t,r){return function(n){e._q.push({name:t,args:Array.prototype.slice.call(r,0),resolve:n})}},o=function(e,t,r){e[t]=function(){if(r)return{promise:new Promise(s(e,t,Array.prototype.slice.call(arguments)))}}},i=function(e){for(var t=0;t<g.length;t++)o(e,g[t],!1);for(var r=0;r<m.length;r++)o(e,m[r],!0)};r.invoked=!0;var a=t.createElement("script");a.type="text/javascript",a.integrity="sha384-xjHPgoBodsW8zPC5eZKdXprIrYoq/m4VEiyJ4TOQYoeyTYS/rV/IybB94xzixKur",a.crossOrigin="anonymous",a.async=!0,a.src="https://cdn.amplitude.com/libs/marketing-analytics-browser-0.3.5-min.js.gz",a.onload=function(){e.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK")};var u=t.getElementsByTagName("script")[0];u.parentNode.insertBefore(a,u);for(var c=function(){return this._q=[],this},p=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove","getUserProperties"],l=0;l<p.length;l++)n(c,p[l]);r.Identify=c;for(var d=function(){return this._q=[],this},v=["getEventProperties","setProductId","setQuantity","setPrice","setRevenue","setRevenueType","setEventProperties"],f=0;f<v.length;f++)n(d,v[f]);r.Revenue=d;var g=["getDeviceId","setDeviceId","getSessionId","setSessionId","getUserId","setUserId","setOptOut","setTransport","reset"],m=["init","add","remove","track","logEvent","identify","groupIdentify","setGroup","revenue","flush"];i(r),r.createInstance=function(){var e=r._iq.push({_q:[]})-1;return i(r._iq[e]),r._iq[e]},e.amplitude=r}}(window,document)}();
amplitude.init("YOUR_API_KEY_HERE");
</script>
Expand Down
Loading

0 comments on commit bb953b5

Please sign in to comment.