How to Set Up Conversion Tracking for Your White Label Account

This guide will help you configure Google Tag Manager (GTM) and conversion tracking for your White Label account. Follow the steps below to ensure proper tracking and reporting for orders placed on your White Label platform.

Step 1: Prerequisite

You must have a Google Tag Manager (GTM) account and provide your GTM ID to us. Your GTM ID looks like this: GTM-XXXXXXX .

  1. Log in to your Google Tag Manager account or create one.
  2. Locate your GTM ID from the top-right corner of your GTM dashboard.

Step 2: Provide Your GTM ID

Send your GTM ID to us. Once we save this against your White Label account:

  • GTM will automatically load on your White Label order form.
  • GTM will trigger whenever a client places an order.

Step 3: Understanding the DataLayer

Whenever a new order is placed, the system pushes transaction data to the DataLayer. This includes details like:

  • Order Value
  • Transaction ID
  • Tax
  • Currency Code
  • Item Details (e.g., service name, quantity, and price)

Below is a sample structure of the data pushed to the DataLayer:

dataLayer.push({
    event: 'purchase_enhanced_conversion',
    order_value: 100,
    order_id: '12345',
    currencyCode: 'USD',
    tax: 5,
    items: [
        {
            item_id: '001',
            item_name: 'Translation Service',
            item_category: 'Translation',
            quantity: 1,
            price: 95
        }
    ],
    enhanced_conversion_data: {
        email: 'client@example.com'
    }
});

Step 4: Setting Up DataLayer Variables in GTM

You will need to create variables for each DataLayer item to make the data accessible in your Tags. Here's how:

  1. Log in to GTM and go to your container.
  2. Navigate to Variables > New Variable.
  3. Choose Data Layer Variable as the variable type.
  4. Assign the following variable names and set the Data Layer variable name accordingly:
Variable Name Data Layer Variable Name
Transaction ID order_id
Order Value order_value
Currency Code currencyCode
Tax tax
Item Name items[0].item_name
Item Price items[0].price
Item Quantity items[0].quantity

Step 5: Adding Analytics and Conversion Tags

Now that you’ve created the necessary variables, you can configure Tags for your Analytics platforms (e.g., Google Analytics, Google Ads, Meta, LinkedIn). Follow these steps:


Google Analytics Example (GA4)

  1. Go to Tags > New > Google Analytics: GA4 Event.
  2. Set the event name to purchase_enhanced_conversion .
  3. Map your DataLayer variables to the corresponding GA4 parameters:
    • Transaction ID → transaction_id
    • Order Value → value
    • Currency → currency
  4. Set the trigger to fire the Tag:
    • Choose Triggering > New Trigger.
    • Select Custom Event.
    • Enter the event name: purchase_enhanced_conversion .

Meta (Facebook) Example

  1. Go to Tags > New > Custom HTML.
  2. Paste the following code into the HTML editor:
<script>
fbq('track', 'Purchase', {
    value: {{Order Value}},
    currency: '{{Currency Code}}'
});
</script>
  1. Set the trigger to fire the Tag:
    • Choose Triggering > New Trigger.
    • Select Custom Event.
    • Enter the event name: purchase_enhanced_conversion .

LinkedIn Example

  1. Go to Tags > New > Custom HTML.
  2. Paste the following code into the HTML editor:
<script>
_liq.push(['track', 'Purchase', {
    order_id: {{Transaction ID}},
    value: {{Order Value}},
    currency: '{{Currency Code}}'
}]);
</script>
  1. Set the trigger to fire the Tag:
    • Choose Triggering > New Trigger.
    • Select Custom Event.
    • Enter the event name: purchase_enhanced_conversion .

Bing Example

  1. Go to Tags > New > Custom HTML.
  2. Paste the following code into the HTML editor:
<script>
uetq.push({
    'ec': 'Purchase',
    'ea': 'Completed',
    'el': {{Transaction ID}},
    'ev': {{Order Value}}
});
</script>
  1. Set the trigger to fire the Tag:
    • Choose Triggering > New Trigger.
    • Select Custom Event.
    • Enter the event name: purchase_enhanced_conversion .

Step 6: Verifying the Setup

Once your Tags and Triggers are configured:

  1. Use the GTM Preview Mode to test your implementation.
  2. Place a test order to verify that the DataLayer is populated correctly.
  3. Check your Analytics platform to ensure events are recorded as expected.

Summary

By completing these steps:

  • You’ll track orders placed on your White Label platform.
  • You’ll be able to integrate with Analytics platforms like GA, Google Ads, or Meta.
  • Events will trigger automatically whenever a purchase is made, ensuring accurate conversion tracking.

For any assistance, feel free to reach out!