Skip to content

Commit

Permalink
Merge pull request #17 from ImageMarkup/add-google-analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
danlamanna authored Jun 27, 2024
2 parents 609f7eb + 6faf53d commit 0170537
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ baseurl: "" # the subpath of your site, e.g. /blog
title: "ISIC 2024 Challenge Dataset" # the name of your site, e.g. ACME Corp.

github_username: imagemarkup
google_analytics: G-FLS85FF99P

email: [email protected]
description: >- # this means to ignore newlines until "baseurl:"
Expand Down
10 changes: 10 additions & 0 deletions _layouts/default.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ layout: compress
<!DOCTYPE html>
<html class="corporate [--scroll-mt:9.875rem] lg:[--scroll-mt:6.3125rem] js-focus-visible" lang="{{ site.lang | default: "en-US" }}">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FLS85FF99P"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-FLS85FF99P');
</script>

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title>{{ page.title }} - {{ site.title }}</title>
Expand Down

0 comments on commit 0170537

Please sign in to comment.