Skip to content

Using Jekyll.environment for checks failing #11

@binnur

Description

@binnur

This would be a good way to track GA code during development, however the check is failing on GitHub. Note, dev environment w/ flag set to production was verified to include tracking code.

{% if jekyll.environment == "production" %}
{% include analytics.html %}
{% endif %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions