Skip to content

Commit

Permalink
add google tag for google analytics and move meta tags in index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhanmirza committed May 26, 2023
1 parent 44907d7 commit 8117d03
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
21 changes: 20 additions & 1 deletion surelink-vue/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,28 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="title" content="SureLink - Safe short url for humans" />
<meta name="description" content="URL shortener that puts your safety first! With surelink, you'll always know exactly where a short URL will take you before you click on it. This means you can make informed decisions about whether or not to follow the link." />
<meta name="keywords" content="url shortener free, bitly url shortener, google short url, tinyurl generator, url shorten" />
<meta property="og:title" content="SureLink - Safe short url for humans" />
<meta property="og:description" content="URL shortener that puts your safety first! With surelink, you'll always know exactly where a short URL will take you before you click on it. This means you can make informed decisions about whether or not to follow the link." />
<meta property="og:image" content="https://surel.ink/img/logo.b4c96294.svg" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>SureLink</title>
<title>SureLink - Safe short url for humans</title>
</head>

<!-- START Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ZS3JBK1HYE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-ZS3JBK1HYE');
</script>
<!-- END Google tag (gtag.js) -->


<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
Expand Down
6 changes: 0 additions & 6 deletions surelink-vue/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<template>
<div id="app">
<meta name="title" content="SureLink - Free Link Shortener" />
<meta name="description" content="It is a short link generator tool that helps you generate tinyurls. It provides security from harmful links and makes the urls human friendly" />
<meta name="keywords" content="url shortener free, bitly url shortener, google short url, tinyurl generator, url shorten" />
<meta property="og:title" content="SureLink - Free Link Shortener" />
<meta property="og:description" content="It is a short link generator tool that helps you generate tinyurls. It provides security from harmful links and makes the urls human friendly" />
<meta property="og:image" content="https://surel.ink/img/logo.b4c96294.svg" />
<router-view/>
</div>
</template>
Expand Down

0 comments on commit 8117d03

Please sign in to comment.