Activity Tracking Configuration

Step-by-step guide to configure e-commerce event collection in Ring DAS

Activity Tracking Configuration

To collect e-commerce events from a shop, you need to complete the following steps:

Prerequisites

  • Access to DAS Adserver with appropriate permissions
  • Access to Tag Manager
  • Shop domain where events will be collected

Step 1: Create Activity Group

  1. Go to DAS Adserver > Activity tab
  2. Click Create Activity Group
  3. Fill in the required fields:
    • Name: Shop domain or descriptive name
    • Advertisers: Select the associated advertisers
    • Integration Variant: Select GA Enhanced Ecommerce
    • Clicks Lookback: choose number of days (default: 60 days)
  4. Create at least one Activity before saving (required to save the Activity Group)
  5. Save the Activity Group

Step 2: Create Activities

For each event type you want to track, create an activity within the Activity Group:

  1. Open the Activity Group created in Step 1
  2. Hover over the Activities tab and click Create New
  3. Fill in the required fields:
    • Name: Descriptive name for the activity
    • Status: Select Active
    • Activity Type: Select the activity type
    • Expected URL: Set the URL where the event will be triggered
  4. Repeat for each event type you need

Common activity types for e-commerce:

Activity TypeDescription
Product detailUser views product details page
Add to cartUser adds product to cart
Remove from cartUser removes product from cart
CheckoutUser initiates checkout
Item purchasedTransaction completed

Step 3: Create Tag in Tag Manager

  1. Go to Tag Manager
  2. Click Create Tag

Step 4: Configure Tag Settings

In the tag configuration:

  1. Set Name: Enter a descriptive name for the tag
  2. Set Type: Select Simple, page context
  3. Set Start date and End date: Define the tag's active period

Step 5: Configure Tag Template and Target

  1. Select template: Google Ecommerce (lps/Google-Ecommerce)
  2. Select the Activity Group Network
  3. Activity Group: Select the Activity Group created in Step 1
  4. Activity Events: Check all event types you want to collect (e.g., Product detail, Add to cart, Checkout, Item purchased)
  5. Data Layer: Select dataLayer (or shopLayer if the shop uses a custom name)

In the Target section, set the ad unit to the shop's hostname after applying the following transformation:

Transformation rules:

  • Remove the www. prefix (if present)
  • Replace all non-alphanumeric characters (except hyphens) with underscores

Examples:

Original HostnameTransformed Target
www.example-shop.comexample-shop_com
shop.example.deshop_example_de
my-store.co.ukmy-store_co_uk

The transformation formula is: hostname.replace(/^www\./, '').replace(/[^\w-]+/g, '_')

Step 6: Embed Tracking Pixel

Embed the tracking pixel on the shop website. Choose the integration method that fits your platform:

Verification

After completing all steps, verify that:

  • Activity Group is created and active
  • All required activities are created within the group
  • Tag is created with correct template (Google Ecommerce)
  • Tag is linked to the Activity Group
  • Target domain is correctly transformed
  • Pixel is embedded on the shop website
  • Events appear in activity reports

What's Next