--- title: "Custom Parameters" slug: "media-tracking-custom-parameters" updated: 2025-10-01T10:00:47Z published: 2025-10-01T10:00:47Z canonical: "docs.mapp.com/media-tracking-custom-parameters" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Custom Parameters With custom parameters, you can enrich the video analysis data with your website-specific information or metrics. > Use [Categories](/v1/docs/media-tracking-media-categories) to save static information. Also, they can be imported. > Custom parameters must be [created in Mapp Q3](/v1/docs/how-to-set-up-custom-parameters) ( *Configuration > Custom parameters* ). During setup, the ID and the data type (text/number) for each parameter are defined. You can send E-Commerce-, Event-, and Session Parameter in a media tracking request. --- ## E-Commerce Parameter Since Mapp has to record [website goals](/v1/docs/analyses-6-analysis-of-goal-achievement) as e-commerce parameters, it is also possible to transfer e-commerce parameters detached from orders and products. **Example** We are using the E-Commerce parameter with id "3" and the value "goal". BrowserServer-to-Server ```javascript var media_parameter_string = "cb3=goal"; var media_parameter_object = {    cb3: "goal" }; wt_sendinfo_media("video_16889", "media_action", "1", "600", media_parameter_string, "64000", "100", "0"); //or wt_sendinfo_media("video_16889", "media_action", "1", "600", media_parameter_object, "64000", "100", "0") ``` ```bash http://track.wt-eu02.net/111111111111111/wt?p=414,st&mi=video_16889&mk=media_action&mt1=1&mt2=600&cb3=goal&bw=64000&vol=100&mut=0&x=1253786695416 ``` --- ## Event Parameter You can also use event parameters to measure additional information about the current video. **Example** We are using the Event parameters: id "6" has the value "green" and id "7" collects the current location. BrowserServer-to-Server ```javascript var media_parameter_string = "ck6=green;ck7=" + document.location.href; var media_parameter_object = {    ck6:"green",    ck7: document.location.href }; wt_sendinfo_media("video_16889", "media_action", "200", "600", media_parameter_string, "64000", "100", "0"); //or wt_sendinfo_media("video_16889", "media_action", "200", "600", media_parameter_object, "64000", "100", "0") ``` ```bash http://track.wt-eu02.net/111111111111111/wt?p=414,st&mi=video_16889&mk=media_action&mt1=200&mt2=600&ck6=green&ck7=https%3A%2F%2Fwww.mapp.com%2F&bw=64000&vol=100&mut=0&x=1253786695416 ``` --- ## Session Parameter Session parameters always refer to a session, i.e., a visit. If the parameter's value is transferred more than once during a visit, only the first or last value transferred is evaluated (depending on configuration). **Example** We are using the Session parameters: id "2" has the value "male" and id "5" has the value "logged_in". BrowserServer-to-Server ```javascript var media_parameter_string = "cs2=male;cs5=logged_in"; var media_parameter_object = {    cs2: "male",    cs5: "logged_in" }; wt_sendinfo_media("video_16889", "media_action", "200", "600", media_parameter_string, "64000", "100", "0"); //or wt_sendinfo_media("video_16889", "media_action", "200", "600", media_parameter_object, "64000", "100", "0"); ``` ```bash http://track.wt-eu02.net/111111111111111/wt?p=414,st&mi=video_16889&mk=media_action&mt1=200&mt2=600&cs2=male&cs5=logged_in&bw=64000&vol=100&mut=0&x=1253786695416 ```