-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a couple of analytics tools #210
Added a couple of analytics tools #210
Conversation
return True | ||
|
||
# Look for file names | ||
if 'assets.adobedtm.com' in content: |
Check failure
Code scanning / CodeQL
Incomplete URL substring sanitization High test
assets.adobedtm.com
|
||
def has_new_relic(content): | ||
# Look for file names | ||
if 'js-agent.newrelic.com' in content: |
Check failure
Code scanning / CodeQL
Incomplete URL substring sanitization High test
js-agent.newrelic.com
|
||
def has_mixpanel(content): | ||
# Look for file names | ||
if 'cdn.mxpnl.com' in content: |
Check failure
Code scanning / CodeQL
Incomplete URL substring sanitization High test
cdn.mxpnl.com
|
||
def has_simple_analytics(content): | ||
# Look for file names | ||
if 'scripts.simpleanalyticscdn.com' in content: |
Check failure
Code scanning / CodeQL
Incomplete URL substring sanitization High test
scripts.simpleanalyticscdn.com
|
||
def has_klaviyo(content): | ||
# Look for file names | ||
if 'static.klaviyo.com' in content: |
Check failure
Code scanning / CodeQL
Incomplete URL substring sanitization High test
static.klaviyo.com
|
||
def has_pingdom_rum(content): | ||
# Look for file names | ||
if 'rum-static.pingdom.net' in content: |
Check failure
Code scanning / CodeQL
Incomplete URL substring sanitization High test
rum-static.pingdom.net
|
||
def has_crazyegg(content): | ||
# Look for file names | ||
if 'script.crazyegg.com/' in content: |
Check failure
Code scanning / CodeQL
Incomplete URL substring sanitization High test
script.crazyegg.com/
|
||
def has_sitegainer(content): | ||
# Look for file names | ||
if 'cdn-sitegainer.com' in content: |
Check failure
Code scanning / CodeQL
Incomplete URL substring sanitization High test
Seem to work in my environment, but the True/False in get_analytics() get med confused on what it's actually doing.