Skip to main content

Capturing UTM parameters in Pardot Form (iframe):

 

I am using the following script to capture the UTM parameters from the url and putting them into the hidden fields of the Pardot form:

https://help.salesforce.com/articleView?id=000317377&type=1&mode=1

(We want to capture the values in the custom fields and not the Google Analytics section in Pardot)

 

The script is working fine, however if the UTM parameters are in small letter, i.e. 'utm_source' instead of 'UTM_Source', it doesn't capture it (not sure but may be because the field values in the Pardot are having this small caps combo).

 

For some reasons we can't give UTM parameters in small-caps combo (they are all small).

 

Is there a way to adjust the above mentioned script to accept UTM parameters in small letters as well?

 

#AskAPardotExpert

4 comentários
0/9000