- This topic has 9 replies, 2 voices, and was last updated 3 years, 4 months ago by
Leo.
-
AuthorPosts
-
December 20, 2022 at 10:21 am #2468489
Myles
I’m working on a new site and want to add a button that opens a SUMO opt-in form.
I added a button to my GP home page, but I do not know where to add the trigger link SUMO has provided.
You can see the opt-in button on this page right after the hero section: https://wordpress-688581-2273186.cloudwaysapps.com/
SUMO provides me with this as the trigger link: Click Here
I can’t seem to get it to work. Can you assist with this?
December 20, 2022 at 11:42 am #2468570Leo
StaffCustomer SupportHi there,
SUMO provides me with this as the trigger link: Click Here
I don’t see anything there.
Can you confirm?
This wouldn’t be a theme-specific question either so you could check with SUMO’s support team at the same time.
December 20, 2022 at 12:02 pm #2468593Myles
Thanks for the quick reply.
This is the code:
<a data-sumome-listbuilder-id="6873fda4-d5fa-4e13-9706-81ee7652af67">Click Here</a>The issue is very similar to this thread (closest) I can find, I”m unsure where/how to place the code in GP.
https://generatepress.com/forums/topic/need-to-trigger-modal-pop-up-with-gb-button-click/
December 20, 2022 at 1:19 pm #2468652Leo
StaffCustomer SupportThe custom attribute/data attribute requires GB pro.
Can you confirm you have that?
If not then GB’s button block cannot be used for this.
December 20, 2022 at 1:21 pm #2468654Myles
Yes, I have GB Pro.
I tried using the Advanced section but I’m not sure if I”m entering in the right values in the right places.
December 20, 2022 at 1:25 pm #2468657Leo
StaffCustomer SupportTry adding
data-sumome-listbuilder-idin thedata-attributefield then6873fda4-d5fa-4e13-9706-81ee7652af67in the value.December 20, 2022 at 1:33 pm #2468666Myles
Thanks. Unfortunately, that didn’t work. The block still looks like it’s unclickable.
December 20, 2022 at 1:35 pm #2468668Leo
StaffCustomer SupportCan you first make sure the link
<a data-sumome-listbuilder-id="6873fda4-d5fa-4e13-9706-81ee7652af67">Click Here</a>when you just insert it using an HTML block?If so can you link me to the page in question?
December 20, 2022 at 2:21 pm #2468707Myles
Thanks, Leo.
Sorry, I wasted your time. I realized I didn’t install the SUMO code on my staging site! Rookie mistake!
December 20, 2022 at 2:36 pm #2468720Leo
StaffCustomer SupportNo problem 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.