Voluum Documentation

Tracking Organic Traffic

Voluum TRK TRK Campaign Funnel Tracking without Redirection

Organic traffic can be easily tracked with Direct Tracking Pixel. By adding the pixel to your landing page, you can track events without an initial redirect. Only impressions cannot be tracked with this method. Visits, clicks, and conversions will be registered in Voluum, once the campaign funnel is up and running. 

This guide presents you a recommended approach of setting up a campaign funnel. Because you are going to use Direct Tracking Pixel, it means that you need to have a campaign funnel with at least one landing page. This is required to make the Direct Tracking Pixel work. Moreover, you are supposed to create a dedicated campaign to track only the traffic that comes from organic sources. It means that you will have two types of campaigns for the same funnel: organic- and paid-traffic type of the campaign. 

If you want to read more about the concept itself, go to the Tracking Visits with Direct Tracking Pixel article.

Table of Contents
Before You Start
  1. Lander:

    1. The landing page needs to be set and hosted externally of Voluum.

    2. You have set the lander element in the Voluum platform.

  2. Offers:

    1. You have added offer(s) to Voluum.

I. Enable the Direct Tracking Option for the Traffic Source in Voluum

Let's start with turning on the Direct tracking option that allows you to track events without the initial redirection. In this guide, AdWords will be set as an example. To do so, follow the steps:

  1. In Voluum, go to Traffic sources. The Traffic sources view will show up.

  2. Select and edit the traffic source for which you want to use Direct Tracking Pixel. The traffic source's form will show up.

  3. In the form go to the Direct tracking option and turn on the toggle.

  4. Click the Save button to enable the direct tracking method for the selected traffic source.

II. Create a Direct Tracking Campaign

Once the option is enabled for the traffic source, you need to create a campaign with the direct tracking method:

  1. In Voluum, go to Campaigns. The Campaigns view will show up.

  2. Click the New campaign button. The New campaign form will show up.

  3. Jump to the Traffic source drop-down menu to select the traffic source that you created in the previous section. Once the traffic source is selected with the Direct tracking option enabled, the form of the campaign will change to the view where the direct method is available:

  4. Leave the radio button of the tracking method set to Direct.

  5. Provide other pieces of information in the GENERAL tab of the campaign's form. If you need to learn more details about creating the campaign in Voluum, go to the Creating a Campaign with a Redirect Method - Part 1: General article.

  6. Click the Next button to go to the DESTINATION tab.

  7. Select Path as the campaign's destination to be able to add at least one lander to your campaign funnel. Set the destination of the campaign. For more information on the destination options, refer to the Creating a Campaign with a Redirect Method - Part 2: Destination article.

  8. Once you have set the campaign's destination where there is at least one lander added, click the Save button. The campaign's form closes and the Summary tab shows up.

  9. The sum-up of the campaign gives you all required information to track events directly:

    1. Direct tracking URL:  It is required only if you distribute your promoted ads in the traffic source. The organic traffic consists of visits from search engines, so you do not need this URL.

    2. Direct tracking pixel: The JavaScript code block that you are going to adapt to use for the organic traffic. Copy the pixel code to clipboard.


    Voluum Note: If you need to use a secure connection (https://) for your campaign funnel, generate the code block only if the SSL-enabled domain is set as the main domain in Voluum. It can be either a Dedicated Domain or a Custom Domain. Otherwise, the pixel would not work properly.

    To read more about the main domain option in Voluum, go to the Dedicated Domain, Redirect Domain, Legacy Domains, and Custom Domains article.Dedicated Domain, Redirect Domain, Legacy Domains, and Custom Domains

  10. Click the Done button to close the campaign's form. You have created the campaign in Voluum with the direct tracking method.

III. Get the Campaign ID

To be able to prepare the pixel adequately for the organic traffic, firstly you need to get a Voluum's campaign ID for the newly created campaign. Follow the steps to learn how to find it:

  1. If the ID is not displayed in the Campaigns view, perform the steps in the picture below:

  2. After clicking the Apply button, the campaign ID should show up in one of the columns of the Campaigns view.

  3. Find the campaign you have just created and copy its ID. In this example, it will be 87dscw2-bf87-44h3-a43b-13434fc02f31.

IV. Adapt the Pixel to Track Organic Traffic

Having both, the pixel and the campaign ID, you are ready to modify the code block to be able to track visitors' actions that come from the organic traffic:

  1. After having copied Direct tracking pixel, paste it to any tool where you can edit it. Due to technical requirements the code script might look sophisticated, but below you can find a detailed instruction how to modify it.

        .dtpcnt {
            opacity: 0;
        (function(e, c, f, l, m, b, n, r, d, g, p, a, h, k) {
            function q() {
                for (var a = c.querySelectorAll(".dtpcnt"), b = 0, d = a.length; b < d; b++) a[b][n] = a[b][n].replace(/(^|\s+)dtpcnt($|\s+)/g, "")
            e[d] || (e[d] = function() {
                (e[d].q = e[d].q || []).push(arguments)
            }, k = c[l], c[l] = function() {
                k && k.apply(this, arguments);
                if (/loaded|interactive|complete/.test(c.readyState))
                    for (; a = c[m][g++];) /\/?click($|(\/[0-9]+)?$)/.test(a.pathname) && (a[b] = "javascript:" + d + '.l="' + a[b] + '",void 0')
            }, setTimeout(function() {
                a = c.createElement("script");
                h = c.scripts[0];
                a.async = 1;
                a.src = p + (-1 === p.indexOf("?") ? "?" : "&") + "lpref=" + f(c.referrer) + "&lpurl=" + f(location[b]) + "&lpt=" + f(c.title) + "&t=" + (new Date).getTime();
                a[r] = function() {
                    for (g = 0; a = c[m][g++];) /dtpCallback\.l/.test(a[b]) && (a[b] = a[b].match(/dtpCallback\.l="([^"]+)/)[1]);
                h.parentNode.insertBefore(a, h)
            }, 0), setTimeout(q, 7E3))
        })(window, document, encodeURIComponent, "onreadystatechange", "links", "href", "className", "onerror", "dtpCallback", 0, "http://your_Voluum_domain.com/d/.js");
        <link href="http://your_Voluum_domain.com/d/.js?noscript=true" rel="stylesheet" />
  2. Simply search for this phrase: http (you can use Ctrl+F on Windows Os / cmd+F on macOS). It appears twice in the code block.

    In the above example, this is a fifth and second to last line at the bottom of the snippet:

    • The fifth to last code line:

      })(window, document, encodeURIComponent, "onreadystatechange", "links", "href", "className", "onerror", "dtpCallback", 0, "http://your_Voluum_domain.com/d/.js");
    • The second to last code line:

          <link href="http://your_Voluum_domain.com/d/.js?noscript=true" rel="stylesheet" />
  3. In both code lines, you should see the links that start with http:// (or https:// if you use a secure connection in your campaign funnel).

  4. Paste the campaign ID that you have found above after the d/ but before .js symbol in each of those links.

    The URL will change as follows:


    ⇒ http://your_Voluum_domain.com/d/87dscw2-bf87-44h3-a43b-13434fc02f31.js


    87dscw2-bf87-44h3-a43b-13434fc02f31 is a campaign ID copied in the previous section

    Take a look at these examples:

    • The fifth to last code line:

      })(window, document, encodeURIComponent, "onreadystatechange", "links", "href", "className", "onerror", "dtpCallback", 0, "http://your_Voluum_domain.com/d/87dscw2-bf87-44h3-a43b-13434fc02f31.js");
    • The second to last code line:

          <link href="http://your_Voluum_domain.com/d/87dscw2-bf87-44h3-a43b-13434fc02f31.js?noscript=true" rel="stylesheet" />
  5. Save the modified code block. Now, you can prepare the landing page.

IV. Paste the Pixel to Your Landing Page

Once you have adapted the pixel to track organic traffic, you need to add it to the landing page:

  1. Go to the landing page that you host externally.

  2. Within the <head> section of your landing page, paste the script that you have modified in the previous section of this guide.

  3. Since now, every visit to this landing page that is organic will be registered within the organic-type campaign you have created in Voluum.