Squarespace: App shows up only after refreshing page
There are a few Squarespace sites that have trouble loading our App on initial load. This happens in just a few themes, as far as we know. Typically, the user will describe the problem as follows:
- When I'm on my site's home page, then click on my "What's New" page, the Social Feed doesn't appear.
- Once I refresh the page, the App loads correctly.
- When I open the direct link of the page in my browser, it loads correctly.
The issue is the async attribute in our script code. The user can easily fix this by injecting the POWr script into the
Add Script to Site
1. In the Squarespace editor for your site, go to Settings > Advanced 2. Click Code Injection and in the Header section, paste the script below 3. Click Save Note: This script must only be installed once. If the POWr script is already present, move onto the next step.
Insert Code Element
1. Navigate to the page editor where POWr Map will be installed and choose an Insert Point 2. Find and select the Code element from the list of options 3. Copy and paste the code below into the Code box and click Apply