The sa() method lets you dynamically change a report suite at any time on the page. If you want to send data to different report suites without a page reload, you can use this method.

Handling report suites using the Web SDK

The Web SDK operates by sending data to a specific Datastream, which forwards data to the desired Analytics Report Suite(s). A single Datastream can forward data to multiple Report Suites. This section applies to both the Web SDK extension and manually implementing the Web SDK.

  1. Log in to Adobe Experience Platform Data Collection using your AdobeID credentials.
  2. Click Datastreams on the left.
  3. Click the desired Datastream, or click New Datastream.
  4. Click Add Service, then select Adobe Analytics.
  5. Enter the desired Report Suite ID. If you want to send the same data to multiple report suites, click Add Report Suite.
  6. Once all desired report suites are entered, click Save.

Set the desired Datastream using the Web SDK extension

The Web SDK extension provides a Datastream drop-down list for each environment. Alternatively, you can manually enter the Datastream ID.

  1. Log in to Adobe Experience Platform Data Collection using your AdobeID credentials.
  2. Click the desired tag property.
  3. Go to the Extensions tab, then click the Configure button under Adobe Experience Platform Web SDK.
  4. Under Datastreams, choose the desired Datastream in the drop-down list for each environment.
  5. Click Save.

Set the desired Datastream manually implementing the Web SDK

Set the edgeConfigId configuration variable to the Datastream ID. The Datastream ID is found on the right when viewing a Datastream in Adobe Experience Platform Data Collection.

alloy("configure", {
  "edgeConfigId": "example-a01f-4458-8cec-ef61de241c93",

See Configure the Web SDK in the Web SDK documentation for more information.

Change report suite using the Adobe Analytics extension

There is not a flexible way to change report suite in the interface. You can set report suite under the Library Management accordion when configuring the Adobe Analytics extension. However, you cannot change or update the report suite using rules. If you want to update report suite values after they are set, use the custom code editor following AppMeasurement syntax. in AppMeasurement and the Analytics extension custom code editor

Call the method to change the destination report suite. Its only argument is a string containing a report suite ID, or multiple report suite IDs delimited by a comma. The report suite ID argument is required. Do not use spaces in the string argument."examplersid");

For example, you can change the report suite if the user takes a specific action on your site.

// Instantiate the tracking object
var s = s_gi("examplersid");

// If the visitor plays a video, you can add a video report suite"examplersid,videorsid");

// Then send an image request