Google eCommerce Tracking

MemberMouse-Benutzer entwickeln verschiedene Methoden für die Verfolgung, aber die zuverlässigste Option ist die Verwendung von MonsterInsights. It’s fully integrated with MemberMouse, has a great support team, and will adapt to any changes that the analytic providers often make. It’s the best choice for those who do not have the developer support to maintain a custom-built tracking system.

Wenn Sie es vorziehen, Ihr eigenes Tracking-System zu erstellen, können Sie die Bestätigung Core MemberMouse Seitedie auch als Dankeseite bezeichnet wird, um die Daten für die Analyse bereitzustellen. Bestelldaten SmartTags kann in jedem von Ihnen verwendeten Code platziert werden, um die notwendigen Informationen für Push zu liefern. Der nachstehende Code ist nur ein Beispiel, das Sie anleiten soll und möglicherweise an Ihre Bedürfnisse angepasst werden muss:

1. Folgen Sie den Anweisungen in diesem Google-Artikel, um das eCommerce-Tracking zu aktivieren:
https://support.google.com/analytics/answer/1009612?hl=en#Enable

2. When you’ve set everything up that Google needs, you’ll add a tracking code to the confirmation page where you want the tracking to happen as described in this Google article:
https://support.google.com/tagmanager/answer/6107169

3. You’ll replace the hard-coded data with Order Data SmartTags as follows:

<script>
gtag("event", "purchase", {
    transaction_id: "[MM_Order_Data name='id']",
    affiliation: "Site Name",
    value: [MM_Order_Data name='total' doFormat='false'],
    shipping: [MM_Order_Data name='shipping' doFormat='false'],
    currency: "USD",
    coupon: "[MM_Order_Data name='couponCode']",
    items: [
     {
      item_id: "[MM_Order_Data name='productId']",
      item_name: "[MM_Order_Data name='productName']",
      affiliation: "Site Name",
      coupon: "[MM_Order_Data name='couponCode']",
      currency: "USD",
      discount: [MM_Order_Data name='discount' doFormat='false'],
      price: [MM_Order_Data name='subtotal' doFormat='false'],
      quantity: 1
     }
    ]
});
</script>


War dieser Artikel hilfreich?

Verwandte Artikel

Sie können die gesuchte Antwort nicht finden?

Wenden Sie sich an unser Customer Success Team
Kontaktieren Sie uns!