View difference between Paste ID: DEtEVwhd and jbGFKuu7
SHOW: | | - or go back to the newest paste.
1-
//Push this dataLayer event when the user clicks on a service link on any page. A service link can appear in a grid, carousel, accordion, etc.
1+
//Push this dataLayer event when the user clicks on a strategic field of play link on any page.
2
3
<script>
4
window.dataLayer = window.dataLayer || [];
5
window.dataLayer.push({
6-
 'event': 'service_click',
6+
 'event': 'strategic_field_click',
7-
 'page_section': 'our services',  //Section of the page where the event happened.
7+
 'page_section': 'other product divisions',  //Section of the page where the event happened.
8-
 'position': '3',  //The element's position in the list, carousel, or card section.
8+
 'position': '2',  //The element's position in the list, carousel, or card section.
9-
 'service_name': '<service_name>',
9+
 'strategic_field': ' innovating in oil & gas',  //Strategic field of play name.
10-
 'domain': '<domain>',
10+
 'tab_name': '<tab_name>',  //Name of the tab that was selected or from which the link was clicked.
11-
 'strategic_field': '<strategic_field>',
11+
12-
 'solution': '<solution>',
12+
 'ui_element_category': 'card'  //Category of the UI element.
13-
 'topic': '<topic>',
13+
14-
 'category': '<category>',
14+