Streamlines Adobe Analytics (AA) implementation debugging and validation, leveraging the power of Google's Gemini AI.
Adobe Debugger and Validator Extension
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
- Real-time validation of AA requests.
- Customizable, human-readable rules. Experiment with different rule formats and complexities!
- AI-powered validation with Google's Gemini, showcasing the potential of GenAI for productivity.
- Clear and formatted results directly in the console.
For details and usage instructions, please visit the following page:
https://ext.rebeccandavid.com
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 interpret the rules, experiment with different ways to write the rules.
File Format: Create a plain text file (.txt) with your rules. Each line in the file represents a rule. Comments are supported using #.
Rule Structure: Each rule follows the format FieldName: ValidationRule. Here's a breakdown:
FieldName: The name of the Adobe Analytics variable (e.g., pageName, eVar1, prop2, events, products, etc.).
ValidationRule: Specifies the validation criteria. Several rule types are supported:
required: The field must be present and not empty.
text: The field can contain any text (including empty strings).
url: The field must be a valid URL.
number: The field must be a number.
[value1, value2, ...]: The field must match one of the listed values. Case-sensitive.
(value1, value2, ...): The field is optional. If present, it must match one of the listed values. Case-sensitive.
eight-digit number: Field must be an eight-digit number.
uuid: The field must be a valid UUID (Universally Unique Identifier). (Optional, if present, must be a UUID)
ISO 8601 timestamp: Field must be a valid ISO 8601 timestamp format.
country code: Field must be a valid country code.
language and locale: Field must be a valid language and locale code.
begin with \"some string\": Field must begin with the specified string.
[1 to 15]: Field must be a number between 1 and 14 (inclusive).
no or eight-digit number: Field must be either \"no\" or an eight-digit number.
- Conditional Rules: Use if statements to apply rules based on other fields. For example: v1: if pev2 is click Event then text. Supported operators include is, is not, contain, contain not.
Uploading Rules:
- Open the extension popup.
- Click \"Choose File\" to select your rules file.
- Click \"Submit\" to upload the rules. A confirmation message will appear.
3. Enabling GenAI Validation
The extension uses Google's Gemini AI to validate the rules. To enable this:
- Open the extension popup.
- Check the \"Enable GenAI Validation\" toggle. A warning will be displayed explaining the privacy implications (your data will be sent to Google's servers).
- Click \"OK\" on the warning to confirm.
- Add/Change your GenAI API Key:
- Click on \"Add/Change API Key\" button.
- Enter your API key in the input field.
- Click \"Save\". Your key will be stored securely.
- Select the Gemini Model from the dropdown.
- 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:
- Formatted Output: The results are displayed in a clear, formatted way, showing the field name, the value sent, and whether the validation passed or failed. Error messages are provided for failed validations.
- Collapsible Sections: The output is organized into collapsible sections (e.g., \"eVars,\" \"props,\" \"Lists\") for easier navigation.
- Product List Validation: Product-specific rules are displayed under each product in the products array. This helps pinpoint issues with individual product data.
- Validation Summary: A summary of validation errors is shown to give a quick overview. You can expand the summary to see all validation results (including successful ones).
5. Example Rules File
The provided rules-examples.txt (https://drive.google.com/file/d/1gJyyN48t59gTYrAFgKRdLWkfSt4pQWBB/view?usp=sharingfile) 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:
- Open the extension popup.
- Uncheck the \"Enable GenAI Validation\" toggle. The setting will be saved immediately.
7. Change log:
1.05 - Fix display issues, optimize value display order
1.04 - Better error handling
1.00 - Initial release
Source Manifest.json
Similar Extensions
Robots Exclusion Checker 6 32 ★ 185KiB
ObservePoint Debugger 6 52 ★ 3.6MiB
MaxAI.me: Chat with any webpage. Powered by GPT-4o, Claude 3.5, Gemini 1.5 6 14051 ★ 23.95MiB
TagHound - Analytics/GTM/Pixel Debugger 6 63 ★ 1.77MiB
YouTube AI Summary 6 24 ★ 2.71MiB
AI Summary Generator 6 20 ★ 292KiB
AI Chrome Extension powered by ChatGPT - Magictool AI 6 141 ★ 339KiB
AI Code Finder, Alerts, Ask Questions about Papers: CatalyzeX 6 60 ★ 345KiB
Careerflow AI Job Application Tracker, ATS Resume Checker, Autofill & more 6 230 ★ 10.66MiB
Bardeen: Automate Browser Apps with AI 6 319 ★ 10.84MiB
Glasp Web Highlighter: PDF & Web Highlight 6 579 ★ 2.6MiB
HARPA AI | Automation Agent 6 2898 ★ 3.16MiB
Skillwise.ai Proctoring 6 4 ★ 18.19MiB
BrowserStack Accessibility Toolkit 6 61 ★ 3.49MiB
Salesforce Tool Suite 6 103 ★ 4.66MiB
Sider: ChatGPT Sidebar + GPT-4o, Claude 3.5, Gemini 1.5 & AI Tools 6 68759 ★ 13.41MiB
HTML validator 6 2 ★ 1.07MiB
HTML Validator 6 4 ★ 2.7MiB
GoLess: Browser Automation and Web Scraping 6 15 ★ 12.03MiB
ZeroThreat AI Recorder – Most Intelligent DAST Tool 6 11 ★ 94.45KiB
Multi AI Sidebar 6 5 ★ 2.23MiB
AppScan Activity Recorder 6 5 ★ 102KiB
Sharpen AI: AI meeting summary for Google meets 6 18 ★ 8.18MiB
YAML Validator 6 2 ★ 292KiB