URL in href links #662
optimvsjag
started this conversation in
General
Replies: 1 comment 2 replies
-
Probably a malformed configuration. You can try changing the links in the playground, Edit translations. Alternatively you can use backticks: consentModal: {
footer: `
<a href="https://mydomain.com/privacy/">Privacy Policy</a>
<a href="#link">Terms and conditions</a>
`
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team,
I've a problem when change the Privacy Policies or Terms and Conditions URLs in cookieconsent-config.js file. I think that if the URL haven't a wright structure the consent popup not charge.
By default we have:
consentModal: {footer: "<a href=\"#link\">Privacy Policy</a>\n<a href=\"#link\">Terms and conditions</a>"},
I change *#link* by https://mydomain.com/privacy/ or /privacy/ and cookieconsent not run, no charge the popup.
What is the correct URL structure for full URL or internal link? Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions