SHOW:
|
|
- or go back to the newest paste.
| 1 | - | // Fire this event when a user successfully creates an item. |
| 1 | + | //Fire this event when a user successfully imports item(s). |
| 2 | ||
| 3 | <script> | |
| 4 | window.dataLayer = window.dataLayer || []; | |
| 5 | window.dataLayer.push({
| |
| 6 | - | 'event': 'item_created', |
| 6 | + | 'event': 'items_imported', |
| 7 | - | 'total_items': '5' //The total count of items that a user has in the platform, including this one created now. |
| 7 | + | 'import_count': '5', //The count of items imported in this occasion. |
| 8 | 'total_items': '12' //The total count of items that a user has in the platform, including the ones imported now. | |
| 9 | }); | |
| 10 | </script> |