Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- dataLayer.push({
- 'event': 'view_item_list',
- 'value': 878.45, // sumarna vrednost SVIH proizvoda koji su prikazani na stranici kategorija
- 'items': [
- {
- 'id': 1234, // id prvog proizvoda
- 'google_business_vertical': 'retail' //ovo je konstanta i ostaje uvek ovako
- },
- {
- 'id': 45678, // id drugog proizvoda
- 'google_business_vertical': 'retail'
- },
- {
- 'id': 34343, // id treceg proizvoda
- 'google_business_vertical': 'retail'
- }
- ]
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement