"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class TrackingProviderProxy {
    constructor(providers) {
        this.providers = [];
        this.providers = providers;
    }
    identify(userID, userProperties = {}) {
        for (const provider of this.providers) {
            provider.identify(userID, userProperties);
        }
    }
    trackSingleItem(eventName, properties) {
        for (const provider of this.providers) {
            provider.trackSingleItem(eventName, properties);
        }
    }
    trackPageView(url) {
        for (const provider of this.providers) {
            provider.trackPageView(url);
        }
    }
}
exports.default = TrackingProviderProxy;
