Questions tagged [pardot]

B2B Marketing Automation by Salesforce

110 questions
15
votes
4 answers

Simulate a JSONP response with JavaScript URLs

I'm using Gravity Forms on a WP site. My forms POST via ajax to Pardot using Pardot form handlers. I am running into an issue where Pardot processes the form 6x, with no other errors. Research indicates that this is because Pardot does not support…
alison
  • 165
  • 1
  • 5
6
votes
0 answers

How to authenticate the Pardot API using HttpClient

I struggled for about a day trying to authenticate against the Pardot API. It didn't like how I was trying to post the message body. So I wanted to post the solution that worked for me. If you have any tips or alternatives I'd like to hear…
pwDev
  • 945
  • 8
  • 13
3
votes
3 answers

Pardot form handler - spam submissions

Hi I have a pardot form handler set up on a website for a client and it is receiving a lot of spam submissions. We set up a honeypot and recaptcha and while they are working, they not seem to be effective in stopping the spam. We now think the spam…
3
votes
3 answers

Pardot Server Side Form Handler: Extract the cookie ID from the browser and pass it to the visitor_id

I'm currently working on a system to post existing forms to a Pardot Form Handler via a server side process. I've got the form posting to Pardot via WordPress' helper function wp_remote_post using the following code. (Its a CURL post at its…
magicstickuk
  • 91
  • 1
  • 8
2
votes
2 answers

Is there a way to submit() an HTMLFormElement form for Pardot without a redirect/reload? If not, what is an Angular way to emulate same?

Gonna try to make this as simple as possible. I've tried a slew of things and have been researching this for some time, and I think I'm missing something small. Using Angular 12. Sample form:
workaholic
  • 74
  • 7
2
votes
0 answers

How to submit Pardot form handlers with XMLHttpRequest?

I am confused, why does pardot not allow such AJAX requests? aren't they more user friendly features? I am trying to add a form handler and tried to use it of course & it works when I keep the default submission of pardot forms handler. ( a simple…
TaouBen
  • 1,165
  • 1
  • 15
  • 41
2
votes
1 answer

Remove search query from url without refreshing the page?

I have a simple task! I want that when I submit a form and get success or error message of the form, I go to the form directly ( using anchors ), so in order to do so, I added a parametr in my from action's URL, like that…
TaouBen
  • 1,165
  • 1
  • 15
  • 41
2
votes
1 answer

How to solve error 49 in Pardot (api version 4) after receiving an API_Key and User_key

after sending callout for login i get an api_key "POST https://pi.pardot.com/api/login/version/4 *email=&password=&user_key=" *setting them as parameters with urlencode getting the: but when sending a callout to create a list or any other operation…
2
votes
1 answer

Pardot API: Add new prospect to certain list

$prospectData = array( 'user_key' => $user_key, 'api_key' => $api_key, 'first_name' => $firstName, 'last_name' => $lastName, 'city' => $city, 'state' =>…
good_afternoon
  • 1,529
  • 1
  • 12
  • 41
2
votes
2 answers

Node js use variable outside main function and set order of functions

Introduction I have a three functions, each one would feed data into then next. The objective is first to retrieve data then authenticate a API key then finally using the generated API key and data retrieve from the first function post to the API in…
Beep
  • 2,737
  • 7
  • 36
  • 85
2
votes
3 answers

Redirect thank you messages based on conditional form field selects using javascript

I am very new to javascript so this may be easy to some. I am trying to generate a thank you message based on if a visitor selects option "0 to 120,000" AND "option 0 to 6 months". Any help with this is greatly appreciated. function redirect() { …
Katy H.
  • 224
  • 1
  • 10
1
vote
1 answer

JavaScript UTM parameters array not populating form fields

I have the below script which takes UTM parameter values from the URL querystring i.e. 'example.com?utm_campaign=testCampaign&utm_source=testSource' and is supposed to populate hidden form fields. However the script doesn't seem to work as the input…
FullStack
  • 11
  • 2
1
vote
0 answers

How to add event to calendar from an email automatically using json ld schema markup in the email?

Stack Overflow community! I'm currently working on a project where the event details should be added to the recipient's calendar when recieved the email with event details according to schema markup. But it is not getting added. More Info: The…
1
vote
1 answer

batchUpsert data in Pardot API 3 unsing Python - Problems with JSON format

I want to batchUpsert data into Pardot by using the Pardot API 3. Single upserts work fine. Since I have a lot of data to upsert I want to use the /api/prospect/version/3/do/batchUpsert endpoint. When I use the following code using Python3 I get a…
Jan
  • 11
  • 1
1
vote
0 answers

How to stop 302 redirect after submitting form to form handler? [Pardot]

Currently I have a form that I am using to post to a pardot form handler. When you successfully post to a form handler in pardot it responds by sending you a 302 redirect. I don't want to redirect to another page. I want to stay on the current page…
Anthony
  • 11
  • 2
1
2 3 4 5 6 7 8