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
11
11
``` ts
12
12
import { AnalyticsBrowser } from ' @customerio/cdp-analytics-browser'
13
13
14
- const analytics = AnalyticsBrowser .load ({ writeKey: ' <YOUR_WRITE_KEY>' })
14
+ const cioanalytics = AnalyticsBrowser .load ({ writeKey: ' <YOUR_WRITE_KEY>' })
15
15
16
- analytics .identify (' hello world' )
16
+ cioanalytics .identify (' hello world' )
17
17
18
18
document .body ?.addEventListener (' click' , () => {
19
- analytics .track (' document body clicked!' )
19
+ cioanalytics .track (' document body clicked!' )
20
20
})
21
21
```
22
22
@@ -27,10 +27,10 @@ If you're in our [EU data center](https://customer.io/docs/accounts-and-workspac
27
27
``` ts
28
28
import { AnalyticsBrowser } from ' @customerio/cdp-analytics-browser'
29
29
30
- const analytics = AnalyticsBrowser .load ({
30
+ const cioanalytics = AnalyticsBrowser .load ({
31
31
cdnURL: ' https://cdp-eu.customer.io' ,
32
32
writeKey: ' <YOUR_WRITE_KEY>'
33
33
})
34
34
35
- analytics .identify (' hello world' )
35
+ cioanalytics .identify (' hello world' )
36
36
```
You can’t perform that action at this time.
0 commit comments