Articles on: Developers & API
This article is also available in:

What is the purpose of the "pid" URL variable for tracking?

The pid is a URL variable (URL parameter) which is a way to differentiate and track the same interactive game or module but via different tracked URLs.

Examples of use include:

If you have multiple outlets, you can add a different pid for each at the end of the URL of your Drimify game to differentiate the source of entries at the data export level. Example: pid=paris, pid=newyork, and pid=tokyo.

If you communicate your campaign via different channels (email, social networks, SMS, QR Code), you can add the pid at the end of the Drimify URL in order to differentiate the origin of the participants in the data export. Example: pid=email, pid=facebook, and pid=qrcode.

This feature is similar to a Google Analytics utm_source, but allows you to collect the associated data in Drimify and then rework it via the data export.

These data are currently not available in the Statistics page.

How to use pid ?





Replace the XXX value at the end of the URL with the value of the object to be tracked.

https://go.drimify.com/slotmachine/15/app.html?projectid=1881505005bbf7b03b90ee773577123-5bbf7b03b9148&lang=en&pid=XXX


Embed code



Replace the XXX value at the end of the URL with the value of the object to be tracked.

<div id="drimify-container" style="line-height:0"></div>

<script src="https://cdn.drimify.com/js/drimifywidget.release.min.js"></script>

<script>

window.addEventListener("load", function() {

var drimifyWidget = new Drimify.Widget({autofocus: true, height: "600px", element: "drimify-container", engine: "https://go.drimify.com/slotmachine/15/app.html?projectid=1881505005bbf7b03b90ee773577123-5bbf7b03b9148&lang=en&pid=XXX", style: "border:0px solid #d1d1d1;" });          

drimifyWidget.load();

});

</script>

Updated on: 24/11/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!