Streamlines Adobe Analytics (AA) implementation debugging and validation, leveraging the power of Google's Gemini AI.

Latest Version

Version
1.05
Update
December 2, 2024
Size
58.0KiB
Developer
Category
Users
6
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
WebRequest
Storage
See more

Adobe Debugger and Validator Extension

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

- 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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Adobe Debugger and Validator", "description": "Streamlines Adobe Analytics (AA) implementation debugging and validation, leveraging the power of Google's Gemini AI.", "version": "1.05", "icons": { "16": "icon16.png", "48": "icon48.png", "128": "icon128.png" }, "background": { "service_worker": "scripts/background.js" }, "action": { "default_popup": "popup.html" }, "content_scripts": [ { "matches": [""], "js": ["scripts/content.js"] } ], "permissions": [ "webRequest", "storage" ], "host_permissions": ["https://*.2o7.net/*", "https://*.sc.omtrdc.net/*", "https://*.omtrdc.net/*", "https://*/b/ss/*"] }
Read more

Similar Extensions

icon

Robots Exclusion Checker Extension · Developer Tools 6 32 ★ 185KiB

icon

ObservePoint Debugger Extension · Developer Tools 6 52 ★ 3.6MiB

icon

MaxAI.me: Chat with any webpage. Powered by GPT-4o, Claude 3.5, Gemini 1.5 Extension · Productivity 6 14051 ★ 23.95MiB

icon

TagHound - Analytics/GTM/Pixel Debugger Extension · Developer Tools 6 63 ★ 1.77MiB

icon

YouTube AI Summary Extension · Productivity 6 24 ★ 2.71MiB

icon

AI Summary Generator Extension · Productivity 6 20 ★ 292KiB

icon

AI Chrome Extension powered by ChatGPT - Magictool AI Extension · Social & Communication 6 141 ★ 339KiB

icon

AI Code Finder, Alerts, Ask Questions about Papers: CatalyzeX Extension · Developer Tools 6 60 ★ 345KiB

icon

Careerflow AI Job Application Tracker, ATS Resume Checker, Autofill & more Extension · Productivity 6 230 ★ 10.66MiB

icon

Bardeen: Automate Browser Apps with AI Extension · Productivity 6 319 ★ 10.84MiB

icon

Glasp Web Highlighter: PDF & Web Highlight Extension · Productivity 6 579 ★ 2.6MiB

icon

HARPA AI | Automation Agent Extension · Productivity 6 2898 ★ 3.16MiB

icon

Skillwise.ai Proctoring Extension · Productivity 6 4 ★ 18.19MiB

icon

BrowserStack Accessibility Toolkit Extension · Accessibility 6 61 ★ 3.49MiB

icon

Salesforce Tool Suite Extension · Developer Tools 6 103 ★ 4.66MiB

icon

Sider: ChatGPT Sidebar + GPT-4o, Claude 3.5, Gemini 1.5 & AI Tools Extension · Productivity 6 68759 ★ 13.41MiB

icon

HTML validator Extension · Developer Tools 6 2 ★ 1.07MiB

icon

HTML Validator Extension · Developer Tools 6 4 ★ 2.7MiB

icon

GoLess: Browser Automation and Web Scraping Extension · Productivity 6 15 ★ 12.03MiB

icon

ZeroThreat AI Recorder – Most Intelligent DAST Tool Extension · Developer Tools 6 11 ★ 94.45KiB

icon

Multi AI Sidebar Extension · Productivity 6 5 ★ 2.23MiB

icon

AppScan Activity Recorder Extension · Developer Tools 6 5 ★ 102KiB

icon

Sharpen AI: AI meeting summary for Google meets Extension · Productivity 6 18 ★ 8.18MiB

icon

YAML Validator Extension · Developer Tools 6 2 ★ 292KiB