* Replace GTM ID
* Comment regarding container id added | GTM ID updated in mozfest base
* Linting corrections: indentation
* Update initial GTM setup - replace first ReactGA event: footer donate button
* Files updated from ReactGA.event to dataLayer.push: primary nav, submission form, layout signup
* Analytics events updated from ReactGA.event to dataLayer.push
* Share vote tap events updated from ReactGA to GTM dataLayer.push
* ReactGA module removal and events update for cta-button, header-donate, and social share
* Footer social button event updated
* home-banner, primary-button, and homepage events updated
* homepage linting fix | participate donate, pulse profile, pulse profile list, and share button events updated
* CTA download event updated | ReactGA module removed from not used files
* Linting fixtures and integration tests
* Conflicts fixed in merge with main
* GTM ID correction after merged
* Duplicated angle bracket corrected
* csp_nonce template added to new inline script
* Update templates to remove Newsletter and use styling on Donate
* Remove primary nav newsletter tests
* Remove nav newsletter js
* Adjust donate button display
* Remove all `zen_mode` references from page models
* Create migration for `zen_mode` field removal in page models
* Remove zen mode references from `primary-nav.js` and `primary_nav.html`
* Fix `primary_nav-html` indentation to pass `djhtml` linting process.
* Axe suggestion improvements
* More accessibility updates
* Update network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html
Co-authored-by: Mavis Ou <mmmavis@users.noreply.github.com>
* Use class
* Allow for main element overwriting and wrapping
* Add wrapped header to remove empty <header> element
* Remove style-breaking main element from YT regrets template
* add <main> back to youtube regrets base template
Co-authored-by: Mavis Ou <mmmavis@users.noreply.github.com>
* cleanup and refactor side wide shared JS code
* clean up Google Analytics related code
* clean up 'dnt.js' code by merging it into 'common/google-analytics.js'
* forgot to uncomment a line of code
* move 'react-ga-proxy.js' to 'common' dir
* split code/modules further
* updates
* Update source/js/common/inject-react/join-us.js
Co-Authored-By: Pomax <pomax@nihongoresources.com>
* Update source/js/buyers-guide/analytics-events.js
Co-Authored-By: Pomax <pomax@nihongoresources.com>
Co-authored-by: Pomax <pomax@nihongoresources.com>
* added newsletter button
* newsletterbutton & form styles
* making form appear
* update mobile form & scroll event closing at desktop
* prettier format updates
* code simplication
* removed not in use mixin
* separate nav-newletter logic into its own JS file & improve UI interaction
* fixed linting errors
* turned nav-newsletter.js into a module with multiple public methods for primary-nav.js to call
* fixed linting errors and updated inline comments
* animation and styling tweaks
* opacity fix
* improve animation & scroll to close form
* update dismiss button text
* 2-column sign up form on larger screen
* classified nav-newsletter.js
* check DOM nodes before we do anything
* assign DOM nodes as a var
* add back missing DOM node
* code improvement
* forgot to update a few variables in my previous commit
* fix linting error