<h2>{{ 'SitesManager_StepByStepGuide'|translate }}</h2>

{% if wasDetected %}
<div class="system notification notification-info">
    {{ 'SitesManager_VueDetected'|translate('<a target="_blank" rel="noreferrer noopener" href="https://github.com/AmazingDreams/vue-matomo">vue-matomo</a>',externallink('https://matomo.org/faq/new-to-piwik/how-do-i-install-the-matomo-tracking-code-on-websites-that-use-vue-js'),'</a>')|raw }}
</div>
{% endif %}

<p>{{ 'SitesManager_SiteWithoutDataVueIntro'|translate }}</p>
<br>
<p>{{ 'SitesManager_SiteWithoutDataCloudflareFollowStepsIntro'|translate }}</p>
<ol class="list-style-decimal">
    <li>{{ 'SitesManager_SiteWithoutDataVueFollowStep1'|translate('<strong>vue-matomo</strong>')|raw }}<div><pre style="text-indent: 1.2rem; padding-top:2em;padding-bottom:2em" vue-directive="CoreHome.CopyToClipboard">npm install --save vue-matomo</pre></div></li>
    <li>
        {{ 'SitesManager_SiteWithoutDataVueFollowStep2'|translate('<strong>VueMatomo</strong>', '<strong>main.js</strong>')|raw }}
        <br><br>
        {{ 'SitesManager_SiteWithoutDataVueFollowStep2ExampleCode'|translate('Vue.js 3') }}:
        <div><pre class="codeblock" vue-directive="CoreHome.CopyToClipboard">{{ vue3Code }}</pre></div>
        {{ 'SitesManager_SiteWithoutDataVueFollowStep2ExampleCode'|translate('Vue.js 2') }}:
        <div><pre class="codeblock" vue-directive="CoreHome.CopyToClipboard">{{ vue2Code }}</pre></div>
    </li>
</ol>
<br>

<p>{{ 'SitesManager_SiteWithoutDataVueFollowStepCompleted'|translate('<strong>', '</strong>', '<a target="_blank" rel="noreferrer noopener" href="https://github.com/AmazingDreams/vue-matomo">vue-matomo</a>')|raw }}</p>
<br>
<strong>{{ 'General_Note'|translate }}:</strong><ol class="list-style-decimal">
    <li>{{ 'SitesManager_SiteWithoutDataVueFollowStepNote1'|translate('<code vue-directive="CoreHome.CopyToClipboard">window._paq.push</code>')|raw }}</li>
    <li>{{ SiteWithoutDataVueFollowStepNote2Key|translate(externallink('https://developer.matomo.org/guides/spa-tracking'),'</a>', externallink('https://developer.matomo.org/guides/spa-tracking#using-matomo-tag-manager-to-track-single-page-application'),'</a>')|raw }}</li>
</ol>