Skip to content

Trac 2265 one tag #292

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

Merged
merged 3 commits into from
May 26, 2025
Merged

Trac 2265 one tag #292

merged 3 commits into from
May 26, 2025

Conversation

nickyanalytics
Copy link
Contributor

CMP Layer changes in events added due to 2,5 way model.
One Adobe Page View Tag : I had to change number of current tag we use in Adobe.

@nickyanalytics nickyanalytics requested a review from mehakraza May 19, 2025 15:17
@@ -126,7 +129,7 @@
}
}

function hasUserGrantedConsent() {
function hasUserDeclinedConsent() {
const consentedVendors = window.utag.data['cp.cmp_cv_list'] || window.utag.data['cp.cm_cv_list'] || '';
const hasUserGivenConsent = consentedVendors.includes('adobe_analytics');
const isAfterCMP = exportedFunctions.isAfterCMP();
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm curious why the function name is changed without changing the functionality. The return value still corresponds to if the user has granted consent or not.

Copy link
Contributor

@mehakraza mehakraza left a comment

Choose a reason for hiding this comment

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

Looks good 💯

@nickyanalytics nickyanalytics merged commit 34e25ba into master May 26, 2025
3 of 4 checks passed
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.

2 participants