Hi @SanfordWhiteman I have added the javascript you supplied to the template page and we are not seeing the behavior we wanted to see in the segments. The page works fine in our B2B segment form but not functioning on the B2C form.
I have uploaded them here:
B2B form:
https://drive.google.com/file/d/1APx6KkF0Zl2Nsqnnb_7fzglJgZMOnLsw/view?usp=sharing
B2C form:
https://drive.google.com/file/d/1_RHiosx0eOLAqkfqjMMhRtocLb_fjmVL/view?usp=sharing
I would absolutely love to finish this
I don't see my code at all on https://engage.livelyme.com/pc-b2b.html nor https://engage.livelyme.com/pc-b2c.html.
So the forms are just behaving as they typically would.
Make sure all pages have exactly the same code, the last version provided.
You are correct @SanfordWhiteman it is not on those pages. I created those pages so you could see the forms without having to match the segment that would display those forms on one page.
The page that has your code is here: https://engage.livelyme.com/preference-center.html
This page serves the form based on matching the segment: b2c, b2b or default (has no segment).
What I was showing you in the videos was the testing of them when a lead falls into the segment b2b or b2c and how it was not working for the b2c segment.
Does this help or do you need me to do something else here?
Please add the code to the other pages, because that's the only way to test — I don't have a way of simulating your segments.
Here is the b2b page with your code:
https://engage.livelyme.com/b2b-test.html
here is the b2c page with your code:
https://engage.livelyme.com/b2c-test.html
Default page:
https://engage.livelyme.com/default-test.html
Thank you!
Isn't it behaving the same way on all 3 of those pages? Looks like it to me.
As an individual form it works fine. When they are combined for some reason the checkboxes do not perform. Here is how I tested:
https://livelyme.com/blog/ sign up for the newsletter using this email: anastasia.reyes+b2c4@livelyme.com
go to this form and you should now be ana: https://engage.livelyme.com/test-b2c.html and try the checkboxes they work now open this form https://engage.livelyme.com/preference-center.html in the same incognito browser and you should still be ana but the checkboxes do not work properly and they are both using the same template with the same code you provided.
You can also test the same behavior for the b2b form by opening a new incognito browser and visiting https://livelyme.com/employer/ and sign up for the newsletter with this email: anastasia.reyes+b2btwo@livelyme.com then go to this form: https://engage.livelyme.com/test-b2b.html and you should be this new profile with b2b in the email and now go to this page https://engage.livelyme.com/preference-center.html in the same incognito browser you should be her and it works fine.
Thank you for taking the time to do this I do think it helps identify the issue we are facing
@SanfordWhiteman - Happy Monday by the way 🙂
As an individual form it works fine. When they are combined for some reason the checkboxes do not perform. Here is how I tested:
https://livelyme.com/blog/ sign up for the newsletter using this email: anastasia.reyes+b2c4@livelyme.com
go to this form and you should now be ana: https://engage.livelyme.com/test-b2c.html and try the checkboxes they work now open this form https://engage.livelyme.com/preference-center.html in the same incognito browser and you should still be ana but the checkboxes do not work properly and they are both using the same template with the same code you provided.
You can also test the same behavior for the b2b form by opening a new incognito browser and visiting https://livelyme.com/employer/ and sign up for the newsletter with this email: anastasia.reyes+b2btwo@livelyme.com then go to this form: https://engage.livelyme.com/test-b2b.html and you should be this new profile with b2b in the email and now go to this page https://engage.livelyme.com/preference-center.html in the same incognito browser you should be her and it works fine.
Thank you for taking the time to do this I do think it helps identify the issue we are facing
This page doesn't have the latest code:
https://engage.livelyme.com/preference-center.html
Pls recheck that all 3 pages have the same (latest) version. Maybe you forgot to reapprove?
Also, it's becoming a better idea to put this code in a separate JS file and upload it to Design Studio. Then just point all the pages to that shared file (i.e. <script src="https://engage.livelyme.com/rs/272-DPG-597/images/unsubscribe-behaviors.js"></script>). Then it's 100% guaranteed that the pages can't be out of sync.
By golly you were right I didn't have the latest code on the preference center page and it was because I did not approve it (OMG so sorry!)
The code works and has worked all along I am so sorry for this back and forth and SO GRATEFUL for your help. 🙌