Tracking app installs

(Brian) #1


I’m trying to figure out how to use Matomo to track app installs, where the last page is a page where we cannot pass the pk_campaign parameter.

Here’s our visitor flow:
Ad on e.g. Facebook -> /landingpage.html?pk_campaign=fb
/landingpage.html -> clicks link to app store
app store -> download and install app
app -> launches /installed.html in browser

We cannot pass pk_campaign to the app store.
Can we store it in a cookie on when the user lands on /landingpage.html and read it and pass it on to Matomo when /installed.html is launched?

If so, is there an example of how to do this?