Compare commits
2 Commits
aa7a80ff61
...
59e04fedc7
| Author | SHA1 | Date | |
|---|---|---|---|
| 59e04fedc7 | |||
| e95a435108 |
@ -57,6 +57,18 @@
|
|||||||
<link rel="preload" href="~/css/site.css" as="style">
|
<link rel="preload" href="~/css/site.css" as="style">
|
||||||
<link rel="preload" href="~/css/qrrapido-theme.css" as="style">
|
<link rel="preload" href="~/css/qrrapido-theme.css" as="style">
|
||||||
|
|
||||||
|
<!-- Hotjar Tracking Code for https://qrrapido.site -->
|
||||||
|
<script>
|
||||||
|
(function(h,o,t,j,a,r){
|
||||||
|
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
|
||||||
|
h._hjSettings={hjid:6550944,hjsv:6};
|
||||||
|
a=o.getElementsByTagName('head')[0];
|
||||||
|
r=o.createElement('script');r.async=1;
|
||||||
|
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
|
||||||
|
a.appendChild(r);
|
||||||
|
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- Structured Data Schema.org -->
|
<!-- Structured Data Schema.org -->
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
@ -110,25 +122,25 @@
|
|||||||
|
|
||||||
// Custom events for QR Rapido
|
// Custom events for QR Rapido
|
||||||
window.trackQRGeneration = function(type, time, isPremium) {
|
window.trackQRGeneration = function(type, time, isPremium) {
|
||||||
gtag('event', 'qr_generated', {
|
gtag('event', 'qr_generated', {
|
||||||
'event_category': 'QR Generation',
|
'event_category': 'QR Generation',
|
||||||
'event_label': type,
|
'event_label': type,
|
||||||
'value': Math.round(parseFloat(time) * 1000),
|
'value': Math.round(parseFloat(time) * 1000),
|
||||||
'custom_parameters': {
|
'custom_parameters': {
|
||||||
'generation_time': parseFloat(time),
|
'generation_time': parseFloat(time),
|
||||||
'user_type': isPremium ? 'premium' : 'free',
|
'user_type': isPremium ? 'premium' : 'free',
|
||||||
'speed_category': time < 1.0 ? 'ultra_fast' : time < 2.0 ? 'fast' : 'normal'
|
'speed_category': time < 1.0 ? 'ultra_fast' : time < 2.0 ? 'fast' : 'normal'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
window.trackSpeedComparison = function(ourTime, competitorAvg) {
|
window.trackSpeedComparison = function(ourTime, competitorAvg) {
|
||||||
gtag('event', 'speed_comparison', {
|
gtag('event', 'speed_comparison', {
|
||||||
'event_category': 'Performance',
|
'event_category': 'Performance',
|
||||||
'our_time': parseFloat(ourTime),
|
'our_time': parseFloat(ourTime),
|
||||||
'competitor_avg': parseFloat(competitorAvg),
|
'competitor_avg': parseFloat(competitorAvg),
|
||||||
'speed_advantage': parseFloat(competitorAvg) - parseFloat(ourTime)
|
'speed_advantage': parseFloat(competitorAvg) - parseFloat(ourTime)
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
window.trackLanguageChange = function(from, to) {
|
window.trackLanguageChange = function(from, to) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user