File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
dotcom-rendering/src/server Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ type BaseProps = {
31
31
interface WebProps extends BaseProps {
32
32
renderingTarget : 'Web' ;
33
33
keywords : string ;
34
+ section : string ;
34
35
config : Config & { renderingTarget : 'Web' } ;
35
36
}
36
37
@@ -363,19 +364,15 @@ https://workforus.theguardian.com/careers/product-engineering/
363
364
renderingTarget === 'Web'
364
365
? `
365
366
<noscript>
366
- <!-- Comscore Identifier: comscorekw=${ props . keywords
367
- . replaceAll ( ' ' , '_' )
368
- . replaceAll ( '&' , 'and' ) } -->
367
+ <!-- Comscore Identifier: comscorekw=${ props . section } -->
369
368
<img src="https://sb.scorecardresearch.com/p?${ new URLSearchParams (
370
369
{
371
370
c1 : '2' ,
372
371
c2 : '6035250' ,
373
372
cv : '2.0' ,
374
373
cj : '1' ,
375
374
cs_ucfr : '0' ,
376
- comscorekw : props . keywords
377
- . replaceAll ( ' ' , '_' )
378
- . replaceAll ( '&' , 'and' ) ,
375
+ comscorekw : props . section ,
379
376
} ,
380
377
) . toString ( ) } " />
381
378
</noscript>
You can’t perform that action at this time.
0 commit comments