Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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 1.1k Views 2 Watching
  • 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
    C
    copytheory
    wrote on 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
      arminunruhA
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • C
        C
        copytheory
        wrote on 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
          arminunruhA
          arminunruh
          Global Moderator
          wrote on 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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Online Users
          E
          eduardsales
          D
          dotsandducks
          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