Import Sync Spend
This is a specialized version of the Metadata import below and is available for all customers regardless of them having Data Syncs enabled or not. We suggest you use this option if you are specifically looking to import spend data into HockeyStack since it can behave differently than other data points.
Example Schema
Each row has a timestamp and the combination of campaign, ad group, ad, and UTM information.
date
2025-03-18
The date of the campaign / ad metric
campaign_name
SaaStr Booth
Name of your campaign
spend
45300.16
Numerical value of spend without a currency symbol, or commas
currency
USD
Recommended if ingesting spend data. Three letter currency code
network
Field Marketing
Campaign or ad network to group the metrics by (i.e. Google Ads is also an ad network)
utm_campaign
saastr-booth-cm
Not required, but very helpful when included to be able to connect this to website pageviews
campaign_id
19928
ID of your campaign
adgroup_id
9898129
ID of your Ad Group
adgroup_name
Retargeting F24
Name of your Ad Group
account_id
001FKQN2DJA5
ID from CRM
impressions
95380
Numerical value of impressions, without commas
clicks
3318
Numerical value of clicks, without commas
url
www.testurl.com/?open-page
Page URL of campaign
How to Connect
To get started, navigate to Atlas > Ingest > Custom Data Source.
Select Google Sheets as the Data Source
Configure the Sync settings
Name
Import Type: Custom Spend
Schedule Options: One-time or Recurring (daily)
Connection Details: Public (legacy) or Private (recommended)
Create the data source
Copy our Google Sheets template to start populating it: HockeyStack Template - Sync Spend
The yellow marked columns are required.
If you need to use a different currency, you can do the following:

Public sheets (legacy) require at least one UTM parameter to be included.
Connecting the sheet
Private (recommended)
Once the sheet has been created, share the sheet with
hockeystack-sync-spend-import@sync-spend.iam.gserviceaccount.comCopy the URL (top search bar) and paste it into HockeyStack
Public (legacy)
Click File on the top left, hover over Share, and select Publish to Web

On the screen that comes up, change “Web page” to “CSV”, and click Publish

Then, copy this URL, and add it into HockeyStack
Click Test Connection. Once successful, click it again to create the sync

Configure Ingestion Settings
For small files (< 10K rows) select "Changes to the same object overwrite existing rows"
For larger files select "Changes to same object are new rows"
For "New Rows", an
updatedAtdate column is required.Map the ingestion date column (used to organize data sequentially)

Map remaining columns
Note: UTMs (Source, Medium, etc) are automatically mapped— no action needed
Create Connection
Syncs are paused by default. Click on the connection in Atlas and start the sync with the lightning icon

Last updated