web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

How to Capture leadsource information

(0) ShareShare
ReportReport
Posted on by

hello,

is there a way to capture leadsource information like:

source

source drill-down 1

source drill-down 2

Organic search

Search term (if available)

Search engine site

Referrals

Referring website domain

Referring website URL

Organic social

Social media site

Campaign name

and place it in Dynamics so we can use it in segments?

Best Marco

I have the same question (0)
  • Nya Profile Picture
    29,060 on at

    Hi Marco,

    There is an OOTB field in Lead entity called Lead Source.

    You can add the new options into the field and map the field as a form field.

    So that it can be inserted into a marketing form to capture data.

    2017_2D00_08_2D00_30_5F00_19_2D00_15_2D00_31.jpg

  • Community Member Profile Picture
    on at

    Thank you Nya,

    How can i capture this data in my forms?

    The data comes from google.

    So my visitors come on my site by "Organic search" or "Referrals" or "Organic social".

    They all fill the same form, how can i capture this "source" so i can include this in Dynamics.

    best Marco

  • Verified answer
    Petr Jantac Profile Picture
    Microsoft Employee on at

    Hi Marco,

    You can create a hidden text field called Campaign Source in your form, so the user won't see it. Then you need to create a script that will fetch the campaign source on your page (for example from the URL) and set the value of the hidden field Campaign Source.

    Thank you.

    Petr

  • Community Member Profile Picture
    on at

    Hi Petr,

    Thank you, for your reaction. This what im lokking for.

    Do you happen to have an example of such a script?

    Best Marco

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 120 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 46 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 41

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans