Goal-Tracking for campaigns

Good morning,
I already tried this question in the german support forum, but unfortunately there were no answers given, so maybe one of you can help me:

Is it possible to create following scenario with piwik:

A visitor arrives at our startpage via Google Adwords. After that he is looking at some sub-sites of our page. Finally he fills out our contact-form -> This would be a conversion for us.

Next a new visitor arrives at our startpage from a direct link (not Google). He is looking at some sub-sites of our page and finally fills out our contact-form. This would not be a conversion for us.

As far as I understand, at the moment i only can define new goals, but they are always tracked when the given site is visited (e.g. via piwikTracker.trackGoal(1) ). Regardless of where the visitor came from.

Hope the explanation was understandable.

Thank you for your help.

Otto

You could use some javascript to trigger the goal only if the visit comes from adwords (see the function piwikTracker.getAttributionCampaignName() )

Thank you. I will try that!