File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,7 @@ import events from './events'
6161
6262const App = () => (
6363 < SegmentProvider
64- settings= {{ writeKey: ' WRITE_KEY' }} // check your segment writeKey
65- cdn= " https://cdn.url" // In case you are using a proxy cdn
64+ settings= {{ cdn: ' https://cdn.url' , writeKey: ' WRITE_KEY' }} // check your gtm writeKey
6665 events= {events}
6766 onError= {e => captureMessage (` Error on Segment: ${ e .message } ` )}
6867 >
Original file line number Diff line number Diff line change @@ -51,12 +51,6 @@ export type SegmentProviderProps<T> = {
5151
5252export { Analytics }
5353
54- declare global {
55- interface Window {
56- analytics : Analytics & { _cdn : string }
57- }
58- }
59-
6054function SegmentProvider < T extends Events > ( {
6155 children,
6256 settings,
You can’t perform that action at this time.
0 commit comments