The simplest way to get started is by using the pre-built GTM template provided by Spectacle and available on GitHub.
Get the JSON file from the SpectacleHQ GitHub repository.
In your TAGGRS account, open your GTM server container and import the JSON file using the Templates or Import feature in the TAGGRS UI.
After importing, open the template in your container. Enter your Spectacle workspace ID (found in your Spectacle dashboard) along with any other required fields.
Save and publish the container.
The template comes with built-in configurations for pageviews, identify calls, and track calls. You’ll need to run the base template to capture pageviews, and add separate identify calls for form submissions or important events.
Once published, your data will start flowing into Spectacle immediately.
If you prefer to configure everything yourself, follow these steps:
In TAGGRS, add a new Google Tag Manager server container if you don’t already have one.
Set up triggers in TAGGRS to capture the same events (e.g. pageviews, form submissions, signups) as your web client.
Add a new tag in the server container to send data to Spectacle.
That’s it for manual setup. Your GTM server container is now connected to receive events from your website and forward them to Spectacle’s API.
When defining events, focus on the touchpoints that drive conversions. Common examples include:
Sending these events server-side ensures they fire even if the browser blocks scripts. In practice, you can:
By capturing pricing and sign-up events in your server container, you provide Spectacle with the complete journey data needed for accurate server-side tracking. This way, your attribution model won’t miss a single lead or paying customer.
Before going live, validate your setup:
Once you’ve confirmed the flow end-to-end, publish your GTM containers. After going live, head over to Spectacle’s Attribution Reports. You should soon see pricing page visits, demo submissions, and sign-ups appearing in your data.
Well done, you now have reliable, first-party tracking set up with Spectacle. Go forth and optimize your campaigns with confidence, knowing your data is bulletproof.
Happy tagging!