Adobe Launch Integration

Deploy ProofIt through Adobe Launch (Tags) for seamless integration with your Adobe Experience Platform.

Overview

Adobe Launch (Adobe Tags) provides an ideal deployment method for ProofIt, especially if you're already using Adobe Analytics or other Adobe Experience Cloud solutions.

Key Benefits

  • Centralized tag management
  • Flexible rule-based deployment
  • Seamless integration with Adobe Analytics
  • Streamlined governance and approval workflows

Prerequisites

  • Access to Adobe Experience Platform Launch
  • ProofIt API key
  • Adobe Analytics implementation (optional but recommended)

Implementation Steps

API Gateway Endpoint (Recommended)

Proofit now uses a secure API Gateway endpoint to deliver metrics and social proof data to your website. Each client receives a dedicated endpoint, with separate prod and beta stages for production and testing. All requests must use the GET method and include the correct query parameters.

https://{{gateway_id}}.execute-api.eu-west-2.amazonaws.com/{{stage}}/proofit?q={{metric_queries}}&skuIds={{product_ids}}
  • q: Metric query (e.g. all or aa_products-x-orders-1200)
  • skuIds: Comma-separated product IDs (must match those cached in DynamoDB)
// Example fetch request fetch('https://abc123.execute-api.eu-west-2.amazonaws.com/prod/proofit?q=all&skuIds=PROD1234,PROD5678') .then(res => res.json()) .then(data => { // Use metrics in your UI console.log(data); });

Security: Only requests from your approved domain(s) will be accepted. Use the beta stage for testing new features or domains.

Legacy: Script-based Implementation

The previous method of installing Proofit via a direct script tag is now considered legacy. For most use cases, use the API Gateway method above. If you need to use the script directly, see the example below:

// Load the ProofIt script
var script = document.createElement('script');
script.src = 'https://cdn.proofit.com/js/proofit.min.js';
script.setAttribute('data-api-key', 'YOUR_API_KEY');
document.head.appendChild(script);

// Initialize ProofIt once loaded
script.onload = function() {
  window.ProofIt.init({
    analytics: {
      platform: 'adobe-analytics'
    }
  });
};

Adobe Launch Data Elements

For a more dynamic implementation, create Data Elements to map information between Adobe and ProofIt:

Create Data Elements

Click "Data Elements" in the left navigation and create new data elements for:

  • Product ID (e.g., from your data layer)
  • Product Category
  • User Segment

Use Data Elements

Update your custom code to use these data elements:

// Initialize ProofIt with data elements
script.onload = function() {
  window.ProofIt.init({
    analytics: {
      platform: 'adobe-analytics'
    },
    context: {
      productId: _satellite.getVar('product_id'),
      category: _satellite.getVar('product_category'),
      userSegment: _satellite.getVar('user_segment')
    }
  });
};

Advanced Adobe Launch Integration

Environment-Specific Configuration

Create environment-specific settings using Launch environments:

// Get environment-specific API key
var apiKey;
if (_satellite.environment.stage === 'development') {
  apiKey = 'DEV_API_KEY';
} else if (_satellite.environment.stage === 'staging') {
  apiKey = 'STAGING_API_KEY';
} else {
  apiKey = 'PRODUCTION_API_KEY';
}

// Set the API key
script.setAttribute('data-api-key', apiKey);

Integration with Adobe Experience Platform

For deeper integration with the Adobe Experience Platform:

  • Use Adobe Launch Extension Hooks to synchronize ProofIt with other extensions
  • Leverage Launch's event system for coordinated tag execution
  • Configure Launch rules based on Adobe Audience Manager segments
  • Use Adobe Experience Platform Web SDK for streamlined data collection

Adobe Experience League Resources

For more information on Adobe Launch deployment techniques, refer toAdobe's official documentation.

Need Implementation Support?

Our Adobe-certified implementation specialists can help you deploy ProofIt through Adobe Launch.

Contact Support