We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 193b2ec commit 800de09Copy full SHA for 800de09
packages/angular/src/tracing.ts
@@ -27,7 +27,7 @@ export function routingInstrumentation(
27
stashedStartTransaction = customStartTransaction;
28
stashedStartTransactionOnLocationChange = startTransactionOnLocationChange;
29
30
- if (startTransactionOnPageLoad) {
+ if (startTransactionOnPageLoad && global && global.location) {
31
customStartTransaction({
32
name: global.location.pathname,
33
op: 'pageload',
0 commit comments