Categories
Docs

Eloqua Accelerator Form

In the div below, blank HTML will be filled in by the Eloqua script.

Or to view the endpoint directly:
JSON

To run locally, create a div like the one below, and include the Javascript file: https://scwx.annuitas.io/wp-json/pdg/v1/scripts (Note that this is not the final domain)

In this example, data-eloqua-form-id is the ID of the form in Eloqua, and data-eloqua-redirect-url is where the page should redirect after a successful submission.

Alternatively, you can use the data-eloqua-success-callback attribute and pass in the name of a globally available Javascript function that should be called after a success submission.

<div data-eloqua-form-id="623" data-eloqua-redirect-url="/thank-you/" /></div>