Documentation Center

Installing the Google Analytics module in the Web application

Run a PowerShell script to add the Google Analytics module to the Web application.

Before you begin

Run the PowerShell script from a machine that has access to your Content Data Store database, for example on the machine that hosts the SDL Digital Experience Accelerator Web site.

Procedure

  1. Open a PowerShell command prompt in Run as administrator mode.
  2. Navigate to the modules\GoogleAnalytics folder and run the following command:
    & '.\web-install.ps1' -distDestination "C:\inetpub\wwwroot\My-site\"
    ParameterDescritpion
    -distDestinationThe location of your site directory.
    The script creates the Web application.