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