Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Mailchimp pop up

    General Discussion
    2
    10
    720
    Loading More Posts
    • 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.
    • R
      robsdonatini last edited by

      Hello there!
      I'm adding a pop up to a website for a client (that, unfortunately wants it everywhere). I did it with Mailchimp, I was wondering if

      1. is there's any chance to place it in the homepage AND in the get in touch page?
        The mailchimp pop up code is this.. but if I copy and past it in the page as html it wont' work, it only work in the custom head html, but I'm not sure how to say trigger it also on the contact page..

      2. Do you think is possible to avoid it only shows once (mailchimp pop up are made for clearing the cache)? What would you reccomend for this?

      Thank you so much in advance for any help to one of these issues.

      Here the sample of pop up
      www.theamikkelsen.com

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Dear @robsdonatini
        you can make it easy:

        Paste it into the html code if this works well. And then just hide the box with CUSTOM CSS on the pages where you don't want it.

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • R
          robsdonatini last edited by

          @robsdonatini said in Mailchimp pop up:

          Thank you so much in advance for any help to one of these issues.

          Thanks, but unluckly the pop up code is already coded with the cookie cleaning. I was wondering if there's any to avoid this, but I guess is something with js to block this feature inside the pop up.

          thanks anyway

          1 Reply Last reply Reply Quote 0
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Dear @robsdonatini
            what do you use the cookie cleaning thing for?

            Best!

            Marius

            PS: You could code the popup very easily.

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • R
              robsdonatini last edited by

              @mariusjopen said in Mailchimp pop up:

              what do you use the cookie cleaning thing for?

              Dear Marjus
              I needed to clean the cookie to always have the pop up visible!
              R

              1 Reply Last reply Reply Quote 0
              • mariusjopen
                mariusjopen Global Moderator last edited by

                Ah ok,
                I understand now.
                LayTheme is coded as a single Javascript website. So the head content will load only once in the beginning. And not on every refresh.
                When you put the popup in the head, it will get called only once.

                In this case I would code the popup with jQuery myself. That is very simple. Will take a code probably 30 minutes.

                Best!

                Marius

                www.mariusjopen.world

                1 Reply Last reply Reply Quote 0
                • R
                  robsdonatini last edited by robsdonatini

                  @mariusjopen said in Mailchimp pop up:

                  In this case I would code the popup with jQuery myself. That is very simple. Will take a code probably 30 minutes.

                  Ehi thanks, but do you know if coding a pop up would still be possible to rely on mailchimp completely? So that the signup form allow to subscribe directly without passing to the second page of mailchimp and re-enter the address? basically working as this pop up here

                  My question is.. do you think that it would be possible to make the following default script of mailchimp for pop up

                  <script type="text/javascript" src="//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script><script type="text/javascript">window.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us6.list-manage.com","uuid":"87ff200a38e7e7963238672d6","lid":"6e1a1ab654","uniqueMethods":true}) })</script>

                  clear the cookie with this
                  function delete_cookie( name ) {
                  document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;';
                  }

                  this would probably affects gdpr cookie as well?

                  thanks

                  r

                  1 Reply Last reply Reply Quote 0
                  • mariusjopen
                    mariusjopen Global Moderator last edited by

                    Dear @robsdonatini
                    maybe I think too simple. But what about this solution:

                    1. Make a div and place the Mailchimp field in it. That people can enter their email and press confirm.
                    2. With CSS make it position fixed and position it where you want.
                    3. Hide it with CSS
                    4. Write a little jQuery which makes it visible on a specific event

                    IFOr this you don't need a cookie.

                    Best!

                    Marius

                    www.mariusjopen.world

                    1 Reply Last reply Reply Quote 0
                    • R
                      robsdonatini last edited by

                      @mariusjopen said in Mailchimp pop up:

                      With CSS make it position fixed and position it where you want.

                      Dear Marius, it's what I did, thank you!
                      The mailchimp pop up was pretty hard to customize for cookies :)

                      thanks for the help

                      roberta

                      1 Reply Last reply Reply Quote 0
                      • mariusjopen
                        mariusjopen Global Moderator last edited by

                        Dear @robsdonatini
                        great! Happy to hear! Yes. Stuff like that can be annoying.

                        Best!

                        Marius

                        www.mariusjopen.world

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Before you post

                        Use the Search Feature. Maybe there is already a solution to your issue.

                        1. Update Lay Theme and all Lay Theme Addons
                        2. Disable all Plugins
                        3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                        4. Now see if your problem solved itself
                        5. Go here, see if your problem is listed here:
                        Troubleshooting

                        When you post:
                        1. Post a link to where the problem is
                        2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                        Thanks!

                        Online Users

                        W
                        J

                        Recent Topics

                        • S

                          Theme crashed - because of Polylang?

                        • J

                          Split Screen just on front page / subpages without the split?

                        • Y

                          image quality dropped

                        laytheme.com