• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iplweb / bpp / f77eb09d-4388-431e-b9f3-4fc7a8822640

28 Aug 2025 08:13PM UTC coverage: 39.949% (-3.5%) from 43.402%
f77eb09d-4388-431e-b9f3-4fc7a8822640

push

circleci

mpasternak
Whatever

16244 of 40662 relevant lines covered (39.95%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
src/bpp/context_processors/google_analytics.py
1
# -*- encoding: utf-8 -*-
2

3
from django.conf import settings
1✔
4

5
def google_analytics(request):
1✔
6
    """
7
    Use the variables returned in this function to
8
    render your Google Analytics tracking code template.
9
    """
10
    ga_prop_id = getattr(settings, 'GOOGLE_ANALYTICS_PROPERTY_ID', False)
1✔
11
    if (settings.DEBUG != True) and (ga_prop_id != ""):
1✔
12
        return {
1✔
13
            'GOOGLE_ANALYTICS_PROPERTY_ID': ga_prop_id,
14
        }
15
    return {}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc