Skip to main content

Hi all,


NEWBIE Just getting started…


I am looking here…



My basic simple goal is to be able to create code that will:



  • be able to gather leads for 1 user on a timed schedule

  • get them in some kind of format like JSON /XML or CSV file etc.

  • then be able to populate the results into an existing database table in the office.


I am somewhat familiar with java script - html and php…


I am a bit unclear how to get started with the WebHook notification functionality.


This newbie could use some clear info how to start getting this going?


ALSO - Are there any simple demo pages - to help see how all this works?


Thanks in advance


DAVE

Hi @dealtek,


There are a few gaps in your post about exact requirements but here is a bit more documentation about Unbounce and webhooks.


On the page linked above, you can also find an example PHP source you can use as a starting point.


Your particular implementation would depend largely on the “existing database table in the office”.


Keep us posted.


Best,

Hristian


Thanks very much for the good start - the php page will help a lot.


Is there a way to set up a test account so I can get this setup before using the clients actual data?


I am wondering if there is a test area - or demo lead test form - where I can send the form test to my php page that I created to test things out


Is there some Test Data Send form ( form submission webhook) pre populated that I can get to use to send to my PHP web form that I got from the Documentation?


Another question : If I start a free trial - what type of account do I need - to do the testing mentioned above?


Hi @dealtek,


Webhooks are set at the page level. All you need to do is create a new page with a form and set the webhook endpoint to your PHP script.


You can do the above either from your client’s account or if you create an account for yourself.


Hi Hristian,


THANKS MUCH FOR THE HELP!


I got a starter page set up…



  • I created a new account

  • I created a new test landing page with a form

  • I set the webhook to go to my php (from your demo page suggestion)

  • I got it to send an email successfully


NOW I am trying to add extra requested fields:


um_broker

um_source

utm_campaign

utm_medium


I am not sure how to set this up.


I read this down below - but not working yet…


For the webhook FIELD MAP:




  • I added 1 custom field = utm_campaign with text string = utm_campaign




  • I added 1 custom field = um_broker with text string = um_broker




  • I added 1 custom field = um_source with text string = um_source




  • I added 1 custom field = utm_medium with text string = utm_medium




  • then I added the same custom fields to the form…




  • when the email is sent it says just the raw string :




First Name = JOE - this works

utm_campaign = utm_campaign (just raw text)

um_broker = um_broker (just raw text)

um_source = um_source (just raw text)

utm_medium = utm_medium (just raw text)


!!! First this newbie is not even sure what these field are for (but they were requested by client)?

!!! Do I need to set some thing up in settings to activate these fields with real data? Like do I set utm_campaign = ‘Summer Campaign’ somewhere in the site? or what?


Thanks in advance


Dave




and this post is now longer active?


Q: Is there a newer link that works?


Hey Shuki - Andrew’s exactly right. We’ve also got a post at http://support.unbounce.com/entries/3...23 that demonstrates how to do this.


In addition - I tried adding a url string to the web hook like:


http://mysite.com/test/fm/addnew.php?um_source=test1&um_broker=test2


but the email field results did not pick this up…


Any Ideas?


now I tried adding


http://unbouncepages.com/mytest1?coupon=3


but it would not allow the ? so it didn’t work




this is not working either…?


Any Ideas?


Hi @dealtek,


You need to leave the values empty (text strings in your example), otherwise, that’s the value that will always get passed to the webhook.


UTM parameters and hidden fields in general will be automatically fielded at the page level. Meaning you tag your landing page URLs with the proper UTM/URL tags and Unbounce will fill the hidden fields with the data from these when the page loads.


Best,

Hristian


Hi Hristian,


THANKS MUCH FOR YOU HELP! - at this point it seems to be working!


also… just for the heck of it…


on this page



this link not found = If you’re interested in manual tagging, check out this detailed article for how to do it.


Q: Is there any updated version of this manual tagging process?


Reply