Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
send label correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
B77Mills committed Dec 2, 2024
1 parent e5b9979 commit bf51e83
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,12 @@ export default {
emitP1Event(action) {
if (!window.p1events) return;
const { views, remaining, overlayDisplayed } = this;
const lab = !overlayDisplayed ? null : 'Gated';
const label = !overlayDisplayed ? null : 'Gated';
console.log('label: ', label)
window.p1events('track', {
category: 'Content Meter',
action,
lab,
label,
props: { n: views },
});
this.EventBus.$emit(`identity-x-content-meter-${action}`, { payload: { views, remaining, overlayDisplayed }});
Expand Down

0 comments on commit bf51e83

Please sign in to comment.