Skip to content

Commit efa1018

Browse files
removing old analytics references
1 parent 4bc8707 commit efa1018

File tree

7 files changed

+1
-26
lines changed

7 files changed

+1
-26
lines changed

scripts/build/antora_build_docs.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@ echo "npm analysis antora_build"
44
npm ls -g --depth=0
55
if [ "$PROD_SITE" = true ]
66
then
7-
# Enable google analytics in docs
8-
antora --fetch --stacktrace --key google-analytics=G-PXYTWCYE18 src/main/content/docs/antora-playbook.yml
9-
else
107
antora --fetch --stacktrace src/main/content/docs/antora-playbook.yml
118
fi

scripts/build/jekyll.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ mkdir -p target/jekyll-webapp
8080
# Enable google analytics if ga is true
8181
if [ "$PROD_SITE" = true ]
8282
then
83-
jekyll build --source src/main/content --config src/main/content/_config.yml,src/main/content/_google_analytics.yml --destination target/jekyll-webapp
83+
jekyll build --source src/main/content --config src/main/content/_config.yml --destination target/jekyll-webapp
8484
else
8585
# Set the --future flag to show blogs with date timestamps in the future
8686
jekyll build --future --source src/main/content --config src/main/content/_config.yml --destination target/jekyll-webapp

src/main/content/_google_analytics.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/main/content/_includes/google_tag_manager_head.html

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/main/content/_includes/head.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@
5656
{% css {{css_name}} %}
5757
{% endfor %}
5858

59-
{% if jekyll.environment == 'production' and site.google_tag_manager %}
60-
{% include google_tag_manager_head.html %}
61-
{% endif %}
62-
6359
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
6460
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
6561

src/main/content/antora_ui/src/partials/google_tag_manager_head.hbs

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/main/content/antora_ui/src/partials/head-scripts.hbs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
{{#if site.keys.googleAnalytics }}
2-
{{> google_tag_manager_head }}
3-
{{/if}}
41
<script async src="{{uiRootPath}}/js/vendor/highlight.js "></script>
52
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha512-+NqPlbbtM1QqiK8ZAo4Yrj2c4lNQoGv8P79DPtKzj++l5jnN39rHA/xsqn8zE9l0uSoxaCdrOgFs6yjyfbBxSg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
63
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>

0 commit comments

Comments
 (0)