Record referrer URL as a hidden form field?

Hi guys,

Wondering if anyone has managed to collect referrer URL in an ActiveCampaign form field? I’m hoping to use the same form across multiple pages, and I’d like to track the traffic source reliably so we can adjust our response based on the product page the lead was visiting.

If anyone has achieved this successfully I’d love to know how!

Cheers,

Ella

1 Like

Hey Ella!

You will need to write a Javascript snippet to auto-populate the data into a hidden field on the form. We do have a code example that worked for another user, which you can view here.

Please let us know if you have any questions!

Meghan

1 Like

Hi!
You can use attribution to record the traffic source on each page, please read more here How does ActiveCampaign Attribution work?

ActiveCampaign Customer Experience Team.