JavaScript
Properties
When to Fire
- After gated content form submission
- After PDF/document download starts
- After content access is granted via email gate
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Track when a user downloads gated content like whitepapers, ebooks, or case studies.
window._upstack('track', 'content_downloaded', {
contentId: 'wp_2024_analytics_guide',
contentType: 'whitepaper',
contentTitle: '2024 Marketing Analytics Guide',
userEmail: 'prospect@company.com',
companyName: 'Prospect Corp',
source: 'blog_cta'
});
| Property | Type | Required | Description |
|---|---|---|---|
| contentId | string | Yes | Unique content identifier |
| contentType | string | No | Type of content (whitepaper, ebook, case_study, template, guide) |
| contentTitle | string | No | Human-readable content title |
| userEmail | string | No | Downloader’s email address |
| companyName | string | No | User’s company name |
| source | string | No | Where the download was initiated |
Was this page helpful?