SHOW:
|
|
- or go back to the newest paste.
| 1 | - | //The led_calculator_input event should be sent to dataLayer when the user clicks calculate button within the led calculator |
| 1 | + | //The hotspot_click event should be sent to dataLayer when the user clicks on the hotspot button that opens the pop-up. |
| 2 | ||
| 3 | <script> | |
| 4 | window.dataLayer = window.dataLayer || []; | |
| 5 | window.dataLayer.push({
| |
| 6 | - | 'event': 'led_calculator_input', |
| 6 | + | 'event': 'hotspot_click', |
| 7 | - | 'cd_event_label': '23 TEA LIGHTS, 12.00 EURO / 1000 TEA LIGHTS' //cd_event_label parameter should contain both "How many tea lights do you use monthly" and "how much do you pay per 1000 tea lights) values separated by a comma |
| 7 | + | 'cd_event_label': 'Candle Holder Blink 7,5 X Ø 5,5 cm' //name of the product |
| 8 | }); | |
| 9 | </script> |