Skip to content

Commit d23828d

Browse files
author
markzegarelli
authored
Merge pull request #1526 from segmentio/DOC-163_fix_analytics
DOC 163 fix analytics
2 parents ee5c599 + b0fb198 commit d23828d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/_layouts/default.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
Production: https://app.segment.com/segment_prod/sources/segment_docs_v2_prod
8484
Everything else: https://app.segment.com/segment-engineering/sources/segment_docs
8585
{%- endcomment -%}
86-
{%- if jekyll.environment == "production" -%}
86+
{%- if site.env.CONTEXT == "production" -%}
8787
{%- assign write_key = "QAKKJEtNsXpsNfCCBeWCLNxkaaLO7pgp" -%}
8888
{%- else -%}
8989
{%- assign write_key = "f5c1iWVVwikUDoh5NuVq0G52EPFrMmrX" -%}
@@ -118,7 +118,6 @@
118118
{%- comment -%}
119119
Consent Manager
120120
{%- endcomment -%}
121-
122121
<script>
123122
window.consentManagerConfig = function (exports) {
124123
var React = exports.React

0 commit comments

Comments
 (0)