<?php
/**
 * This file is part of OXID eSales PayPal module.
 *
 * OXID eSales PayPal module is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * OXID eSales PayPal module is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with OXID eSales PayPal module.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @link      http://www.oxid-esales.com
 * @copyright (C) OXID eSales AG 2003-2015
 */

/**
 * Metadata version
 */
$sMetadataVersion = '1.2';

/**
 * Module information
 */
$aModule = array(
    'id'           => 'es_analytics_ga4',
    'title'        => array(
		'de' => '<span style="color: #495058; display:inline-block; font-weight: 700;"><span style="-webkit-border-radius: 50%;-moz-border-radius: 50%;border-radius: 50%; background-color: #52aa00; display: inline-block; line-height: 1.2; width: 1.1em; height: 1.2em; padding-right: 0.1em; text-align: right; color: #fff; margin-right: 0.1em;">e</span>Sales <span style="color: #52aa00;">Media</span></span> Google Analytics GA4',
		'en' => '<span style="color: #495058; display:inline-block; font-weight: 700;"><span style="-webkit-border-radius: 50%;-moz-border-radius: 50%;border-radius: 50%; background-color: #52aa00; display: inline-block; line-height: 1.2; width: 1.1em; height: 1.2em; padding-right: 0.1em; text-align: right; color: #fff; margin-right: 0.1em;">e</span>Sales <span style="color: #52aa00;">Media</span></span> Google Analytics GA4',
	),
    'description'  => array(
        'de' => 'Fügt Google Analytics GA4 zum Shop hinzu, inkl. E-Commerce Tracking',
        'en' => 'Adds Google Analytics GA4 to the shop incl. eCommerce Tracking',
    ),
    'thumbnail'    => 'picture.png',
    'version'      => '1.0.0',
    'author'       => 'eSales Media',
    'url'          => 'http://www.esales-media.de',
    'email'        => 'info@esales-media.de',
	'extend'      => array(
//		'oxarticle' => 'esales/es_analytics_ga4/models/es_analytics_ga4_oxarticle',
	),
	'files'       => array(
//		'es_article_nutritionfacts' => 'esales/es_analytics_ga4/controllers/admin/es_article_nutritionfacts.php',
		'es_analytics_ga4_events'  => 'esales/es_analytics_ga4/core/es_analytics_ga4_events.php',
	),
	'templates'   => array(
//		'es_article_nutritionfacts.tpl'    => 'esales/es_analytics_ga4/views/admin/tpl/es_article_nutritionfacts.tpl',
	),
    'blocks' => array(
        array('template' => 'layout/base.tpl', 'block' => 'es_analytics_ga4_code', 'file' => 'views/blocks/es_analytics_ga4_code_head_css.tpl'),
    ),
    'events'       => array(
        'onActivate'   => 'es_analytics_ga4_events::onActivate',
        'onDeactivate'   => 'es_analytics_ga4_events::onDeactivate'
    ),
    'settings'    => array(
        array('group' => 'main', 'name' => 'sOxEsGA4AnalyticsId', 'type' => 'str', 'value' => ''),
        array('group' => 'main', 'name' => 'sOxEsGA4AdsId', 'type' => 'str', 'value' => ''),
        array('group' => 'main', 'name' => 'sOxEsGA4AdsConvLabel', 'type' => 'str', 'value' => ''),
        array('group' => 'esUninstall', 'name' => 'blOxEsAnalyticsGA4Sweep', 'type' => 'bool', 'value' => 'false'),
    )
);