View difference between Paste ID: J7kyLGmU and f8aG8Xre
SHOW: | | - or go back to the newest paste.
1-
//Push this dataLayer event when the user selects a region from the dropdown list on the locations page.
1+
//Push this dataLayer event when the user selects a country from the dropdown list on the locations page.
2
3
<script>
4
window.dataLayer = window.dataLayer || [];
5
window.dataLayer.push({
6-
 'event': 'locations_region_select',
6+
 'event': 'locations_country_select',
7-
 'region': '<region>'  //Selected region from the dropdown list.
7+
 'country': '<country>'  //Selected country from the dropdown list.
8
 });
9
</script>