This guide offers a clear, step-by-step process for implementing Google Service Accounts with TAGGRS. By connecting a Google Service Account to a server-side Google Tag Manager (sGTM) container via TAGGRS, you unlock enriched user insights and gain access to more complete performance and profit data—giving you a more accurate view of your marketing campaign profitability. You’ll also benefit from storing your data in BigQuery, for advanced data storage, analysis, and reporting.
In addition to these TAGGRS-specific advantages, you also get all the standard benefits of using Google Service Accounts:
- Access to Google APIs: Automate interactions with Google APIs without human intervention
- Enhanced Security: Eliminate shared credentials with secure, credential-free access to cloud resources
- Role-Based Access Control (RBAC): Assign precise permissions to service accounts, improving access governance
- Scalability: Manage applications and services at scale without maintaining individual user accounts
- Workflow Automation: Automate CI/CD pipelines and cloud-based workflows for improved efficiency and reliability
- Active TAGGRS account
- Access to Google Cloud Platform (GCP) project
- sGTM (server-side Google Tag Manager) container deployed
1. In GCP, navigate to IAM & Admin → Service Accounts.
2. Click Create Service Account.
3. Assign a name and description.
4. Grant necessary roles (e.g., BigQuery Data Editor, Firestore User, or Sheets Editor, depending on integration needs).
1. After creating the service account, go to Keys → Add Key → Create new key.
2. Choose JSON and download the key file securely.
1. In the TAGGRS dashboard, navigate to the integration section for your desired tool (BigQuery, Firestore, or Sheets).
2. Upload the JSON key file.
3. Configure the integration by specifying dataset, table, or sheet details as required.
1. Set up triggers in sGTM to send event data to BigQuery, Firestore, or Sheets using the authenticated service account.
2. Map variables and ensure data is sent in the required format for each destination.
1. Check for successful data delivery in your chosen platform (BigQuery tables, Firestore collections, or Google Sheets).
2. Use TAGGRS logs and dashboards to monitor automation and troubleshoot issues.
With the Google Service Account integration, you can use Profit Tracking. Profit Tracking goes beyond Return on Ad Spend (ROAS) by measuring not only revenue, but also profit that comes from ad spend. This provides a clearer picture of the actual contribution of ad spend to operating profit and enables advertisers to make more informed decisions about their advertising strategy.
Profit Tracking Calculation = (Conversion Value - Purchase & Sales Costs) / Cost.
With the Google Service Account integration, you can easily read and write data to Google Sheets. This is useful for managing marketing campaigns, tracking performance and sharing reports with your team. Use an sGTM tag to write data such as lead information, conversions and customer interactions directly to a Google Sheet. This makes it easy to analyze and report data, and provides a flexible and accessible data management platform.