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 45852ec commit b69c5ddCopy full SHA for b69c5dd
1 file changed
src/middleware/cross-domain-tracking-middleware.ts
@@ -6,7 +6,7 @@ export function crossDomainTrackingMiddleware(
6
res: Response,
7
next: NextFunction
8
): void {
9
- if (req.query._ga) {
+ if (req.query._ga && req.session) {
10
req.session.client.crossDomainGaTrackingId = xss(req.query._ga as string);
11
}
12
0 commit comments