Piano Analytics SDK boosted with the edge, the only way of collecting first party data
Piano Analytics is a powerful analytics platform that provides comprehensive data collection and analysis capabilities. However, like many analytics tools, it can face challenges with ad blockers and browser privacy restrictions that may impact data collection reliability.
Edgee’s Piano Analytics Gateway component transforms how Piano Analytics works on your site by making it fully first-party and hosting it directly on your main domain. This SDK Gateway approach provides enhanced resilience against ad blockers while maintaining full JavaScript functionality.
Our Piano Analytics Gateway component allows you to use the Piano Analytics JavaScript SDK on your site in a fully first-party way, hosted on your main domain. While traditional analytics implementations load scripts from third-party domains, this unique integration allows Edgee to proxy and optimize the Piano Analytics SDK at the edge. With this approach, Edgee acts as a secure proxy between your site and Piano Analytics, and you can use the Piano Analytics client-side SDK as you would normally do.
To integrate Piano Analytics Gateway into your Edgee project:
edgee/piano-analytics-gateway
from the list of available components.When using the gateway setup, you need to specify a custom path prefix for the Piano Analytics SDK to serve your analytics on your main domain. This helps prevent ad blockers from detecting and blocking the analytics scripts. You can change this value at any time to maintain effectiveness. We automatically generate one for you, but feel free to modify it if needed.
For example, if you choose /piano
as a path prefix, all requests coming to www.yourdomain.com/piano/something
will be forwarded to your Piano Analytics.
When enabled, the Piano Analytics SDK will be automatically added to your website. If disabled, you’ll need to add the Piano Analytics SDK code to your website manually and handle its initialization based on user consent.
If you choose to inject the SDK automatically, the mode determines when the Piano Analytics SDK is injected based on the user’s consent.
granted
.pending
or granted
.For more details on Piano Analytics implementation, refer to the official Piano Analytics documentation.