<?xml version="1.0" encoding="utf-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/shopware/shopware/5.5/engine/Shopware/Components/Plugin/schema/config.xsd">

    <elements>
        <element scope="shop">
            <name>property_id</name>
            <label lang="de">Google Analytics Property-ID</label>
            <label lang="en">Google Analytics Property-ID</label>
        </element>

        <element scope="shop">
            <name>measurement_code</name>
            <label lang="de">Google Analytics Mess-ID</label>
            <label lang="en">Google Analytics Measurement-ID</label>
        </element>

        <element type="boolean" scope="shop">
            <name>anonymize_ip</name>
            <label lang="de">IP-Adresse anonymisieren</label>
            <label lang="en">Anonymous IP address</label>
            <value>true</value>
        </element>

        <element type="boolean" scope="shop">
            <name>include_opt_out_cookie</name>
            <label lang="de">Opt-Out Cookie ermöglichen</label>
            <label lang="en">Allow opt-out cookie</label>
            <value>false</value>
            <description lang="de">Opt-Out Cookie setzen, so dass der Datenfluss nach Google unterbochen werden kann:
                https://developers.google.com/analytics/devguides/collection/gajs/
            </description>
            <description lang="en">The measurement snippet includes a window property disables the measurement snippet from
                sending data to Google Analytics: https://developers.google.com/analytics/devguides/collection/gajs/
            </description>
        </element>

        <element type="boolean" scope="shop">
            <name>include_header</name>
            <label lang="de">Measurement-Code im "head"-Bereich inkludieren (Responsive Theme)</label>
            <label lang="en">Include the measurement code in the "head" section (Responsive theme)</label>
            <value>false</value>
        </element>
    </elements>
</config>
