x

Square Online: How do I set up a permanent announcement (pop-up window)?

Hi there!

 

I'm trying to set up an Announcement Banner (pop-up window) for my online site. I've attached a picture with my current settings.

 

No matter what I try to apply to it, I am unable to make this banner permanent. It suddenly disappear when I refresh the page, when I access the website for a second time, etc.

 

I'd like my announcement to be visible at all times. Is that possible?

 

Thanks a lot in advance, 

 

Ariane C.

 

Screen Shot 2020-08-12 at 8.01.47 PM.png

 

 

3,502 Views
Message 1 of 13
Report
1 Best Answer
Square Community Moderator

Best Answer

Hey @ArianeCloutier,

 

What tier of the Square Store with Weebly do you have with us?

 

I found this article that says you may need to have the Professional tier to see all the different pop-up customization options.

Ashley C
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.

View Best Answer >

3,477 Views
Message 2 of 13
Report
12 REPLIES 12
Square Community Moderator

Best Answer

Hey @ArianeCloutier,

 

What tier of the Square Store with Weebly do you have with us?

 

I found this article that says you may need to have the Professional tier to see all the different pop-up customization options.

Ashley C
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
3,478 Views
Message 2 of 13
Report

Oh! I’m using the Free tier, so that would make sense... 

Thanks a lot for your answer. I was confused!

 

Have a nice day,

 

Ariane C. 

3,475 Views
Message 3 of 13
Report
Square Community Moderator

@ArianeCloutier Any time! And you too!

Ashley C
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
3,472 Views
Message 4 of 13
Report
Beta Member

Hi,

 

I also have problems with creating a permanent announcement banner.

I am on the professional plan, however.

 

Since I want the announcement banner to be permanent I removed the close Icon.

Under the stopping conditions I deselected "do not display again after action button is clicked".

After publishing, when I click the button on the announcement, however, the banner is removed and doesn't show up again.

 

I went back into the settings and the "do not display again after action button is clicked" option was selected again.

It tried deselecting it again multiple times and it always seems to revert back to being selected (see attached screenshot).

 

Thanks in advance for your help,

Theresa

 

Screen Shot 2021-02-24 at 4.21.33 PM.png

3,257 Views
Message 5 of 13
Report
Square Community Moderator

Hey there, @Celsious

 

Welcome back to the Community! 

 

Appreciate you asking about this glitch you're experiencing. Definitely looks frustrating! 

 

I am going to recommend reaching out to our CS Team directly about this. After gathering all of the important information from you, they will be able to file a ticket with our engineers.

 

Thank you! 

 

 

 

  

Kassi
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
3,243 Views
Message 6 of 13
Report
Beta Member

Hi Kassi,

 

thank you for your reply.

Reaching out via the link you provided right now.

 

Best,

Theresa

3,240 Views
Message 7 of 13
Report

Has anyone advised when this will be fixed? I'm having the same issue now (3/13/2022) that you reported 2/24/2021.

 

I saw the resolution about editing the tracking tools for Google Analytics, but I don't have an option to edit. I have the middle Square plan.

 

Thanks, and have a blessed day!

2,368 Views
Message 8 of 13
Report
Beta Member

Hi @Celsious @OnLineSeller @LashesPop ,

I was able to get this working making the banner announcement permanent on every page load by inserting code into the header. Here are the steps:

 

  1. Navigate to Online > Settings > Tracking Tools > Add custom header code > Add new code (your navigation stack might be different from mine, but the header code code will most likely be under Tracking Tools regardless)
  2. Input your Custom code name. You can name yours anything, mine is "Clear cookies on each page load"
  3. Paste the following code into the Custom code section
  4. Choose <head> (Recommended) for the Where would you like to place this code? section
  5. Save

 

<script>
var cookies = document.cookie.split(";");

for (var i = 0; i < cookies.length; i++) {
var cookie = cookies[i];
var eqPos = cookie.indexOf("=");
var name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie;
document.cookie = name + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT";
}
</script>​

 

Code reference: https://stackoverflow.com/questions/179355/clearing-all-cookies-with-javascript 

This worked perfectly fine for me and I hope it does too for y'all!

 

Cheers,

Jerry

Regards,
Jerry

Vancouver, BC, Canada
Founder at JUSTSQUAREIT®
A Square Certified Web Design Agency
Need a website for your business? Create a Square Online website with us @JUSTSQUAREIT®
2,063 Views
Message 9 of 13
Report

Here is a cheeky way to do it using popups.

 

First create a top banner popup:

 

Online - Communications - Popups - Make an Announcement

 

Now popups don't have an option to display everytime, only once per visit. To get around this, you need to clear the users cookie each page load. You can do this by injecting a bit of javascript into your site header in the tracking section:

 

Online - Settings - Tracking Tools - Google Analytics - Edit

 

Paste in this code, and this save 

 

<script>

setInterval(function() {
  if (window.leadForm && window.leadForm["form_ids"].length > 0) {

    document.cookie = "leadform_" + window.leadForm["form_ids"][0] + "_viewed=; Max-Age=-99999999;";
}, 1000);

</script>

 

Now the banner will appear on every page load. 

2,942 Views
Message 10 of 13
Report

I'm having this same issue. I need to have a banner displayed constantly every time someone visits the site, but it's only showing up once unless the user clears their history/cache which makes my banner useless for someone coming back to the site after their initial visit.

 

I don't have the option to edit Google Analytics. I'm on the middle Square plan. Any suggestions are appreciated.

2,367 Views
Message 11 of 13
Report

Is this only available on desktop editor Can? Can the announcement option edit by mobile version too?

2,842 Views
Message 12 of 13
Report

The announcements are certainly visible on both desktop and mobile, but I wouldn't bother trying to edit your site on mobile. Get to a desktop and do it properly.

2,839 Views
Message 13 of 13
Report