Skip to content
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

Conversation

marcusosterberg
Copy link
Contributor

Seem to work in my environment, but the True/False in get_analytics() get med confused on what it's actually doing.

@marcusosterberg marcusosterberg linked an issue Aug 6, 2023 that may be closed by this pull request
return True

# Look for file names
if 'assets.adobedtm.com' in content:

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization High test

The string
assets.adobedtm.com
may be at an arbitrary position in the sanitized URL.

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

The string
js-agent.newrelic.com
may be at an arbitrary position in the sanitized URL.

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

The string
cdn.mxpnl.com
may be at an arbitrary position in the sanitized URL.

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

The string
scripts.simpleanalyticscdn.com
may be at an arbitrary position in the sanitized URL.

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

The string
static.klaviyo.com
may be at an arbitrary position in the sanitized URL.

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

The string
rum-static.pingdom.net
may be at an arbitrary position in the sanitized URL.

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

The string
script.crazyegg.com/
may be at an arbitrary position in the sanitized URL.

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

The string
cdn-sitegainer.com
may be at an arbitrary position in the sanitized URL.
@marcusosterberg marcusosterberg merged commit eeefb7f into main Aug 19, 2023
41 of 45 checks passed
@marcusosterberg marcusosterberg deleted the 209-add-adobe-analytics-and-other-not-totally-obscure-tools branch August 19, 2023 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Adobe Analytics and other not totally obscure tools
1 participant