Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    As built in functionality no this cannot be done without some work. This is already a feature in the works which will be coupled with analytics for tracking opens etc.

    You could create a solution for your needs like so though until the functionality is bnilt in.

    Create to modals (eModal-1, eModal-2)

    Use a bit of javascript to generate a random selection after 6 seconds and open the modal as well as fire a google analytics event to track which was opened, which could then be used as part of a goal funnel to track which works better.

    the JS would look something like.

    setTimeout(function(){
      var modal_id = Math.floor(Math.random() * 2) + 1;
      // Fire google event code here tracking which modal will load from the modal_id variable.
      $('#eModal-'+id).emodal('open');
    }, 6000);

    Hope this helps, please take a moment to rate and review the plugin and or support here

    Thread Starter etech0

    (@etech0)

    I will give this a try. Do I need to have the pro version for it to work?

    Plugin Author Daniel Iser

    (@danieliser)

    nope, although this will be built in functionality in upcoming versions with an options panel instead of coding. Will be much more advanced as well but the above is free of charge and you can customize it as you see fit.

    Please take a moment to rate and review the plugin and or support here

    Thread Starter etech0

    (@etech0)

    Thanks for your help. For some reason my modal doesn’t seem to be appearing. I’ve tried to narrow down the possible issue, and this line does not seem to be doing anything:

    jQuery(‘#eModal-1’).emodal(‘open’);

    Can you please help? Thanks!

    Thread Starter etech0

    (@etech0)

    Do you have any advice for me? Here is the URL where I’m trying to open the modal: https://dev.goinspire.com/

    When I paste this line into the console
    jQuery('#eModal-1').emodal('open');

    I get:

    TypeError: opts is null
    methods.open()easy-m...?b43574 (line 46)
    $.fn.emodal()easy-m...?b43574 (line 279)
    ()debugg...al code (line 1)
    ()debugg...al code (line 1)
    if(themes[opts.theme] === undefined)

    Please advise asap.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Split Testing?’ is closed to new replies.