|
|
|
|
|
- Overview
- How to include Google Analytics in your WEBDEV websites?
- Overview
- Registration on Google Analytics
- Specify the Measurement ID in the WEBDEV project
- The available additional "trackers"
- Custom event
- Interaction with social network
- Custom timing
- Programming errors
- Page view
WEBDEV and Google Analytics
Google Analytics is a very popular tool for measuring site traffic. Google Analytics is used to measure the number of views for each site page, the load time of each page, the navigation path, the load time of page resources (images), the rebound rate, the environment of Web user (device, geographical location, language, browser, ...), the source of navigation (home page, ad, ...), etc. WEBDEV automatically integrates the trackers required for Google Analytics statistics into your websites, so you'll know everything about the path taken by visitors to your sites! If necessary, you have the ability to include additional trackers in your sites, to manage special cases: - dowloading a file,
- using planes, ...
This documentation page presents: Note: Google Analytics takes into account all pages that can be referenced, i.e. static pages, AWP pages and PHP pages.
Warning
On July 1, 2023, Google Analytics moved from Universal Analytics to Google Analytics 4. Starting with version 28, WEBDEV supports both versions. The WLanguage functions have been adapted. For existing projects, Universal Analytics is used by default. For new projects, Google Analytics 4 is used by default. This help page describes the different steps you need to follow. To edit your accounts and projects on Google Analytics, see https://support.google.com/analytics/answer/10759417?hl=en
How to include Google Analytics in your WEBDEV websites? Overview To link Google Analytics and your site, you must: - Define an account in Google Analytics. This account must be linked to your site.
- Retrieve the Google Analytics tracking ID associated with your account.
- Specify the following in the WEBDEV project:
- tracking ID.
- the management mode used: Universal Analytics or Google Analytics 4.
- Deploy the WEBDEV project.
Registration on Google Analytics To link Google Analytics and your site, an account must be define in Google Analytics. This account must be linked to your site. To define an account linked to a site on Google Analytics: - Go to the site: https://www.google.fr/intl/fr/analytics/. Connect yourself (with your Google account for example). Register if not already done.
- Configure Analytics in the Google Marketing Platform home page.
- Specify the characteristics of Google Analytics account:
- In "Property Settings", create a Google Analytics 4 property. Specify the name of the website. This parameter is mandatory and it is used to identify the site in the Google Analytics dashboard.
Note: As of July 1, 2023, it is no longer possible to create a Universal Analytics property. - Enter the organization details.
- Create the account.
- Configure a Data Stream from the dashboard. Indicate that the Data Stream is used for a website, and in the configuration page, enter the website URL. This configuration allows you to associate the website with Google Analytics.
- The web stream is created and you get a Measurement ID.
Specify the Measurement ID in the WEBDEV project To specify the Measurement ID in the WEBDEV project: - Open the project description window. To do so, go to the "Project" tab, "Project" group, and click "Description".
- In the "General" tab:
- Copy the Measurement ID of your site:
- Indicate whether your account uses Universal Analytics or Google Analytics 4.
You can deploy your site. The static, AWP and PHP pages will be automatically taken into account by Google Analytics. The available additional "trackers" In addition to the general navigation statistics automatically managed by WEBDEV, you have the ability to measure specific behaviors: - Customized events: click on Command button, pass through a field, etc.
- Interaction with social network.
- Customized timing: measurement of time spent on a treatment.
- Exception in programming sense: programming error.
- Page view.
Custom event Customized event tracking measures the frequency of a specific Internet user action: for example, clicking on a button, downloading a file, clicking on an advertising banner, launching a video, etc. Interaction with social network This tracker measures the number of clicks on a "social button" included on the page: Like, Tweet, etc. Custom timing This tracker enables you to obtain statistics measuring the time elapsed during specific processes or user actions: measuring the time taken to display a list of products, measuring the time spent filling in a form, etc. Programming errors This tracker is used to measure the number of unexpected errors in the Browser code of the site. All you have to do is use the WLanguage "When Exception" command then call GglAnalyticsAddException when the exception is canceled. Page view This type of custom tracker is useful for refining views on complex pages: maps, etc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|