За конверсии лить можно.
Пиксель на страницу спасибо.
Если льешь через
трекеры, то в них есть уже функционал проброса пикселя.
если нет, то на прокладку парсер размещать пикселя и потом пробрасывать его как параметр на страницу спасибо.
<script type="text/javascript">
const firstSection = document.querySelector('.page-section');
const header = document.querySelector('.header');
const mobileOverlayNav = document.querySelector('.header-menu');
const sectionBackground = firstSection ? firstSection.querySelector('.section-background') : null;
const headerHeight = header ? header.getBoundingClientRect().height : 0;
const firstSectionHasBackground = firstSection ? firstSection.className.indexOf('has-background') >= 0 : false;
const isFirstSectionInset = firstSection ? firstSection.className.indexOf('background-width--inset') >= 0 : false;
const isLayoutEngineSection = firstSection ? firstSection.className.indexOf('layout-engine-section') >= 0 : false;
if (firstSection) {
firstSection.style.paddingTop = headerHeight + 'px';
}
if (sectionBackground && isLayoutEngineSection) {
if (isFirstSectionInset) {
sectionBackground.style.top = headerHeight + 'px';
} else {
sectionBackground.style.top = '';
}
}
//# sourceURL=headerPositioning.js
</script>
это для примера. Но я думаю любой java developer - студент, может с этим помочь. Под твои конкретные цели.