Jump to content
X2Community Forums

Recommended Posts



I have a question about web tracking. We currently submit an inline HTML form to a CGI on our server that does various processing and submits to our current CRM (salesforce.com). We're not actually getting rid of SF but are using X2E along side it for marketing automation purposes. My question is this: can we continue to use the CGI to post to SF and simultaneously post to X2E, or do we *have* to something like an AJAX form submit on the webpage to X2E (or even have X2E handle the submit and then use an X2Flow to repost to SF). I'm basically unclear as to how X2E "knows" that a user has submitted a form and thus can track that user on the website if the form submit doesn't go directly to X2E itself.


I likewise don't understand how the x2_key hidden field gets populated, and if can only be populated if X2E is the one that received the form submission.


Any guidance would be appreciated!

Link to post
Share on other sites

Hi wirespring,


You should be able to maitain your current setup, with the capture script making API requests to both SF and X2. It's possible to configure your lead form so that X2's web tracker script autopopulates one of your form's fields with a cookie tracking key. You would then need to set that tracking key in the "trackingKey" field of the contact that you create via X2's API. There's some documentation on integrating custom lead forms with the web tracker on our wiki: http://wiki.x2engine.com/wiki/Web_Lead_Capture_via_API_(legacy)#Web_Tracker_Front_End.



Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...