Skip to content

Commit

Permalink
turn on impression tracking for accordion block (#1271)
Browse files Browse the repository at this point in the history
* initial

* move decorateBlockAnalytics call

---------

Co-authored-by: vivgoodrich <vivian.goodrich@gmail.com>
  • Loading branch information
vgoodric and vivgoodrich authored Sep 14, 2023
1 parent fa722be commit c59be1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/blocks/accordion/accordion.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { createTag } from '../../utils/utils.js';
import { decorateButtons } from '../../utils/decorate.js';
import { decorateBlockAnalytics } from '../../martech/attributes.js';

const faq = { '@context': 'https://schema.org', '@type': 'FAQPage', mainEntity: [] };
const mediaCollection = {};
Expand Down Expand Up @@ -149,4 +150,5 @@ export default function init(el) {
el.append(accordionMedia);
defalutOpen(el);
}
decorateBlockAnalytics(el);
}

0 comments on commit c59be1f

Please sign in to comment.