Skip to content

Commit 8579af6

Browse files
committed
remove front page from atianalytics params
1 parent 66e0f2a commit 8579af6

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

src/app/components/ATIAnalytics/params/frontPage/buildParams.test.ts

-14
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,6 @@ const validURLParams = {
4343
statsDestination: requestContext.statsDestination,
4444
};
4545

46-
const frontPage = {
47-
metadata: {
48-
analyticsLabels: {
49-
counterName: 'service.page',
50-
},
51-
locators: {
52-
curie:
53-
'http://www.bbc.co.uk/asset/00000000-0000-0000-0000-000000000000/desktop/domestic',
54-
},
55-
language: 'language',
56-
title: 'title',
57-
},
58-
};
59-
6046
const fixPage = {
6147
metadata: {
6248
analyticsLabels: {

src/app/components/ATIAnalytics/params/index.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ import {
2525
buildPageATIParams,
2626
buildPageReverbParams,
2727
} from './buildParams';
28-
import {
29-
buildIndexPageATIParams,
30-
buildIndexPageATIUrl,
31-
} from './frontPage/buildParams';
3228
import { RequestContextProps } from '../../../contexts/RequestContext';
3329
import { ServiceConfig } from '../../../models/types/serviceConfig';
3430
import {
@@ -185,4 +181,4 @@ export const buildATIEventTrackingParams = ({
185181
);
186182

187183
return buildParams(data as PageData, requestContext, serviceContext);
188-
};
184+
};

0 commit comments

Comments
 (0)