diff --git a/_config.yml b/_config.yml index d4b7d9fa9..1a7d00bc2 100644 --- a/_config.yml +++ b/_config.yml @@ -5,8 +5,10 @@ description: > # this means to ignore newlines until "baseurl:" Bioschemas relies and extends from schema.org and aims to reuse existing standards and reach consensus among a wide number of life sciences organizations and communities. url: "http://bioschemas.org" # the base hostname & protocol for your site +baseurl: "" # the subpath of your site, e.g. /blog/ twitter_username: Bioschemas github_username: Bioschemas +google_analytics: G-G3BQK7PF1V # Build settings markdown: kramdown diff --git a/_includes/cookie-consent.html b/_includes/cookie-consent.html new file mode 100644 index 000000000..6f05395f7 --- /dev/null +++ b/_includes/cookie-consent.html @@ -0,0 +1,59 @@ + + + diff --git a/_includes/ga.js b/_includes/ga.js new file mode 100644 index 000000000..b2a62accf --- /dev/null +++ b/_includes/ga.js @@ -0,0 +1,17 @@ +function loadScriptAsync(scriptSrc, callback) { + if (typeof callback !== 'function') { + throw new Error('Not a valid callback for async script load'); + } + var script = document.createElement('script'); + script.onload = callback; + script.src = scriptSrc; + document.head.appendChild(script); +} + +loadScriptAsync('https://www.googletagmanager.com/gtag/js?id=G-G3BQK7PF1V', function () { + window.dataLayer = window.dataLayer || []; + function gtag() { dataLayer.push(arguments); } + gtag('js', new Date()); + gtag('config', 'G-G3BQK7PF1V', { 'anonymize_ip': true }); + console.log('Google Analytics is active'); +}) diff --git a/_includes/head.html b/_includes/head.html index ac50c911e..4dcf67e87 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -35,6 +35,4 @@ - - {% include analytics.html %} diff --git a/_layouts/default.html b/_layouts/default.html index 00130b1f5..fffec0b14 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,5 +11,6 @@ {% include footer.html %} + {% include cookie-consent.html %} diff --git a/pages/_about/privacy.html b/pages/_about/privacy.html new file mode 100644 index 000000000..e82b17037 --- /dev/null +++ b/pages/_about/privacy.html @@ -0,0 +1,287 @@ +--- +layout: default +title: Privacy +--- +

Privacy Policy

+

Last updated: September 16, 2024

+

This Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your information + when You use the Service and tells You about Your privacy rights and how the law protects You.

+

We use Your Personal data to provide and improve the Service. By using the Service, You agree to the collection and + use of information in accordance with this Privacy Policy. This Privacy Policy has been created with the help of the + Privacy Policy Generator. +

+

Interpretation and Definitions

+

Interpretation

+

The words of which the initial letter is capitalized have meanings defined under the following conditions. The + following definitions shall have the same meaning regardless of whether they appear in singular or in plural.

+

Definitions

+

For the purposes of this Privacy Policy:

+ +

Collecting and Using Your Personal Data

+

Types of Data Collected

+

Personal Data

+

While using Our Service, We may ask You to provide Us with certain personally identifiable information that can be + used to contact or identify You. Personally identifiable information may include, but is not limited to:

+ +

Usage Data

+

Usage Data is collected automatically when using the Service.

+

Usage Data may include information such as Your Device's Internet Protocol address (e.g. IP address), browser type, + browser version, the pages of our Service that You visit, the time and date of Your visit, the time spent on those + pages, unique device identifiers and other diagnostic data.

+

When You access the Service by or through a mobile device, We may collect certain information automatically, + including, but not limited to, the type of mobile device You use, Your mobile device unique ID, the IP address of + Your mobile device, Your mobile operating system, the type of mobile Internet browser You use, unique device + identifiers and other diagnostic data.

+

We may also collect information that Your browser sends whenever You visit our Service or when You access the Service + by or through a mobile device.

+

Tracking Technologies and Cookies

+

We use Cookies and similar tracking technologies to track the activity on Our Service and store certain information. + Tracking technologies used are beacons, tags, and scripts to collect and track information and to improve and + analyze Our Service. The technologies We use may include:

+ +

Cookies can be "Persistent" or "Session" Cookies. Persistent Cookies remain on Your personal + computer or mobile device when You go offline, while Session Cookies are deleted as soon as You close Your web + browser. Learn more about cookies on the Privacy Policies website article.

+

We use both Session and Persistent Cookies for the purposes set out below:

+ +

For more information about the cookies we use and your choices regarding cookies, please visit our Cookies Policy or + the Cookies section of our Privacy Policy.

+

Use of Your Personal Data

+

The Company may use Personal Data for the following purposes:

+ +

We may share Your personal information in the following situations:

+ +

Retention of Your Personal Data

+

The Company will retain Your Personal Data only for as long as is necessary for the purposes set out in this Privacy + Policy. We will retain and use Your Personal Data to the extent necessary to comply with our legal obligations (for + example, if we are required to retain your data to comply with applicable laws), resolve disputes, and enforce our + legal agreements and policies.

+

The Company will also retain Usage Data for internal analysis purposes. Usage Data is generally retained for a + shorter period of time, except when this data is used to strengthen the security or to improve the functionality of + Our Service, or We are legally obligated to retain this data for longer time periods.

+

Transfer of Your Personal Data

+

Your information, including Personal Data, is processed at the Company's operating offices and in any other places + where the parties involved in the processing are located. It means that this information may be transferred to — and + maintained on — computers located outside of Your state, province, country or other governmental jurisdiction where + the data protection laws may differ than those from Your jurisdiction.

+

Your consent to this Privacy Policy followed by Your submission of such information represents Your agreement to that + transfer.

+

The Company will take all steps reasonably necessary to ensure that Your data is treated securely and in accordance + with this Privacy Policy and no transfer of Your Personal Data will take place to an organization or a country + unless there are adequate controls in place including the security of Your data and other personal information.

+

Delete Your Personal Data

+

You have the right to delete or request that We assist in deleting the Personal Data that We have collected about + You.

+

Our Service may give You the ability to delete certain information about You from within the Service.

+

You may update, amend, or delete Your information at any time by signing in to Your Account, if you have one, and + visiting the account settings section that allows you to manage Your personal information. You may also contact Us + to request access to, correct, or delete any personal information that You have provided to Us.

+

Please note, however, that We may need to retain certain information when we have a legal obligation or lawful basis + to do so.

+

Disclosure of Your Personal Data

+

Business Transactions

+

If the Company is involved in a merger, acquisition or asset sale, Your Personal Data may be transferred. We will + provide notice before Your Personal Data is transferred and becomes subject to a different Privacy Policy.

+

Law enforcement

+

Under certain circumstances, the Company may be required to disclose Your Personal Data if required to do so by law + or in response to valid requests by public authorities (e.g. a court or a government agency).

+

Other legal requirements

+

The Company may disclose Your Personal Data in the good faith belief that such action is necessary to:

+ +

Security of Your Personal Data

+

The security of Your Personal Data is important to Us, but remember that no method of transmission over the Internet, + or method of electronic storage is 100% secure. While We strive to use commercially acceptable means to protect Your + Personal Data, We cannot guarantee its absolute security.

+

Children's Privacy

+

Our Service does not address anyone under the age of 13. We do not knowingly collect personally identifiable + information from anyone under the age of 13. If You are a parent or guardian and You are aware that Your child has + provided Us with Personal Data, please contact Us. If We become aware that We have collected Personal Data from + anyone under the age of 13 without verification of parental consent, We take steps to remove that information from + Our servers.

+

If We need to rely on consent as a legal basis for processing Your information and Your country requires consent from + a parent, We may require Your parent's consent before We collect and use that information.

+

Links to Other Websites

+

Our Service may contain links to other websites that are not operated by Us. If You click on a third party link, You + will be directed to that third party's site. We strongly advise You to review the Privacy Policy of every site You + visit.

+

We have no control over and assume no responsibility for the content, privacy policies or practices of any third + party sites or services.

+

Changes to this Privacy Policy

+

We may update Our Privacy Policy from time to time. We will notify You of any changes by posting the new Privacy + Policy on this page.

+

We will let You know via email and/or a prominent notice on Our Service, prior to the change becoming effective and + update the "Last updated" date at the top of this Privacy Policy.

+

You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are + effective when they are posted on this page.

+

Contact Us

+

If you have any questions about this Privacy Policy, You can contact us:

+ \ No newline at end of file