Власний код на прелендінгу
Создание прелендингов · 3 хв чтения
Code Injection Points
GramPixel provides three injection points for custom code:
- Head End — injected before
</head>. Use for meta tags, stylesheets, and third-party scripts (e.g., Facebook Pixel, Google Analytics). - Body Start — injected right after
<body>. Use for tracking pixels (noscript) or overlay elements. - Body End — injected before
</body>. Use for JavaScript that needs the DOM to be loaded.
Common Use Cases
- Adding a Facebook Pixel for retargeting audiences
- Inserting Google Tag Manager
- Custom CSS for branding adjustments
- Countdown timer scripts
- Chat widgets or popups
Security Note
Custom code runs in the user's browser. Avoid injecting untrusted scripts. GramPixel does not sanitize custom code — you are responsible for its safety.