AutoDealer.io Docs
Website & storefront

Add custom code (chat widgets, other pixels)

Inject your own header and footer code (chat widgets, other vendors' pixels, verification tags) onto your public storefront. Google Analytics, Tag Manager and the Meta Pixel have their own fields.

Who: Owner or ManagerPlan: All plans

Add snippets we do not have a field for to your public website: chat widgets, another vendor's pixel, site-verification tags. The code runs only on your public storefront, never in your dashboard.

Google Analytics, Google Tag Manager and the Meta Pixel do not need to be pasted here. Enter their ids under Website, Measurement and privacy instead (see Google Analytics, Tag Manager, the Meta Pixel and the consent banner): we write the tag, a typo cannot break a page, and the consent banner covers them.

WhereDashboardWebsiteAdvancedCustom code

Add your code

  1. Go to Website in the left nav.
  2. Scroll to the bottom and click Advanced to expand it (it's collapsed by default).
  3. Find the Custom code card.
  4. Paste your snippet into Header code, Footer code, or both (see which to use below).
  5. Click Save custom code.

Saving purges your storefront's cache, so your snippet goes live on every public page within moments. There's no need to re-publish from the builder.

  • Header code loads near the top of every public page. Use it for most analytics and verification tags, such as Google Analytics (gtag.js), Google Tag Manager, and search-engine site-verification meta tags.
  • Footer code loads at the end of every public page. Use it for chat widgets and conversion/tracking pixels.

When in doubt, follow the instructions from whoever gave you the snippet. They'll usually say "add this to the <head>" (Header code) or "before the closing </body> tag" (Footer code).

Paste the full snippet exactly as the provider gives it to you, including the <script> tags. Scripts run for real on your live site.

Where it runs (and where it doesn't)

  • It runs only on your public storefront, the site your buyers see.
  • It never runs in your dashboard, the admin area, or on sign-in pages.
  • It does not run inside the visual builder's live preview, so your analytics won't fire (and a broken snippet can't break the builder) while you're editing.
  • When the consent banner is on (Website, Measurement and privacy), your custom code waits for the visitor's yes like the tags do, and a browser sending Global Privacy Control never loads it.

Your code is added to your public site exactly as you enter it; it is not checked or sanitized. A bad snippet can break your storefront. Only paste code from sources you trust. Each box accepts up to 20,000 characters. To remove a snippet, clear the box and click Save custom code.

FAQ

Which box do I use for Google Analytics?

Neither. Enter your measurement id under Website, Measurement and privacy, and remove any Google tag or Tag Manager snippet you had pasted here so it does not load twice. Site-verification meta tags go in Header code.

Which box do I use for a chat widget or a tracking pixel?

Footer code. Chat widgets and conversion pixels are designed to load at the end of the page.

My tag isn't firing. What's wrong?

Check three things: (1) you saved with Save custom code, (2) you're testing on your live public storefront, not the dashboard or the builder preview (custom code is intentionally skipped in both), and (3) the snippet is complete (it includes its <script> tags). If it still doesn't fire, re-copy the snippet from the provider, since a partial paste won't run.

Can my changes break my website?

Yes. The code is injected as-is with no validation, so a malformed snippet can break page rendering. If your storefront looks broken after a save, clear the offending box, save again, then re-add the snippet carefully.

Who can edit custom code?

Only an Owner or a Manager. Salespeople don't see this control.

Can the code touch my dashboard or customer data?

No. It's confined to your public storefront's pages and never loads in the dashboard, admin, or sign-in areas. Note that AutoDealer.io support can block a dealer's custom code if a snippet is found to be unsafe; if your saved code suddenly stops loading, reach out to support.

On this page