Insert core AppMeasurement code

Insert AppMeasurement code when manually deploying dynamic tag management in Adobe Analytics.

  1. On the Adobe Analytics tool page, expand the General section, then click Open Editor.
  2. Unzip the AppMeasurement_JavaScript*.zip file you downloaded in deploy Adobe Analytics.

    If you opt for custom library, when you open the window it will already have the most recent code version present. There is no need to download the zip from the Admin Console.

  3. Open AppMeasurement.js in a text editor.
  4. Copy and paste the contents into the Edit Code window.

  5. Adobe recommends adding the following code above the Do Not Alter Anything Below This Line:
    var s_account="INSERT-RSID-HERE"
    var s=s_gi(s_account)
    Important: If you add this code, it is recommended that you also select the Set report suites using custom code below checkbox in the overall library settings.
  6. Click Save and Close.

    If you are using the Media Module, Integrate Module, or implementation plug-ins, you can copy them into the code section as well. The managed code in dynamic tag manager can be configured exactly like the JavaScript file in a typical implementation.