
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
seo-data-collection-sdk
Advanced tools
Lightweight, privacy-focused JavaScript SDK for collecting comprehensive SEO and website performance data
A lightweight, privacy-focused JavaScript SDK for collecting comprehensive SEO and website performance data from client websites.
📊 Comprehensive SEO Data Collection
🔒 Privacy-Focused
⚡ Performance Optimized
🎯 Developer Friendly
npm install seo-data-collection-sdk
<script src="https://cdn.example.com/seo-sdk.min.js"></script>
Download seo-sdk.min.js from the releases page and include it in your HTML:
<script src="/path/to/seo-sdk.min.js"></script>
// Initialize the SDK
const seoSDK = new SEODataSDK({
apiEndpoint: 'https://your-api.com/analytics',
apiKey: 'your-api-key',
primaryKeyword: 'your focus keyword',
privacyMode: 'opt-in', // 'opt-in', 'opt-out', or 'auto'
});
// SDK will automatically start collecting data
const seoSDK = new SEODataSDK({
apiEndpoint: 'https://your-api.com/analytics',
apiKey: 'your-api-key',
privacyMode: 'opt-in',
});
// Request user consent
seoSDK.requestConsent().then(hasConsent => {
if (hasConsent) {
seoSDK.init(); // Start tracking
}
});
const config = {
// Required
apiEndpoint: 'https://your-api.com/analytics', // Your API endpoint
apiKey: 'your-api-key', // Your API key
// Optional
primaryKeyword: 'seo keyword', // Primary keyword to track
batchInterval: 30000, // Batch send interval in ms (default: 30s)
enableHeatmap: true, // Enable mouse movement tracking
enableScrollTracking: true, // Enable scroll depth tracking
enableClickTracking: true, // Enable click tracking
privacyMode: 'opt-in', // Privacy mode: 'opt-in', 'opt-out', 'auto'
};
const seoSDK = new SEODataSDK(config);
init()Initialize and start data collection.
seoSDK.init();
collectData()Manually trigger data collection.
const data = await seoSDK.collectData();
console.log(data);
send()Manually send collected data to API.
await seoSDK.send();
getData()Get current collected data without sending.
const currentData = seoSDK.getData();
setPrimaryKeyword(keyword)Set or update the primary keyword for analysis.
seoSDK.setPrimaryKeyword('new keyword');
requestConsent()Show consent banner and request user permission.
const hasConsent = await seoSDK.requestConsent();
hasConsent()Check if user has given consent.
if (seoSDK.hasConsent()) {
// User has consented
}
optOut()Opt out of tracking and stop data collection.
seoSDK.optOut();
destroy()Clean up and stop all tracking.
seoSDK.destroy();
The SDK collects the following data:
The SDK is designed with privacy in mind:
The SDK is optimized for minimal performance impact:
Typical performance impact: < 50ms on page load
npm run build
npm run dev
npm test
MIT
For issues and questions, please open an issue on GitHub or contact support@example.com
FAQs
Lightweight, privacy-focused JavaScript SDK for collecting comprehensive SEO and website performance data
We found that seo-data-collection-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.