Skip to content

How to fill conversion page ? #434

@PubliAlex

Description

@PubliAlex

Hello,

I use this SDK to send form submissions to hubspot, it works, but I don't know how to fill the conversion page informations :

Image

Here is my object :

                $data = [
                    'fields' => [
                        ['name' => 'email', 'value' => $formdata['Email']],
                        ['name' => 'firstname', 'value' => $formdata['Prénom']],
                        ['name' => 'lastname', 'value' => $formdata['Nom']],
                        ['name' => 'phone', 'value' => $formdata['Téléphone']],
                        ['name' => 'message', 'value' => $formdata['Message']],
                    ],
                    'legalConsentOptions' => [
                        'consent' => [
                            'consentToProcess' => true,
                            'text' => 'I agree to allow Example Company to store and process my personal data.',
                        ],
                    ]
                ];

any help would be much appreciated.

thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions