Skip to content

Commit

Permalink
Merge pull request #399 from guardian/sw-jstracking
Browse files Browse the repository at this point in the history
Interscroller: Adding JS  tracking field
  • Loading branch information
Onelittlewolfe authored Aug 22, 2024
2 parents 69518bc + d17db84 commit 44d0edc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/templates/ssr/interscroller/index.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<script lang="ts">
import { type GAMVariable } from '$lib/gam';
export let thirdPartyJSTracking: GAMVariable;
</script>

<div class="creative--interscroller">
Expand All @@ -20,6 +23,7 @@
class="creative__pixel creative__pixel--displayNone"
aria-hidden="true"
/>
{@html thirdPartyJSTracking}
</div>

<style lang="scss">
Expand Down

0 comments on commit 44d0edc

Please sign in to comment.