Tag google
This commit is contained in:
@ -5,12 +5,9 @@
|
|||||||
@using Microsoft.AspNetCore.Authentication.Cookies
|
@using Microsoft.AspNetCore.Authentication.Cookies
|
||||||
@using Microsoft.AspNetCore.Identity
|
@using Microsoft.AspNetCore.Identity
|
||||||
@using StandManager.Components.Layout
|
@using StandManager.Components.Layout
|
||||||
@using StandManager.Domain.Entita
|
|
||||||
@using StandManager.Infrastructure.DAL.Context
|
|
||||||
@using StandManager.Model
|
@using StandManager.Model
|
||||||
@using System.Security.Claims
|
@using System.Security.Claims
|
||||||
@using Microsoft.EntityFrameworkCore
|
@using Microsoft.EntityFrameworkCore
|
||||||
@using StandManager.Service.Interfaces
|
|
||||||
|
|
||||||
@inject IHttpContextAccessor HttpContextAccessor
|
@inject IHttpContextAccessor HttpContextAccessor
|
||||||
|
|
||||||
|
|||||||
@ -44,6 +44,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<DacFooter />
|
<DacFooter />
|
||||||
|
<GoogleTagManager />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
@using Microsoft.EntityFrameworkCore
|
@using Microsoft.EntityFrameworkCore
|
||||||
@using StandManager.Components.Layout
|
@using StandManager.Components.Layout
|
||||||
|
@using StandManager.Components.Widget
|
||||||
@using StandManager.Model
|
@using StandManager.Model
|
||||||
|
|
||||||
@page "/registrazione-campagna-socialmedia-dac-expo-tecnocom-2026"
|
@page "/registrazione-campagna-socialmedia-dac-expo-tecnocom-2026"
|
||||||
@ -19,7 +20,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<DacFooter />
|
<DacFooter />
|
||||||
|
<GoogleTagManager />
|
||||||
@code {
|
@code {
|
||||||
private bool showCodiceCliente { get; set; } = false;
|
private bool showCodiceCliente { get; set; } = false;
|
||||||
private bool showForm { get; set; } = false;
|
private bool showForm { get; set; } = false;
|
||||||
|
|||||||
10
StandManager/Components/Widget/GoogleTagManager.razor
Normal file
10
StandManager/Components/Widget/GoogleTagManager.razor
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!-- Google Tag Manager -->
|
||||||
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||||
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||||
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||||
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||||
|
})(window,document,'script','dataLayer','GTM-WV4JHX84');</script>
|
||||||
|
|
||||||
|
@*Google Tag Manager (noscript)*@
|
||||||
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WV4JHX84"
|
||||||
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||||
@ -10,10 +10,6 @@ public class EmailCheckAttribute : ValidationAttribute
|
|||||||
var str = value as string;
|
var str = value as string;
|
||||||
if (string.IsNullOrEmpty(str)) return ValidationResult.Success;
|
if (string.IsNullOrEmpty(str)) return ValidationResult.Success;
|
||||||
|
|
||||||
if (!Regex.IsMatch(str, "^[\\w-\\.\\+]+@([\\w-]+\\.)+[\\w-]{2,}$"))
|
return !Regex.IsMatch(str, "^[\\w-\\.\\+]+@([\\w-]+\\.)+[\\w-]{2,}$") ? new ValidationResult(ErrorMessage ?? "Inserire un indirizzo Email valido") : ValidationResult.Success;
|
||||||
{
|
|
||||||
return new ValidationResult(ErrorMessage ?? "Inserire un indirizzo Email valido");
|
|
||||||
}
|
|
||||||
return ValidationResult.Success;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
6
Writerside/c.list
Normal file
6
Writerside/c.list
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE categories
|
||||||
|
SYSTEM "https://resources.jetbrains.com/writerside/1.0/categories.dtd">
|
||||||
|
<categories>
|
||||||
|
<category id="wrs" name="Writerside documentation" order="1"/>
|
||||||
|
</categories>
|
||||||
5
Writerside/v.list
Normal file
5
Writerside/v.list
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE vars SYSTEM "https://resources.jetbrains.com/writerside/1.0/vars.dtd">
|
||||||
|
<vars>
|
||||||
|
<var name="product" value="Writerside"/>
|
||||||
|
</vars>
|
||||||
7
Writerside/writerside.cfg
Normal file
7
Writerside/writerside.cfg
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE ihp SYSTEM "https://resources.jetbrains.com/writerside/1.0/ihp.dtd">
|
||||||
|
|
||||||
|
<ihp version="2.0">
|
||||||
|
<topics dir="topics" web-path="topics"/>
|
||||||
|
<images dir="images" web-path="images"/>
|
||||||
|
</ihp>
|
||||||
Reference in New Issue
Block a user