<!--
if (b2XCoreMetrics.pageView.pageId != null && b2XCoreMetrics.pageView.pageIdExtra != null && b2XCoreMetrics.pageView.storeId != null && b2XCoreMetrics.productView.pageId == null && b2XCoreMetrics.productView.productId == null && b2XCoreMetrics.productView.productName == null && b2XCoreMetrics.productView.storeId == null && b2XCoreMetrics.errorTag.pageId == null) {
	cmCreatePageviewTag(b2XCoreMetrics.pageView.pageId + b2XCoreMetrics.pageView.pageIdExtra, b2XCoreMetrics.pageView.categoryId, b2XCoreMetrics.pageView.searchTerm, b2XCoreMetrics.pageView.searchResults, b2XCoreMetrics.pageView.storeId);
}
if (b2XCoreMetrics.productView.pageId != null && b2XCoreMetrics.productView.productId != null && b2XCoreMetrics.productView.productName != null && b2XCoreMetrics.productView.storeId != null) {
	cmCreateProductviewTag(b2XCoreMetrics.productView.pageId, b2XCoreMetrics.productView.productId, b2XCoreMetrics.productView.productName, b2XCoreMetrics.productView.categoryId, b2XCoreMetrics.productView.storeId, b2XCoreMetrics.productView.pageCount);
}
var hasShop5 = false;
for (var shopI = 0; shopI < b2XCoreMetrics.shopAction5.length; shopI++) {
	if (b2XCoreMetrics.shopAction5[shopI].productId != null && b2XCoreMetrics.shopAction5[shopI].productName != null && b2XCoreMetrics.shopAction5[shopI].quantity != null && b2XCoreMetrics.shopAction5[shopI].unitPrice != null && b2XCoreMetrics.shopAction5[shopI].storeId != null) {
		cmCreateShopAction5Tag(b2XCoreMetrics.shopAction5[shopI].productId, b2XCoreMetrics.shopAction5[shopI].productName, b2XCoreMetrics.shopAction5[shopI].quantity, b2XCoreMetrics.shopAction5[shopI].unitPrice, b2XCoreMetrics.shopAction5[shopI].categoryId, b2XCoreMetrics.shopAction5[shopI].storeId, b2XCoreMetrics.shopAction5[shopI].currency);
		hasShop5 = true;
	}
}
if (hasShop5) {
	cmDisplayShop5s();
}
var hasShop9 = false;
for (var shopI = 0; shopI < b2XCoreMetrics.shopAction9.length; shopI++) {
	if (b2XCoreMetrics.shopAction9[shopI].productId != null && b2XCoreMetrics.shopAction9[shopI].productName != null && b2XCoreMetrics.shopAction9[shopI].quantity != null && b2XCoreMetrics.shopAction9[shopI].unitPrice != null && b2XCoreMetrics.shopAction9[shopI].customerId != null && b2XCoreMetrics.shopAction9[shopI].orderId != null && b2XCoreMetrics.shopAction9[shopI].orderSubtotal != null && b2XCoreMetrics.shopAction9[shopI].storeId != null) {
		cmCreateShopAction9Tag(b2XCoreMetrics.shopAction9[shopI].productId, b2XCoreMetrics.shopAction9[shopI].productName, b2XCoreMetrics.shopAction9[shopI].quantity, b2XCoreMetrics.shopAction9[shopI].unitPrice, b2XCoreMetrics.shopAction9[shopI].customerId, b2XCoreMetrics.shopAction9[shopI].orderId, b2XCoreMetrics.shopAction9[shopI].orderSubtotal, b2XCoreMetrics.shopAction9[shopI].categoryId, b2XCoreMetrics.shopAction9[shopI].storeId, b2XCoreMetrics.shopAction9[shopI].currency, b2XCoreMetrics.shopAction9[shopI].accountName, b2XCoreMetrics.shopAction9[shopI].contractName);
		hasShop9 = true;
	}
}
if (hasShop9) {
	cmDisplayShop9s();
}
if (hasShop9 && b2XCoreMetrics.orderTag.orderId != null && b2XCoreMetrics.orderTag.orderSubtotal != null && b2XCoreMetrics.orderTag.orderShipping != null && b2XCoreMetrics.orderTag.customerId != null && b2XCoreMetrics.orderTag.storeId != null) {
	cmCreateOrderTag(b2XCoreMetrics.orderTag.orderId, b2XCoreMetrics.orderTag.orderSubtotal, b2XCoreMetrics.orderTag.orderShipping, b2XCoreMetrics.orderTag.customerId, b2XCoreMetrics.orderTag.customerCity, b2XCoreMetrics.orderTag.customerState, b2XCoreMetrics.orderTag.customerZip, b2XCoreMetrics.orderTag.storeId, b2XCoreMetrics.orderTag.currency, b2XCoreMetrics.orderTag.promotionName, b2XCoreMetrics.orderTag.promotionDiscount, b2XCoreMetrics.orderTag.promotionCode);
}
if (b2XCoreMetrics.registrationTag.customerId != null && b2XCoreMetrics.registrationTag.storeId != null) {
	cmCreateRegistrationTag(b2XCoreMetrics.registrationTag.customerId, b2XCoreMetrics.registrationTag.customerEmail, b2XCoreMetrics.registrationTag.customerCity, b2XCoreMetrics.registrationTag.customerState, b2XCoreMetrics.registrationTag.customerZip, b2XCoreMetrics.registrationTag.newsletterName, b2XCoreMetrics.registrationTag.subscribedFlag, b2XCoreMetrics.registrationTag.storeId, b2XCoreMetrics.registrationTag.customerCountry, b2XCoreMetrics.registrationTag.age, b2XCoreMetrics.registrationTag.gender, b2XCoreMetrics.registrationTag.maritalStatus, b2XCoreMetrics.registrationTag.numChildren, b2XCoreMetrics.registrationTag.numInHousehold, b2XCoreMetrics.registrationTag.companyName, b2XCoreMetrics.registrationTag.hobbies, b2XCoreMetrics.registrationTag.income);
}
if (b2XCoreMetrics.errorTag.pageId != null) {
	cmCreateErrorTag(b2XCoreMetrics.errorTag.pageId, b2XCoreMetrics.errorTag.categoryId);
}
if (b2XCoreMetrics.conversionEventTag.eventId != null && b2XCoreMetrics.conversionEventTag.actionType != null) {
	cmCreateConversionEventTag(b2XCoreMetrics.conversionEventTag.eventId, b2XCoreMetrics.conversionEventTag.actionType, b2XCoreMetrics.conversionEventTag.eventCategoryId, b2XCoreMetrics.conversionEventTag.points)
}
//-->
