Overview
A complete installation includes five steps:- Subdomain Setup – Enable first-party tracking for better data coverage
- Install Innkeepr.js – Add the tracking script to your site
- Track Conversions – Capture purchase events with revenue data
- Identify Users – Connect user emails for advanced audience features
- Connect Platforms – Link your ad accounts and analytics
Step 1: Subdomain Setup (Recommended)
Setting up a custom subdomain enables first-party tracking, which captures approximately 20-30% more user sessions by avoiding ad blockers and browser restrictions. Create a CNAME Record- Access your domain’s DNS settings (typically in your hosting provider or domain registrar)
- Create a new CNAME record:
- Subdomain:
innkeepr(or your preferred name) - Target:
cdn.innkeepr.ai
- Subdomain:
- Save the DNS record and wait for propagation (usually 5-30 minutes)
https://innkeepr.yourdomain.com instead of the default Innkeepr domain.
Note: This step is optional but strongly recommended. Without a custom subdomain, some user sessions may not be tracked due to browser privacy features and ad blockers.
Learn More
Step 2: Install Innkeepr.js
Innkeepr.js automatically captures page views and provides methods for tracking conversions and identifying users. Get Your Tracking Script- Navigate to Sources in the Innkeepr app
- Click Add Source
- Select JavaScript from the source catalog
- Enter your Innkeepr URI
- Copy the tracking snippet
- Open Google Tag Manager (or your preferred tag manager)
- Create a new Custom HTML tag
- Paste the Innkeepr.js snippet
- Set the trigger to All Pages
- If you configured a custom subdomain in Step 1, update the script URL to use your subdomain
- Save and publish
<head> section of your website, before other scripts.
Verify Installation
Once installed, open your website and check the Event Debugger in the Innkeepr app:
- Navigate to Events
- You should see
pageevents appearing in real-time
Learn More
Step 3: Track Conversions
Conversion tracking is essential for enabling audience and conversion signals. The track method captures key user actions along with their properties. Basic Conversion Tracking Fire atrack call when a user completes a purchase or other conversion event:
javascript
| Property | Type | Description |
|---|---|---|
revenue | Number | Order value (required for Conversion Signals) |
| Property | Type | Description |
|---|---|---|
order_id | String | Unique order identifier |
currency | String | ISO currency code (EUR, USD, etc.) |
products | Array | List of purchased products |
- Create a new Custom HTML tag in Google Tag Manager
- Add the track call with dynamic variables from your data layer:
html
- Set the trigger to fire on your purchase confirmation page or transaction event
revenue property is required for Conversion Signals. Without it, incrementality-weighted conversion values cannot be calculated.
Additional Events
Track other meaningful user actions to improve audience quality:
javascript
Learn More
Step 4: Identify Users
Theidentify method connects user actions to known identities. This enables Value-Based Audiences on Meta and improves cross-device tracking.
Basic User Identification
Fire an identify call when a user completes a purchase or logs in:
javascript
| Trait | Type | Description |
|---|---|---|
email | String | User’s email address (plaintext) |
| Trait | Type | Description |
|---|---|---|
email_sha256 | String | SHA256-hashed email address (lowercase, trimmed) |
- Create a new Custom HTML tag in Google Tag Manager
- Add the identify call with variables from your data layer:
html
html
- Set the trigger to fire on purchase confirmation (same as your conversion tracking trigger)
javascript
email or email_sha256 trait is required for Value-Based Audiences on Meta and Custom Audiences on TikTok. Without it, audience matching relies solely on pixel-based identification.
Learn More
Step 5: Connect Platforms
Connect your advertising platforms and analytics to enable audience syncing and conversion signals. Required Connections Navigate to Sources > Add Source and connect the following:| Platform | Purpose |
|---|---|
| Google Analytics 4 | Audience sync via GA4 audiences |
| Google Ads | Audience signals, Conversion signals |
| Meta Ads | Audience signals, Conversion signals, Value-Based Audiences |
- Select Google Analytics 4 from the source catalog
- Authenticate with your Google account
- Select the GA4 property for your website
- Grant the required permissions
- Select Google Ads from the source catalog
- Authenticate with your Google account
- Select the ad account(s) you want to connect
- Grant the required permissions
- Enter your Dynamic URL Parameter that carries the Google Campaign ID (e.g.,
google_campaign_id={campaignid})
- Select Facebook Ads from the source catalog
- Authenticate with your Facebook account 3.Select the ad account and pixel you want to connect
- Grant the required permissions
- Enter your Dynamic URL Parameter that carries the Meta Ad ID (e.g.,
meta_ad_id={{ad.id}})
Validation Checklist
After completing the installation, verify each component is working correctly: Event Debugger Navigate to Events in the Innkeepr app and confirm:pageevents are flowing (from Innkeepr.js)Checkout Completed(or your conversion event) appears withrevenuepropertyidentifycalls appear withemailoremail_sha256trait
- Innkeepr.js shows as Active
- Google Analytics 4 shows as Active
- Google Ads shows as Active
- Meta Ads shows as Active
- Verify the Innkeepr.js snippet is installed correctly
- Check browser console for JavaScript errors
- Confirm the tag fires on the correct pages/triggers
- Verify your data layer contains the order value
- Check that the variable mapping in Tag Manager is correct
- Verify your data layer contains the customer email
- Check privacy/consent settings aren’t blocking the data
Next Steps
Once your installation is validated, you’re ready to create your first signals:- Create an Audience – Build seed, retargeting, or exclusion audiences
- Enable Conversion Signals – Stream incrementality-weighted conversions to your ad platforms
- Set Up Platform-Specific Configurations – Follow the detailed guides for Meta and Google