mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
[CST-6753] Change google-analytics.service in order to use GoogleTagManager instead of GoogleAnalytics
This commit is contained in:
@@ -6,8 +6,7 @@ import { ServerModule, ServerTransferStateModule } from '@angular/platform-serve
|
||||
|
||||
import { TranslateLoader, TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
import { Angulartics2 } from 'angulartics2';
|
||||
import { Angulartics2GoogleAnalytics } from 'angulartics2';
|
||||
import { Angulartics2, Angulartics2GoogleTagManager } from 'angulartics2';
|
||||
|
||||
import { AppComponent } from '../../app/app.component';
|
||||
|
||||
@@ -60,7 +59,7 @@ export function createTranslateLoader(transferState: TransferState) {
|
||||
useClass: Angulartics2Mock
|
||||
},
|
||||
{
|
||||
provide: Angulartics2GoogleAnalytics,
|
||||
provide: Angulartics2GoogleTagManager,
|
||||
useClass: AngularticsProviderMock
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user