Add custom code and tracking to your site
Paste tracking codes, chat widgets, and other scripts into every page of your website and blog.
·2 min read
Go to Site → Custom code. Add your Meta Pixel and Google Analytics at the top, or paste any other code into the three boxes under Your own code, then click Save code.
Add a tracking code
- undefinedOpen Site → Custom code.
- undefined
For Meta or Google Analytics, use the Tracking cards. They also send purchases and checkouts as events.
- undefined
For anything else, like Google Tag Manager, TikTok, Hotjar, or Plausible, paste the tool's code into Inside the head.
- undefinedClick Save code, then open a live page to check it.
Which box to use
| Box | Use it for |
|---|---|
| Inside the head | Most tracking codes. If a tool doesn't say, put it here. |
| At the top of the body | The part a tool says goes right after the opening body tag. |
| At the bottom of the body | Chat widgets and scripts that can load last. |
Where the code runs
- Every live page of your website, your blog, and your product pages.
- Never in the editor, so a broken script can't stop you editing.
- Your link in bio runs your Meta Pixel and Google Analytics, but not your own code. So does a product with a waitlist on or an application first, since it shows Eden's own product page.
If something's not working
- The page looks broken. Code runs exactly as you paste it. Clear the box you last changed, save, and reload the page.
- The tool says it can't find its code. Check the page that's live, not the editor. Your code only runs on live pages.
Related articles
Ask the community
Get answers from the team and other creators.
Ask in the Eden help channel, see how others use the app, and come to the live workshops. Free with any Eden account.
Join the Eden CommunityStill stuck?
Email us. A real person reads every message.
Tell us what you tried and where you got stuck. We answer within one business day.
[email protected]