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

Fix empty googleanalytics.id support #16

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

scastineyras
Copy link

@scastineyras scastineyras commented Nov 12, 2024

I added this if validation:
{% if googleanalytics_id and googleanalytics_id != 'ODC_GOOGLE_ANALYTICS_ID' %}

So when there is no googleanalytics.id set, the code was send a message to googletagmanager with the id "ODC_GOOGLE_ANALYTICS_ID" which I guess is the default placeholder, and we don't want that to happen:

image

@scastineyras scastineyras requested a review from jguo144 November 12, 2024 17:46
Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@scastineyras scastineyras changed the title temp addIng a logging to debug an issue, will remove later Fix empty googleanalytics.id support Nov 13, 2024
Copy link
Collaborator

@jguo144 jguo144 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jguo144 jguo144 merged commit 2086d1e into master Nov 13, 2024
9 of 11 checks passed
@jguo144 jguo144 deleted the scastineyras/OD-2647/2024-11-12/logging branch November 13, 2024 20:53
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.

3 participants