SHOW:
|
|
- or go back to the newest paste.
1 | - | // Fire this event when a user successfully connects a marketplace. |
1 | + | // Fire this event when a user successfully creates an item. |
2 | ||
3 | <script> | |
4 | window.dataLayer = window.dataLayer || []; | |
5 | window.dataLayer.push({ | |
6 | - | 'event': 'marketplace_connected', |
6 | + | 'event': 'item_created', |
7 | - | 'marketplace_name': 'ebay', //Variable value, e.g. "ebay" or "etsy", etc. |
7 | + | 'total_items': '5' //The total count of items that a user has in the platform, including this one created now. |
8 | - | 'marketplace_number': '1' //The number of marketplaces that a user has connected up to the current marketplace (e.g. "1" for the first marketplace they connect, "2" for the second marketplace they connect, etc.) |
8 | + | |
9 | </script> |