File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ npm install @customerio/cdp-analytics-browser
1111``` ts
1212import { AnalyticsBrowser } from ' @customerio/cdp-analytics-browser'
1313
14- const analytics = AnalyticsBrowser .load ({ writeKey: ' <YOUR_WRITE_KEY>' })
14+ const cioanalytics = AnalyticsBrowser .load ({ writeKey: ' <YOUR_WRITE_KEY>' })
1515
16- analytics .identify (' hello world' )
16+ cioanalytics .identify (' hello world' )
1717
1818document .body ?.addEventListener (' click' , () => {
19- analytics .track (' document body clicked!' )
19+ cioanalytics .track (' document body clicked!' )
2020})
2121```
2222
@@ -27,10 +27,10 @@ If you're in our [EU data center](https://customer.io/docs/accounts-and-workspac
2727``` ts
2828import { AnalyticsBrowser } from ' @customerio/cdp-analytics-browser'
2929
30- const analytics = AnalyticsBrowser .load ({
30+ const cioanalytics = AnalyticsBrowser .load ({
3131 cdnURL: ' https://cdp-eu.customer.io' ,
3232 writeKey: ' <YOUR_WRITE_KEY>'
3333})
3434
35- analytics .identify (' hello world' )
35+ cioanalytics .identify (' hello world' )
3636```
You can’t perform that action at this time.
0 commit comments