Adobe Analytics Validator

Description

This Chrome extension simplifies debugging and validation of your Adobe Analytics (AA) implementation. It leverages the power of Google's Gemini generative AI API as a core part of an experiment to explore how GenAI can boost productivity in technical tasks. By intercepting AA requests, parsing the payload, and validating it against user-defined rules, this extension provides immediate feedback in the browser's developer console, streamlining your workflow.

The GenAI Advantage: This extension isn't just about validation; it's about exploring the potential of GenAI to automate and simplify complex tasks like creating and applying validation rules. The flexibility and intelligence of the Gemini API allow the extension to handle free-form, human-readable rules, making the validation process more efficient and intuitive.

Key Features

1. Installation

Install the extension from the Chrome Web Store. Once installed, the extension icon will appear in your browser toolbar.

2. Setting up Validation Rules

The extension validates your Adobe Analytics data based on rules you provide in a text file. Here's how to create and upload your rules file:

Below is a recommendation of the rule structure, Gen AI can read and interpet the rules, experiment with different ways to write the rules.

3. Enabling GenAI Validation

The extension uses Google's Gemini AI to validate the rules. To enable this:

  1. Open the extension popup.
  2. Check the "Enable GenAI Validation" toggle. A warning will be displayed explaining the privacy implications (your data will be sent to Google's servers).
  3. Click "OK" on the warning to confirm.
  4. Add/Change your GenAI API Key:
    1. Click on "Add/Change API Key" button.
    2. Enter your API key in the input field.
    3. Click "Save". Your key will be stored securely.
  5. Select the Gemini Model from the dropdown.
  6. Click "Save Settings" to apply the API key and model settings.

Important: Keep your API key secure. Do not share it publicly.

4. Viewing Validation Results

Once you have uploaded your rules and enabled GenAI validation, the extension will automatically validate Adobe Analytics calls made by your website. The validation results will be displayed directly in your browser's console:

5. Example Rules File

The provided rules-examples.txt file contains various examples of validation rules. You can adapt and extend these rules to fit your specific requirements.

The extension currently supports a simplified text structure for the rules. Future updates may include support for more robust CSV parsing for more complex rule definitions.

6. Disabling GenAI Validation

To disable GenAI validation:

  1. Open the extension popup.
  2. Uncheck the "Enable GenAI Validation" toggle. The setting will be saved immediately.

Privacy Policy

This extension stores your provided Gemini API key locally in your browser's storage. No data is collected or shared by the extension itself. However, when GenAI Validation is enabled, your Adobe Analytics payload and rules will be sent to Google's Gemini API for processing. Refer to Google's privacy policy for details on how they handle your data.

Change log