add referrer to pageview events

This commit is contained in:
Art Lowel
2023-05-02 17:09:55 +02:00
parent d2fa8cda6a
commit 4717d6f758
12 changed files with 244 additions and 13 deletions

View File

@@ -32,6 +32,8 @@ import { AuthRequestService } from '../../app/core/auth/auth-request.service';
import { BrowserAuthRequestService } from '../../app/core/auth/browser-auth-request.service';
import { BrowserInitService } from './browser-init.service';
import { VocabularyTreeviewService } from 'src/app/shared/form/vocabulary-treeview/vocabulary-treeview.service';
import { ReferrerService } from '../../app/core/services/referrer.service';
import { BrowserReferrerService } from '../../app/core/services/browser.referrer.service';
export const REQ_KEY = makeStateKey<string>('req');
@@ -108,6 +110,10 @@ export function getRequest(transferState: TransferState): any {
provide: AuthRequestService,
useClass: BrowserAuthRequestService,
},
{
provide: ReferrerService,
useClass: BrowserReferrerService,
},
{
provide: LocationToken,
useFactory: locationProvider,