newsletter pop up module on other landing pages

Support desk for Multipurpose Quark Theme
GK User
Thu Apr 07, 2016 5:18 am
12/3 quick launch ecommerce quark
www.ahgoobaby.com

I am now setting up google adwords campaigns for different product landing pages on my quark site. Relevance ranking for google has a lot to do with whether people who click ads stay on the site and do not back away. I believe the pop up newsletter (which I am using for customers to receive an immediate promotion code) is a way to keep the customer engaged after landing on that page. Right now it appears the newsletter appears on the home page, but how do I get it to appear on other pages as well? For example I'm promoting this landing page: http://www.ahgoobaby.com/index.php/our-store/cover/the-lollipop-onesie and would like new customers who first see this landing page from a google ad to also see the newsletter pop up module pop up and engage them. How is that possible?
User avatar
Expert Boarder

teitbite
Mon Apr 11, 2016 3:22 pm
Hi

All You need to do is to make sure newsletter module is published to all pages. I can see it already under this adderes.
User avatar
Moderator

GK User
Thu Apr 14, 2016 6:46 pm
ok - thanks. must be some cookie issue with my browser as it is only showing up on the home page. How do i make changes to chrome so that I can make sure the cookie aspect isn't preventing me from testing this for myself?
User avatar
Expert Boarder

teitbite
Wed Apr 20, 2016 8:35 am
Hi

Edit file /layout/default.php

Code: Select all
    <?php if($this->API->modules('newsletter') && !isset($_COOKIE['gk-newsletter-popup'])) : ?>
    <div
       id="gk-newsletter-popup"
       data-display="<?php echo $this->API->get('newsletter_display', 'after_time'); ?>"
       data-scroll="<?php echo $this->API->get('newsletter_scroll', '1000'); ?>"
       data-time="<?php echo $this->API->get('newsletter_time', '10'); ?>"
       class="hidden-popup"
    >
        <a href="#" id="gk-newsletter-popup-close">&times;</a>
         <jdoc:include type="modules" name="newsletter" style="none" />
    </div>
    <?php endif; ?>


replace with:

Code: Select all
    <div
       id="gk-newsletter-popup"
       data-display="<?php echo $this->API->get('newsletter_display', 'after_time'); ?>"
       data-scroll="<?php echo $this->API->get('newsletter_scroll', '1000'); ?>"
       data-time="<?php echo $this->API->get('newsletter_time', '10'); ?>"
       class="hidden-popup"
    >
        <a href="#" id="gk-newsletter-popup-close">&times;</a>
         <jdoc:include type="modules" name="newsletter" style="none" />
    </div>
User avatar
Moderator

GK User
Thu Apr 21, 2016 6:00 pm
OK - thanks. Can you tell me what the current hiding rules are in the stock template? If a customer closes the newsletter pop up box without submitting anything, does it perpetually continue to appear on subsequent visits or does it stop popping up after x number of visits regardless of whether the customer submits or not.

It is my understanding that the default popup only disappears after someone submits their email address, correct?
User avatar
Expert Boarder

teitbite
Mon Apr 25, 2016 2:00 pm
Hi

Popup will not longer be showing after clicking the X button. Click will add a cookie to browser and if website will recognise that such cookie exists it will not show newsletter. Cookie will be removed from browser after a week.
User avatar
Moderator

GK User
Mon Dec 12, 2016 3:11 am
Is there a way to reduce the time to less than 1 week, such as 1 hour? That is well beyond the most time anyone spends on our site at any given day.

Separately, if the customer submits their email address, will the pop up ever return? My interest in removing the pop up completely is only after they have actually submitted their email address. Until that happens, I would like the pop up to keep coming up each time they return to the site (which is anything greater than 1 hour), regardless of whether they closed the box. The trick is to distinguish between closing the box and submitting their email address, as I wouldn't want the box continuing to ask them for their email address after they have actually given it to us.
User avatar
Expert Boarder

teitbite
Wed Dec 14, 2016 2:02 pm
Hi

In template settings in Features tab at the very bottom You can set time after which popup will show again.

I'm afraid popup will still be showing after submitting. Newsletter module got couple of additional settings, which still has to be accessible since law states that user needs to have a possibility to unsubscribe.
User avatar
Moderator

GK User
Fri Apr 28, 2017 9:44 am
Hello everyone,
need help for the newsletter module. On the ecommerce template, the popup newsletter appears when the visitor uses a computer; However, the popup does not appear on mobile when the resolution of the screen is too small. Is there a solution to make appear the popup on mobile or to make appear a module especially when the resolution does not allow the display of the popup newsletter.

Thank you for your help
User avatar
Fresh Boarder

teitbite
Wed May 03, 2017 9:04 am
Hi

Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
@media (max-height: 1040px) {
#gk-newsletter-popup {
    display: block;
}
}
User avatar
Moderator


cron