Documentation
Overview
Getting started
Knowledge base
|
Sitefinity CMS documentation
Digital Experience Cloud Documentation
Search
For developers: Digital Experience Cloud components
/
Track and collect data from Sitefinity CMS
/
Tutorial: Track a custom MVC Form widget
/
Track a custom MVC Form widget: Create the view
Track a custom MVC Form widget: Create the view
In the
Mvc/Views
folder, create a new
CSHTML
file and name it
Default
.
Open the
Default.cshtml
file and add the following code:
Back To Top
Next:
Track a custom MVC Form widget: Create the custom event
Was this article helpful?
Yes
No
To submit feedback, please update your cookie settings and allow the usage of
Functional
cookies.
Cookie Settings
Would you like to submit additional feedback?
Your feedback about this content is important
How helpful is this article?
Very helpful
Somewhat helpful
Not helpful
How can we improve this article?
(Optional)
Fix typos or links
Fix incorrect information
Add or update code samples
Add or update illustrations
Add information about...
Send feedback
No thanks, don't send feedback
Thank you for submitting your feedback!