Adding Script to Header |
Post Reply |
Author | |
gvause2
Newbie Joined: May 27 2020 Location: Males Status: Offline Points: 4 |
Topic: Adding Script to Header Posted: May 27 2020 at 6:33am |
Hi Forum: I have an issue: -
Need to add code in my openElement page. Thank
in advance. Consent Management Source Please copy and paste this code into the header for each page on your website(s). It is important that this code be the first script in your document.
|
|
gv2
|
|
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Posted: May 27 2020 at 5:18pm |
Assuming that you are adding javascript code, open your project, open the targetted page.
In the editing pane top bar you will find a button Code, click on it and a code editing pannel will open. Click on the plus sign Add a name, select javascript then select Startbody, if it doesn't work, try with Header position |
|
gvause2
Newbie Joined: May 27 2020 Location: Males Status: Offline Points: 4 |
Posted: May 28 2020 at 7:50am |
I really appreciate your response and help. You verified what I initially did was correct. My script is for Consent Management purposes. My challenge has been testing the functionality of this solution. My script is located on line #22 It suppose to display: This website stores data such as cookies to enable important site functionality including analytics, targeting, and personalization. By remaining on this web site you indicate your consent. data storage policy
What are your thoughts? |
|
gv2
|
|
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Posted: May 29 2020 at 12:52pm |
Give a try to this one: https://www.websitepolicies.com/create/cookie-consent-banner
Then add the resulting code as HTML in the header
|
|
gvause2
Newbie Joined: May 27 2020 Location: Males Status: Offline Points: 4 |
Posted: Jun 04 2020 at 5:56am |
Thank you!
|
|
gv2
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |