Quantcast
Channel: Matomo forums - Latest topics
Viewing all articles
Browse latest Browse all 13969

Returning JSON/JSONP from tracker

$
0
0

@andrescrucitti wrote:

Is there a way to return JSON data / execute custom JS on the client website based on the request data? For example displaying popups/customer messages to client's visitors based on url/cart, or triggering custom api calls on client's platform?

In v2.16 I was doing it by hooking into actions with a plugin that would return JSON data and "hacking" the piwik.js to parse/run it, but recently updated to 3.0.2 and was wondering if there is a cleaner way of acomplishing this.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 13969

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>