Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
seatocity

Adding Custom Code for Email Subscription

Question

I've added custom code to 3 pages on my website for an email subscription that goes to Marketo instead of the squarespace email campaign.

When I first arrive to my website (regardless of page), the subscription box is there. When I switch to a new page that also has the subscription page, the subscription box is not there. When I return to the original page, the subscription box is no longer there.

The subscription box is only live one the first page I land on - not 1 specific page. Once I switch pages, it disappears altogether.

Anyone have a solution?

Thanks!

Edited by seatocity
Initial Revision

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

Thank you so much!

If I disable the Ajax loading and it messes up other parts of my site, can I just recheck "enable Ajax loading" and the rest of my site will work again?

Want to try this but want to know I can undo it if it doesn't work.

Thanks for you help!

Share this post


Link to post
  • 0

Yes you can.

However, the better solution is to re-write and relocate the code. Code in per-page injection won't fire when a page is loaded with Ajax.


If a response has helped you, please give thanks using the  like-20-mag.png.3997345d620e40b4760b5d7a667cad54.png button.
Need personalised help? I'm a professional Developer who works with Designers internationally. You can book me via my company's website. www.sf.digital

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...