Intempt Docs
GuidesCustomer Data Platform

Creating a Source

A source connects an app or server to Intempt so it can send event data. Intempt supports six source types: JavaScript, Node.js, Python, PHP, iOS, and Android.

Overview

A source connects an app or server to Intempt so it can send event data. Intempt supports six source types: JavaScript (web), Node.js, Python, PHP, iOS, and Android. The middle three are server-side; the rest run on a device your customer controls. Create a separate source for each website, app, or server you want to track, so events from each one stay attributable to where they came from.

How it works

Sources live on the Integrations page, in the Connections tab, alongside platforms (HubSpot, Stripe, Shopify) and destinations (Gmail, Twilio, SendGrid, Slack, Amazon SES). See Integrations Overview for the full connectors table, platforms, destinations, and the Domains tab.

Each source type opens its own setup panel when you connect it:

  • JavaScript asks you to enter a Connection Name, which Intempt checks against your existing connectors to prevent duplicates.

  • Node.js, Python, PHP, iOS, and Android create the source immediately under an auto-generated name (for example, "Untitled source-482"), which you can change afterward with Rename.

Every panel includes a copyable installation snippet for that source type. Once created, the source appears as a row in the Connected Integrations table, tagged Source.

Getting started

  1. Go to Integrations in the left navigation.

  2. On the Connections tab, click Add Integration.

add integration sidebar sources section - sources - Intempt documentation

  1. Under Sources, click Connect next to the source type you want to add.

Connecting a JavaScript source

  1. In the Configure JavaScript panel, enter a Connection Name (for example, "Marketing Website").

  2. Copy the installation snippet (a script tag that loads intempt.min.js with your organization, project, and source IDs) and add it to your site.

  3. Click Done.

configure javascript panel installation snippet - sources - Intempt documentation

Connecting a Node.js source

  1. In the Configure Node JS panel, click Connect Node JS. Intempt creates the source right away, and the panel shows Source Type: Server.

  2. Copy the Source ID that appears once the source is created.

  3. Copy the installation snippet from the panel to install the Node.js SDK.

Connecting a Python source

  1. In the Configure Python panel, enter a Connection Name (for example, "Django Backend").

  2. Click Proceed. Intempt creates the source and shows its Source ID.

  3. Copy the Source ID — the Python SDK takes it as source_id.

Connecting a PHP source

  1. In the Configure PHP panel, enter a Connection Name (for example, "Laravel Backend").

  2. Click Proceed. Intempt creates the source and shows its Source ID.

  3. Copy the Source ID — the PHP SDK takes it as sourceId.

⚠️ Keep the Source ID a string

A Source ID is a 19-digit number. Passing it through a numeric type loses the last digits on some runtimes and addresses a different source, with no error to tell you.

Connecting an iOS source

  1. In the Configure iOS panel, copy the Swift Package Manager installation snippet.

  2. Click Connect iOS.

Connecting an Android source

  1. In the Configure Android panel, copy the Gradle installation snippet.

  2. Click Connect Android.

connections table new source row - sources - Intempt documentation

After you connect

The new source appears as a row in the Connected Integrations table with a status of Active, Syncing, Error, or Disabled. Open the row's action menu to Rename or Delete the source.

📘 Good to know

Node.js, Python, PHP, iOS, and Android sources are created with an auto-generated name, so use Rename right after connecting one to make it easy to identify later in the connectors table.

Use cases

  • Tracking your website. Connect a JavaScript source to track events from a web application.

  • Tracking a mobile app. Connect an iOS or Android source for mobile analytics from your app.

  • Server-side tracking. Connect a Node.js, Python, or PHP source for server-side event tracking, so events come from your backend rather than a browser that can be blocked.

  • Separating environments. Create one JavaScript source for production and another for staging, so their events don't mix in the same connector.

  • Separating properties. Create a distinct source for each website or app you own, instead of sending all their events through a single shared source.

  • Renaming a default source. Use Rename on a Node.js, Python, PHP, iOS, or Android source to replace its auto-generated name with something identifiable.

Where to go next

On this page