Web To Lead

21/12/2015 by Valdir

Filed under Documentação Integração

Last modified 15/02/2016

Identificação de contatos via formulário

Crie seus próprios formulários dentro do seu site para capturar contatos e envie diretamente para a Jeenga.

Todos os atributos de contatos da Jeenga podem ser enviados com o uso do formulário. Inclusive atributos dinâmicos. (Ver Exemplo 1).
É possível enviar um evento junto com o mesmo formulário. (Ver Exemplo 2).

Endpoint: https://api.jeenga.com/jeenga-api/form/customer
Método HTTP: post

Parâmetros obrigatórios

j_apikey É a chave de identificação fornecida pela Jeenga (Encontrada no seu menu Integrações da plataforma Jeenga).
identifier ID único do Cliente (ele é responsável também por marcar seu contato como um cliente).
redirect_to URL para o qual o usuário deve ser redirecionado após o envio do formulário.

Exemplo 1: Envio de nome, e-mail e um atributo dinâmico

<form name="jeengaForm" action="https://api.jeenga.com/jeenga-api/form/customer" method="post" onsubmit="jeengaForm.identifier.value=jeengaForm.email.value">
	<input type="hidden" name="j_apikey" value="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" /><!-- required -->
	<input type="hidden" name="identifier" /><!-- required -->
	<input type="hidden" name="redirect_to" value="http://www.your-web-site-here.com?your-parameter=ok" /><!-- required -->
	<table>
		<tr>
			<td>Nome</td>
			<td><input type="text" name="name" /></td>
		</tr>
		<tr>
			<td>E-mail</td>
			<td><input type="text" name="email" /></td>
		</tr>
		<tr>
			<td>Atributo Dinâmico 1</td>
			<td><input type="text" name="atributo_dinamico_1" /></td>
		</tr>
		<tr>
			<td></td>
			<td><input type="submit" /></td>
		</tr>
	</table>
</form>

Exemplo 2: Envio de nome, e-mail e um evento.

<form name="jeengaForm" action="https://api.jeenga.com/jeenga-api/form/customer" method="post" onsubmit="jeengaForm.identifier.value=jeengaForm.email.value">
	<input type="hidden" name="j_apikey" value="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" /><!-- required -->
	<input type="hidden" name="identifier" /><!-- required -->
	<input type="hidden" name="redirect_to" value="http://www.your-web-site-here.com?your-parameter=ok" /><!-- required -->
	<input type="hidden" name="activity.event" value="Registrated" />
	<input type="hidden" name="activity.module" value="Registration" />
	<input type="hidden" name="activity.channel" value="Site" />
	<table>
		<tr>
			<td>Nome</td>
			<td><input type="text" name="name" /></td>
		</tr>
		<tr>
			<td>E-mail</td>
			<td><input type="text" name="email" /></td>
		</tr>
		<tr>
			<td></td>
			<td><input type="submit" /></td>
		</tr>
	</table>
</form>

Redirecionamento após o envio

Após o envio do formulário, o usuário será redirecionado para a URL fornecida através do parâmetro “redirect_to”.
Parâmetros de status são retornados via queryString para a URL de retorno, são eles:

j_status Status da operação (0: OK, 1: Customer inserido mas problemas na inserção da atividade, -1: Erro).
j_message Em caso de j_status não OK, uma mensagem explicativa sobre o problema.

Baixar um arquivo de exemplo: Integração via Formulário

32 Comments

  1. I evеry tіme uѕed tο гead piece of writing in news papers ƅut now as I am a user of web thereforе from now І
    am usіng net fоr posts, thanks to web.

    15/07/2018 - 14:46

  2. I conceive tһis site holds ѵery grеat writtеn articles сontent.

    13/07/2018 - 02:41

  3. I visited various web pages however the audio feature for audio songs existing at this site is truly superb.

    12/07/2018 - 19:04

  4. Hello, i think that i noticed you visited my weblog so
    i came to return the prefer?.I am trying to in finding things to improve my site!I suppose its good enough to use a few of your ideas!!

    12/07/2018 - 17:54

  5. Hurrah, that’s what I was seeking for, what a information! present here at this webpage, thanks admin of this web site.

    12/07/2018 - 14:40

  6. Attractive portion of content. I simply stumbled upon your web
    site and in accession capital to assert that I get actually enjoyed account
    your blog posts. Anyway I will be subscribing in your feeds or even I achievement you get right of entry to persistently fast.

    12/07/2018 - 13:47

  7. When I originally commented Ι clicked the “Notify me when new comments are added” checkbox
    and noԝ eacһ tіme ɑ comment is added I get four emails with the samе comment.
    Ιs tһere ɑny way үoս can remove people from thɑt service?
    Bless үou!

    12/07/2018 - 13:27

  8. Right away I am ready to do my breakfast, afterward having my breakfast coming again to read additional news.

    12/07/2018 - 11:21

  9. Excellent blog here! Also your web site so much up very fast!
    What host are you the use of? Can I am getting your affiliate hyperlink
    in your host? I want my website loaded up as fast as yours lol

    12/07/2018 - 09:30

  10. Hi there all, here every one is sharing these familiarity, therefore it’s nice to read this blog, and I used to pay a visit this blog everyday.

    12/07/2018 - 04:50

  11. Hello, Neat post. There is an issue with your web site in web
    explorer, may test this? IE still is the marketplace leader and a big part
    of people will miss your excellent writing due to this problem.

    11/07/2018 - 20:23

  12. Heya i’m for the first time here. I found this board and I find It truly useful & it
    helped me out much. I hope to give something back and aid others like you helped me.

    11/07/2018 - 19:58

  13. I am really impressed with your writing skills and also with the format for your blog.

    Is this a paid topic or did you customize it your self?
    Anyway stay up the excellent quality writing, it is uncommon to see a
    great blog like this one these days..

    11/07/2018 - 19:15

  14. I really like what you guys tend tо be up too. This kind օf
    clever work and reporting! Keeр up tһe fantastic works guys I’ve
    aԁded you guys to my blogroll.

    11/07/2018 - 17:41

  15. I’ve read several excellent stuff here. Definitely value bookmarking for revisiting.

    I wonder how a lot attempt you set to create any such fantastic informative web site.

    11/07/2018 - 14:32

  16. Wonderful, what a weblog it is! This website presents valuable information to us, keep it up.

    11/07/2018 - 12:11

  17. This is a really good tip especially to those new to
    the blogosphere. Short but very accurate information… Appreciate your sharing this one.
    A must read article!

    11/07/2018 - 07:41

  18. If some one wants expert view about blogging and site-building then i recommend him/her to pay a visit this website, Keep up the nice
    work.

    11/07/2018 - 06:25

  19. Definitely believe that which you said. Your favorite justification seemed
    to be on the internet the simplest thing to be aware of.
    I say to you, I certainly get irked while people think
    about worries that they just do not know about. You managed
    to hit the nail upon the top and defined out the whole thing without having side effect , people could take a signal.
    Will likely be back to get more. Thanks

    11/07/2018 - 03:41

  20. I wanted to thank you for this wonderful read!! I certainly loved every bit
    of it. I’ve got you saved as a favorite to look at
    new stuff you post…

    10/07/2018 - 23:31

  21. I like the valuable information you provide in your articles.
    I will bookmark your weblog and check again here regularly.
    I am quite sure I’ll learn plenty of new stuff right here!
    Good luck for the next!

    10/07/2018 - 21:18

  22. Very rapidly this web site will be famous amid all blogging viewers, due to it’s fastidious posts

    10/07/2018 - 20:22

  23. Hi there, just became aware of your blog through Google, and found that it’s truly informative.

    I’m going to watch out for brussels. I will be grateful if you continue this in future.

    A lot of people will be benefited from your writing.
    Cheers!

    10/07/2018 - 19:16

  24. I am really loving the theme/design of your website. Do you ever
    run into any web browser compatibility issues? A number of my blog visitors have complained about my website not operating correctly in Explorer but looks great in Firefox.
    Do you have any ideas to help fix this issue?

    10/07/2018 - 19:13

  25. Hello to every one, it’s genuinely a nice for me to go to
    see this website, it consists of helpful Information.

    10/07/2018 - 19:12

  26. Write more, thats all I have to say. Literally, it
    seems as though you relied on the video to make your point.

    You definitely know what youre talking about, why throw away your
    intelligence on just posting videos to your blog when you could be giving us something informative to read?

    10/07/2018 - 18:39

  27. This is really interesting, You’re a very skilled blogger. I’ve joined your feed and look forward
    to seeking more of your magnificent post. Also, I have shared your web site in my social networks!

    10/07/2018 - 18:05

  28. Howdy! Do you know if they make any plugins to protect against
    hackers? I’m kinda paranoid about losing everything
    I’ve worked hard on. Any tips?

    10/07/2018 - 17:54

  29. Thanks for your marvelous posting! I seriously enjoyed reading it, you will be a
    great author. I will always bookmark your blog and will come
    back at some point. I want to encourage that you continue your great job,
    have a nice holiday weekend!

    10/07/2018 - 17:47

  30. I will right away grab your rss feed as I can not find your e-mail subscription hyperlink or e-newsletter service.
    Do you have any? Kindly let me realize so that I may subscribe.
    Thanks.

    10/07/2018 - 16:23

  31. No matter if some one searches for his vital thing, thus he/she needs
    to be available that in detail, thus that thing is maintained over here.

    10/07/2018 - 16:06

  32. I believe what you said made a bunch of sense. However, think on this, suppose you added a little
    content? I ain’t saying your information is not good, however
    what if you added a title to possibly grab folk’s attention? I mean Web
    To Lead – Jeenga.com is a little vanilla.
    You could glance at Yahoo’s front page and see how they create news
    titles to get people interested. You might try adding a video or a related picture or two to grab people excited about what you’ve got to say.
    In my opinion, it would bring your posts a little bit
    more interesting.

    10/07/2018 - 15:41

Leave a Comment