View difference between Paste ID: X4DbKceq and q9eHjEvN
SHOW: | | - or go back to the newest paste.
1-
//Push this dataLayer event when the user clicks to download a file.
1+
//Push this dataLayer event when the user clicks to change between the tabs in the strategic field section.
2
3
<script>
4
window.dataLayer = window.dataLayer || [];
5
window.dataLayer.push({
6-
 'event': 'file_download',
6+
 'event': 'strategic_field_tab_change',
7-
 'page_section': 'featured product',  //Section of the page where the event happened.
7+
 'page_section': 'page_section',  //Section of the page where the event happened.
8-
 'title': 'title',  //Title of the content piece.
8+
 'tab_name': '<tab_name>',  //Name of the tab that was selected or from which the link was clicked.
9-
 'format': 'pdf',
9+
10-
 'content_type': 'product sheet',  //Type of content.
10+
 'position': '2',
11-
 'file_url': '<file_url>',
11+
12-
 'content_group': 'resource',  //Content group that the content piece belongs to.
12+
13
 });
14-
 'solution': '<solution>',
14+