Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
Excellent. I'll see what I can make happen with this. Thanks!
Hmmm. That makes sense. Is there a way to fire separate dataLayer push events for each form then?
Thanks for the response @SanfordWhiteman . I've only recently started working with APIs and have only worked with the code I posted. No doubt I missed that the code in the blog was also related to the API 🙂 I can't publicly share a sample page but I can pose this question. If a page had the block o...
Thanks. I'm trying to grasp how that blog post applies to using the Marketo API. Below is the typical code used to render a form on the page and return a response on a successful submission. What I am finding is that when I have two separate forms on the same page(different form ID's) Both form conf...
Very simple. I need to have the ability to add various Marketo forms on the same page. Is there a way to do this?
Can I DM you the page?
Didn't work 😥
Hmm. Doesn't GTM create the dataLayer? But I guess this is custom data so I would need to add in the following before the push() correct? window.dataLayer = window.dataLayer || [];
Not sure if I should start a new thread or not but I am having issues with this code now that I have finally had a chance to test. When I add that push() instead of the form submitting and the confirmation message showing the page refreshes. Why would that be?
Just thinking through this. I could use the "marketo.success" value for event as the trigger for a custom HTML tag right? Then I can use the built in hostname variable along with a lookup variable to populate the website. I think that will work.