Implement Piano Analytics With Google Tag Manager Server-Side

Content
Step 1: Sending data via Piano Analytics SDK
Step 2: Receiving data server-side via Custom Event Parser template
Step 3: Sending data via Piano Analytics GTMSS Tag template
Additional tips

Step 1: Sending data

Step 2: Receiving the data in GTM server-side

GTM server-side client with Piano Analytics event data
Event object returned to the GTMSS container by the Custom Event Parser client

Step 3: Sending the data from GTM server-side to Piano Analytics

Additional tips

Debugging

  1. Browser dev tools or PA Tag Inspector for seeing outgoing requests in the browser
  2. GTMSS preview mode for making sure that client, trigger, and tag are well constructed server-side
  3. PA Stream Inspector to monitor all incoming raw requests across platforms
  4. PA Data Management Rules to modify each parameter of the data stream during pre-processing and map the request content to your data model properties (optional)
  5. See the fully processed event in all reports, interfaces, and APIs within <2 minutes
Piano Analytics Stream Inspector for GTM server-side
Viewing the raw incoming request from GTMSS in Piano Analytics Stream Inspector

Visitor identification and cookie handling

https://collectDomain.com/event?s=123456&idclient=78c85c7e-d345-41e1-882f-ff4b908113e7
Google Tag Manager Server-side Custom Event Parser Client Configuration
Custom Event Parser: Parsing a custom cookie from the request to the event data object

--

--

--

https://hinternesch.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Citizen Developers in manufacturing

Command line interface with an access denied banner placed over top

{UPDATE} i Live - You play he lives Hack Free Resources Generator

LeetCode-Day 1: SQL Questions

Best Automated Testing Tools for 2018

A Lesson In Effective Innovation From Amazon

The Most Powerful Underrated Programming Language I See No One Using

String vs StringBuilder vs StringBuffer

Vector Clock & Applications

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nicolas Hinternesch

Nicolas Hinternesch

https://hinternesch.com

More from Medium

Integrating data sources into a full-stack data platform

Automation of Data Operations

Building an Oilfield Production Surveillance Dashboard

Scaling Genomics in the Cloud with Microsoft Azure