Black FridayUp to 50% off a full year of EdenSee the deal
Store & selling

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

  1. undefined

    Open Site → Custom code.
  2. undefined

    For Meta or Google Analytics, use the Tracking cards. They also send purchases and checkouts as events.

  3. undefined

    For anything else, like Google Tag Manager, TikTok, Hotjar, or Plausible, paste the tool's code into Inside the head.

  4. undefined

    Click Save code, then open a live page to check it.

Which box to use

BoxUse it for
Inside the headMost tracking codes. If a tool doesn't say, put it here.
At the top of the bodyThe part a tool says goes right after the opening body tag.
At the bottom of the bodyChat 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.
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 Community
Still 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]