{@load resource="my/session"} {@load resource="bookings/{lastBookingId}"} {script} ga('ecommerce:addTransaction', { 'id': '{bookingId}', 'revenue': '{total.amount}' }); {#items} ga('ecommerce:addItem', { 'id': '{bookingId}', 'name': '{name}', 'category': '{type}', 'price': '{singlePrice.amount}', 'quantity': '{quantity}' }); {/items} ga('ecommerce:send'); ga('send', { 'hitType': 'event', 'eventCategory': 'Buchung', 'eventAction': 'Buchung gesendet', 'eventLabel': '{bookingId}', 'eventValue': '{total.amount}' }); {/script} {/load} {/load}
Template Buchung mit Google Analytics tracken Drucken
Geändert am: Sa, 11 Nov, 2017 um 3:33 NACHMITTAGS
War diese Antwort hilfreich? Ja Nein
Feedback sendenLeider konnten wir nicht helfen. Helfen Sie uns mit Ihrem Feedback, diesen Artikel zu verbessern.