--- title: "Tracking Specific Website Goals" slug: "tracking-specific-website-goals" updated: 2024-09-18T07:26:17Z published: 2024-09-18T07:26:17Z canonical: "docs.mapp.com/tracking-specific-website-goals" --- > ## 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. # Tracking Specific Website Goals To track your goals, you need to add another data layer to pages with conversion touch points in addition to the basic data layer for all pages. To do this, you have two options: ## Option 1: Data Layers with the Type of Goal Apply the data layer on all pages where users reach a website goal by loading the page. Next, enter the type of the respective website goal. There are some predefined goals like email, newsletter, and subscriptions. You can provide additional goals according to your needs. Data Layer ```javascript window._ti['websiteGoal'] = 'Newsletter'; ``` | Data Layer Variable or Function | Description | | --- | --- | | ```javascript window._ti['websiteGoal'] ``` | Contains the website goal which is reached whenever a user loads a specific page. You must define which conversion goal was reached. Available predefined goals: - Email - Subscription - Newsletter You can set up custom goals as well. | ## Option 2: Event Push You can measure the results via event push. The website goal is then recorded as soon as an event takes place on a page, for example, a link click and not on reload. On Click Events ```javascript //websiteGoal onclick="wts.push(['send','click', {linkId:'website goal', customEcommerceParameter:{1:'Newsletter'}}]) ```