Skip to content

Commit

Permalink
VOTE-2984 Revert pdf event name change (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamiraMSadat authored Oct 10, 2024
1 parent 104e179 commit 15b27c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Views/FormPages/Delivery.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function Delivery(props) {
<Button data-test="pdfBtnNewTab"
onClick={() => {
GenerateFilledPDF('newTab', props.fieldData, props.stateData.nvrf_pages_list, props.pdfDoc, props.form);
dataLayer.push({'NVRF_PDF_button': analyticsLabels.pdfTabButton, 'event': "NVRF_PDF_BUTTON_CLICK"});
dataLayer.push({'NVRF_button_click': analyticsLabels.pdfTabButton, 'event': "NVRF_PDF_BUTTON_CLICK"});
}}
type="submit">
<span>{stringContent.newTab}</span>
Expand All @@ -68,7 +68,7 @@ function Delivery(props) {
<Button data-test="pdfBtnDownload"
onClick={() => {
GenerateFilledPDF('download', props.fieldData, props.stateData.nvrf_pages_list, props.pdfDoc, props.form);
dataLayer.push({'NVRF_PDF_button': analyticsLabels.pdfDownloadButton, 'event': "NVRF_PDF_BUTTON_CLICK"});
dataLayer.push({'NVRF_button_click': analyticsLabels.pdfDownloadButton, 'event': "NVRF_PDF_BUTTON_CLICK"});
}} type="submit">
<span>{stringContent.download}</span>
</Button>
Expand Down

0 comments on commit 15b27c4

Please sign in to comment.