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. Mailchimp pop up

Mailchimp pop up

Scheduled Pinned Locked Moved General Discussion
10 Posts 2 Posters 996 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.
  • R Offline
    R Offline
    robsdonatini
    wrote on Feb 25, 2019, 1:12 PM last edited by
    #1

    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
    0
    • M Offline
      M Offline
      mariusjopen
      Global Moderator
      wrote on Feb 25, 2019, 1:48 PM last edited by
      #2

      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
      0
      • R Offline
        R Offline
        robsdonatini
        wrote on Feb 28, 2019, 11:21 AM last edited by
        #3

        @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
        0
        • M Offline
          M Offline
          mariusjopen
          Global Moderator
          wrote on Mar 1, 2019, 1:02 PM last edited by
          #4

          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
          0
          • R Offline
            R Offline
            robsdonatini
            wrote on Mar 4, 2019, 3:17 PM last edited by
            #5

            @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
            0
            • M Offline
              M Offline
              mariusjopen
              Global Moderator
              wrote on Mar 6, 2019, 4:09 PM last edited by
              #6

              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
              0
              • R Offline
                R Offline
                robsdonatini
                wrote on Mar 12, 2019, 3:09 PM last edited by robsdonatini Mar 12, 2019, 11:49 AM
                #7

                @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
                0
                • M Offline
                  M Offline
                  mariusjopen
                  Global Moderator
                  wrote on Mar 13, 2019, 11:58 AM last edited by
                  #8

                  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
                  0
                  • R Offline
                    R Offline
                    robsdonatini
                    wrote on Mar 19, 2019, 9:49 AM last edited by
                    #9

                    @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
                    0
                    • M Offline
                      M Offline
                      mariusjopen
                      Global Moderator
                      wrote on Mar 21, 2019, 10:26 AM last edited by
                      #10

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

                      Best!

                      Marius

                      www.mariusjopen.world

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

                      2/10

                      Feb 25, 2019, 1:48 PM

                      8 unread

                      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.
                      2 out of 10
                      • First post
                        2/10
                        Last post
                      0
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Search