Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Embed klaviyo email signup form

Embed klaviyo email signup form

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 609 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    copytheory
    wrote last edited by
    #1

    Hey, for whatever reason I cannot manage to embed the newsletter signup form on a page. I tried out +HTML and + Shortcode but neither works. Any idea what causes the problem?

    I tried to investigate and chrome says this: "Scripts that have a dependency on [wc-settings, wc-blocks-checkout] must be loaded in the footer, klaviyo-klaviyo-checkout-block-editor-script was registered to load in the header, but has been switched to load in the footer instead. See https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5059"

    Hope you can help me out here. Thanks in advance :)

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote last edited by
      #2

      hey! what does the shortcode or embed code look like?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        copytheory
        wrote last edited by
        #3

        Hey, its this one: <div class="klaviyo-form-WMgwYi"></div>

        I saw the form today and subscribed for test purposes, went all fine and now again I cannot see it anymore on copytheory.org

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote last edited by
          #4

          Hey, I think you need to do this:

          Wherever you want this form in the gridder, you have to add it using +more -> +html:

          <div class="klaviyo-form-WMgwYi"></div>
          <script type="text/javascript" src="https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=PUBLIC_API_KEY"></script>

          Where PUBLIC_API_KEY needs to be your correct API key.
          Furthermore, in Lay Options, you need to check the setting "Disable Ajax."

          You may also want to disable any caching plug-ins to rule out them being the cause.
          At the moment, I can see it:

          image.png

          If you want to, you can also send me your WP admin login to info@laytheme.com if you want me to take a closer look to see if you did it right.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          I also code custom websites or custom Lay features.
          šŸ’æ Email me here: šŸ’æ
          info@laytheme.com

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

          This often solves issues you might run into

          When you post:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          Online Users
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search