Our Platform. Your Vision.

Storefront Settings: Marketing & Analytics Plugins

Integrate with Google Analytics and Meta Pixel across all pages in your online customer experience.

Google Analytics

Add Your Google Tag

You can find this setting in Manage > Organization & Facility Settings > Storefront Settings - Organization > Marketing & Analytics Plugins

Click Edit to make changes and enter a Google Analytics Tag ID. You may optionally turn off sending Ecommerce data using the toggle displayed below the Analytics Tag text box.

Note: that you must have an Analytics Tag entered for the Send Ecommerce Data toggle button to appear.

 

Event Data

Add to Cart Event

This is the data Redpoint HQ is sending when the customer clicks Add to Cart. It is here for reference and could change at any time.

Add to Cart events are fired every time the customer clicks Add to Cart. If the customer further edits the contract after clicking Add to Cart, the event will fire again and may double count line items and/or the total value.

{
  "value": 80                    // Subtotal of purchase
  "currency": 'USD',             // Currency of purchase
  "items": [                     // Items inside purchase
    {
      "item_id": "ABCDEFGH",     // SKU (if not empty) or unique product variant ID
      "item_name": "Punch Pass", // Name of the product
      "coupon": "FREE_STUFF",    // Promo code discounting this item
      "discount": 20,            // Dollar value of the discounted amount
      "item_variant": "Adult",   // Variant combination of the product variant
      "location_id": "North",    // Short name of the facility
      "price": 100,              // Unit price
      "quantity": 1,             // Quantity
      "index": 0,                // Index of the item

      //  Custom fields
      "plan_type": "PASS",       // Plan type: MEMBERSHIP, PASS, PROGRAM, GIFT_CARD
      "plan_name": "Punch Pass", // Name of the plan
      "enrollment_type": "Adult" // Enrollment this item is for (blank if not assigned)
    }
  ]
}

Begin Checkout Event

This is the data Redpoint HQ is sending when the customer clicks Create Checkout. It is here for reference and could change at any time.

Begin Checkout events are fired every time the customer clicks Checkout Now. If the customer goes back further edits the contract and clicks Checkout Now again, the event will fire again and may double count line items and/or the total value.

{
  "value": 80                    // Subtotal of purchase
  "currency": 'USD',             // Currency of purchase
  "items": [                     // Items inside purchase
    {
      "item_id": "ABCDEFGH",     // SKU (if not empty) or unique product variant ID
      "item_name": "Punch Pass", // Name of the product
      "coupon": "FREE_STUFF",    // Promo code discounting this item
      "discount": 20,            // Dollar value of the discounted amount
      "item_variant": "Adult",   // Variant combination of the product variant
      "location_id": "North",    // Short name of the facility
      "price": 100,              // Unit price
      "quantity": 1,             // Quantity
      "index": 0,                // Index of the item

      //  Custom fields
      "plan_type": "PASS",       // Plan type: MEMBERSHIP, PASS, PROGRAM, GIFT_CARD
      "plan_name": "Punch Pass", // Name of the plan
      "enrollment_type": "Adult" // Enrollment this item is for (blank if not assigned)
    }
  ]
}

Purchase Event

This is the data Redpoint HQ is sending when the customer completes a purchase. It is here for reference and could change at any time.

Unlike the other events, the purchase event is unique, and is only fired when an invoice is created (even $0 invoice).

{
  "transaction_id": 1234,        // Reference number of invoice
  "value": 80                    // Subtotal of purchase
  "tax": 7.50                    // Total tax of purchase
  "currency": 'USD',             // Currency of purchase
  "items": [                     // Items inside purchase
    {
      "item_id": "ABCDEFGH",     // SKU (if not empty) or unique product variant ID
      "item_name": "Punch Pass", // Name of the product
      "coupon": "FREE_STUFF",    // Promo code discounting this item
      "discount": 20,            // Dollar value of the discounted amount
      "item_variant": "Adult",   // Variant combination of the product variant
      "location_id": "North",    // Short name of the facility
      "price": 100,              // Unit price
      "quantity": 1,             // Quantity
      "index": 0,                // Index of the item

      //  Custom fields
      "plan_type": "PASS",       // Plan type: MEMBERSHIP, PASS, PROGRAM, GIFT_CARD
      "plan_name": "Punch Pass", // Name of the plan
      "enrollment_type": "Adult" // Enrollment this item is for (blank if not assigned)
    }
  ]
}

 

Meta Pixel

Add your Meta Pixel ID

You can find this setting in Manage > Organization & Facility Settings > Storefront Settings - Organization > Marketing & Analytics Plugins

Click Edit and enter your Meta Pixel ID number. You may optionally turn off sending event data using the toggle displayed below the Meta Pixel ID text box. Your Meta Pixel ID may also be called a Dataset ID.

Note: that you must have an Meta Pixel ID entered for the Send Event Data toggle button to appear.

Event Data

Initiate Checkout Event

This is the data Redpoint HQ is sending when the customer clicks Create Checkout. It is here for reference and could change at any time.

Initiate Checkout events are fired every time the customer clicks Checkout Now. If the customer goes back further edits the contract and clicks Checkout Now again, the event will fire again and may double count line items and/or the total value.

{
  "value": 80                    // Subtotal of purchase
  "currency": 'USD',             // Currency of purchase
  "num_items": 1,                // Number of items on the purchase
  "content_ids": [
    "ABCDEFGH"                   // SKU (if not empty) or unique product variant ID
  ]
  "contents": [                  // Items inside purchase
    {
      "id": "ABCDEFGH",          // SKU (if not empty) or unique product variant ID
      "quantity": 1,             // Quantity
      "item_name: "Punch Pass",  // Name of the product
      "coupon: "FREE_STUFF",     // Promo code discounting this item
      "discount": 20,            // Dollar value of the discounted amount
      "item_variant": "Adult",   // Variant combination of the product variant
      "price": 100,              // Unit price
    }
  ]
}

Purchase Event

This is the data Redpoint HQ is sending when the customer completes a purchase. It is here for reference and could change at any time.

Unlike the other events, the purchase event is unique, and is only fired when an invoice is created (even $0 invoice).

{
  "value": 80                    // Subtotal of purchase
  "currency": 'USD',             // Currency of purchase
  "num_items": 1,                // Number of items on the purchase
  "content_ids": [
    "ABCDEFGH"                   // SKU (if not empty) or unique product variant ID
  ]
  "contents": [                  // Items inside purchase
    {
      "id": "ABCDEFGH",          // SKU (if not empty) or unique product variant ID
      "quantity": 1,             // Quantity
      "item_name: "Punch Pass",  // Name of the product
      "coupon: "FREE_STUFF",     // Promo code discounting this item
      "discount": 20,            // Dollar value of the discounted amount
      "item_variant": "Adult",   // Variant combination of the product variant
      "price": 100,              // Unit price
    }
  ]
}

 

Google Tag Manager

Add Your Google Tag

You can find this setting in Manage > Organization & Facility Settings > Storefront Settings - Organization > Marketing & Analytics Plugins

  1. Enable the Tag Manager event data in the Google Tag Manager section
  2. Add your Google Tag Manager snippet to the Global Marketing Code

Event Data

The data passed to Google Tag Manager is the same as the Event Data for Google Analytics above

 

Related to