Scrapp Zero | Home
const PRISM_API_KEY = 'prism_jrfvXGHXOMscbgOD7NrcMgO5K2oQ4OqZ'; const PRISM_ENDPOINT = 'https://prism.trakkr.ai'; const PRISM_TIMEOUT = 1000; // ms // Crawler patterns to optimize for (customizable) const AI_CRAWLERS = [ 'gptbot', 'chatgpt-user', 'oai-searchbot', 'claudebot', 'claude-user', 'claude-searchbot', 'perplexitybot', 'meta-externalagent', 'google-extended', 'cohere-ai', 'applebot-extended', 'amazonbot', 'baiduspider', 'bytespider' ]; addEventListener('fetch', event => { event.respondWith(handleRequest(event.request)); }); async function handleRequest(request) { const url = new URL(request.url); // Quick bypass for non-HTML requests if (url.pathname.match(/\.(js|css|png|jpg|jpeg|gif|svg|ico|woff|woff2|ttf|eot)$/i)) { return fetch(request); } // Check if AI crawler const ua = (request.headers.get('user-agent') || '').toLowerCase(); const isAICrawler = AI_CRAWLERS.some(bot => ua.includes(bot)); if (!isAICrawler) { return fetch(request); } // Detect crawler type const crawlerType = AI_CRAWLERS.find(bot => ua.includes(bot)) || 'unknown'; try { // Call Prism API with tight timeout const controller = new AbortController(); const timeoutId = setTimeout(() => controller.abort(), PRISM_TIMEOUT); const prismResponse = await fetch(PRISM_ENDPOINT, { method: 'POST', headers: { 'X-API-Key': PRISM_API_KEY, 'X-Crawler-UA': ua.substring(0, 200), 'X-Target-URL': url.toString(), 'Content-Type': 'application/json' }, body: JSON.stringify({ url: url.toString(), pathname: url.pathname, crawler: crawlerType }), signal: controller.signal }); clearTimeout(timeoutId); // Handle rate limiting if (prismResponse.status === 429) { console.log('Prism limit reached'); return fetch(request); } // Handle successful optimization if (prismResponse.ok) { const data = await prismResponse.json(); if (data.optimizedHTML) { return new Response(data.optimizedHTML, { status: 200, headers: { 'Content-Type': 'text/html;charset=UTF-8', 'X-Prism-Optimized': 'true', 'X-Prism-Cache': data.cache || 'MISS' } }); } } } catch (error) { // Timeout or error - serve original immediately console.error('Prism error:', error.message); } // Default: serve original content return fetch(request); }
FOR MARKETIING TEAMS

Stop making green claims you can't prove

Show customers where their products actually end up

Stop greenwashing today
A paper pouch with metrics overlayed.

Scale your waste communication efforts

Conflicting local recycling rules, no consumer incentives and incoming compliance are making it harder than ever for marketing teams to effectively communicate their waste programs. To overcome this challenge, marketing teams must:

1. Have dynamic tools to educate their customers and communities on local disposal rules.
2. Monitor waste campaign engagement.
3. Manage their waste and recycling program comms.

Scrapp helps marketing teams communicate waste campaigns effectively, use data to verify green claims and build brand trust through transparency.

Marketing teams see:

A graphic of a verified tick.
Verified data

to back claims

A graphic of 3 people stood side-by-side.
88% increase

in waste program participation

A graphic of 4 squares with a play symbol, mountain range, list and video camera in them.
100+ digital assets

to promote to audiences

Avoid getting called out for greenwashing

Use real waste data, not just lab tests that don't match reality

Learn more about Scrapp for Brands & Retailers →

Screenshots of the Scrapp mobile app on the phone with 'GS1 Digital Link Compatible' in the top right corner.

Answer customer questions before they hit your inbox

Clearer disposal instructions, fewer confused folks, more trust in you

Learn more about Scrapp for Communities →

Steal market share with claims competitors can't copy

Real waste data vs their lab test guesses

Find out how we're helping businesses →

A graphic of the UK, USA and Canada with a verified tick and recyclability scores overlayed.

Sleep better knowing your claims won't blow up

Real data means no 3am crisis calls from your PR team

Learn more about Scrapp for Brands & Retailers →

NEWSLETTER

Stay in the loop

Join our community newsletter to get updates and submit feedback

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Scrapp Web Portal Platform