FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #19961 from guardian/kc-section-target · devhttps/frontend@a366611 · GitHub

Commit a366611

Browse files
Merge pull request guardian#19961 from guardian/kc-section-target
Add section to custom ad targeting
2 parents 0d7b793 + 3096564 commit a366611

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎static/src/javascripts/projects/common/modules/commercial/build-page-targeting.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ const buildPageTargeting = once(
186186
? (Math.ceil(page.videoDuration / 30.0) * 30).toString()
187187
: undefined,
188188
cc: geolocationGetSync(),
189+
s: page.section, // for reference in a macro, so cannot be extracted from ad unit
189190
},
190191
page.sharedAdTargeting,
191192
paTargeting,

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL