Skip to content

Commit

Permalink
[MIG] website_js_below_the_fold: Migration to 12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
smurf-U committed Jan 10, 2019
1 parent f673296 commit b2a3ca2
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 7 deletions.
10 changes: 5 additions & 5 deletions website_google_tag_manager/README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
==================
Google Tag Manager
==================
==========================
Website Google Tag Manager
==========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
Expand All @@ -17,13 +17,13 @@ Google Tag Manager
:target: https://github.com/OCA/website/tree/12.0/website_google_tag_manager
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/website-12-0/website-12-0-website_google_tag_manager
:target: https://translation.odoo-community.org/projects/website-11-0/website-11-0-website_google_tag_manager
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/186/12.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|
|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to configure your Odoo website to support the
`Google Tag Manager <https://marketingplatform.google.com/about/tag-manager/>`_
Expand Down
3 changes: 2 additions & 1 deletion website_js_below_the_fold/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This is a technical module and have no graphical interface whatsoever.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/186/11.0
:target: https://runbot.odoo-community.org/runbot/186/12.0

Bug Tracker
===========
Expand All @@ -45,6 +45,7 @@ Contributors
------------

* Dennis Sluijk <[email protected]>
* Kaushal Prajapati <[email protected]>

Do not contact contributors directly about support or help with technical issues.

Expand Down
2 changes: 1 addition & 1 deletion website_js_below_the_fold/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'summary': 'This module moves Javascript assets '
'to the bottom of the page (below the fold)',
'category': 'Website',
'version': '11.0.1.0.0',
'version': '12.0.1.0.0',
'author': 'Onestein, Odoo Community Association (OCA)',
'license': 'AGPL-3',
'website': 'https://github.com/OCA/website',
Expand Down
2 changes: 2 additions & 0 deletions website_js_below_the_fold/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Dennis Sluijk <[email protected]>
* Kaushal Prajapati <[email protected]>
14 changes: 14 additions & 0 deletions website_js_below_the_fold/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
This module moves Javascript assets to the bottom of the page (below the fold)
preventing your website having render-blocking Javascript.

When a visitor enters your website the browser will parse the HTML result.
Whenever the parser encounters a script, it has to load and execute the script before it can continue parsing.
So with render-blocking Javascript (e.g. in the head tag) the time to render the above the fold content increases.

Without render-blocking Javascript (by e.g. loading it below the fold) the page first render occurs faster.
This may result in various benefits e.g. lower bounce rate.

More information:

* `Render-blocking Javascript <https://developers.google.com/speed/docs/insights/BlockingJS>`_
* `Above the fold <https://en.wikipedia.org/wiki/Above_the_fold>`_
5 changes: 5 additions & 0 deletions website_js_below_the_fold/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This is a technical module and have no graphical interface whatsoever.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/186/12.0

0 comments on commit b2a3ca2

Please sign in to comment.