Use custom code on your ActiveCampaign page

Pages is available on the following plans:

  • Plus
  • Professional
  • Enterprise 

In this article, you'll learn two ways to add custom code to your landing page.

Add custom code to your page's settings

You can embed script tags and analytics tracking code to your page under Page Settings.

Note that custom code added in Page settings can only be viewed when the page is live. It cannot be viewed in the Page Builder.

To add custom code to your page's settings:

1. From Pages in your ActiveCampaign account, hover over the page you want to add custom code to and click "View Page Settings."

2. There will be two fields under "Custom Code": <head> and <body>. Type the code into either field.

Code blocks

If you're adding Google Analytics code to your page, you'll want to add it to the header.

See the "How to add your Google Analytics code to your ActiveCampaign page" help article for more information about that topic. (Help article coming soon.)

3. Click the "Save" button when finished.

Add custom code using the "Embed" block

If you wish to add your ActiveCampaign form, a Google Map, or Calendly widget to your page, you can do so with the "Embed" block.

Embed block

To add the "Embed" block to your page, drag it from the right pane into your page layout. Then paste the code into the code editor in between the two paragraph tags <p> located on the right pane. 

See the "Use the Embed block" help article for more information on how to use this block.

See the "How to add an ActiveCampaign form to your page" help article for more information on adding your ActiveCampaign form to your landing page.

Have more questions? Submit a request