Actions are meant to represent leads or sales that are generated some period of time after a visitor views and clicks on an advertisement. For example, a banner might lead to a landing page with a contact form and you want to track how many successful leads you have referred through that contact form. Another example would be a landing page prompts a visitor to sign up for a service and you want to track the number of signups that you've referred.
It is also possible for advertisers to pass along an invoice number along with a revenue amount for purchases, which allows you to provide them with return on investment (ROI) reporting.
An action tracking code must be implemented on your advertisers web site in order to track actions from visitors that viewed and clicked on one of their advertisements.
In most cases the advertiser will place the action tracking code on their contact, order or sign up confirmation pages.
The action tracking code does not visibly display anything in the page. It simply makes a HTTP/HTTPS request to check if visitors are already cookied by the ad server. The ad server can then look up a server-side history of which advertisements they've viewed and clicked on. This ensures that actions will only be tracked for visitors that you've referred.
<img src="http://adserver.example.com/servlet/track?aid=123&invoice=[invoice]&revenue=[revenue]" border="0" width="1" height="1" alt="" />
In both cases you'll see the [invoice] and [revenue] placeholders for the advertiser to optionally replace with the invoice number and revenue amount.
The ad server must be able to track clicks on your advertisement for it to be able to track post-click actions. Clicks cannot be automatically tracked with some types of rich media creatives and third party tags. With some modification, however, it is usually possible to track clicks though. See the chapters on Advanced Click Tracking and Third Party Click Tracking for more information.
You might also consider enabling Post View Action Tracking in the server settings if you need to work with third-parties that do not support tracking clicks on their tags. This is not enabled by default. Tracking post-view actions can dramatically impact performance so you should consult technical support before enabling it.
Generating an action tracking code is very simple and only requires a few steps.
The advertiser will need to place the generated action tracking code on their contact, order or sign up confirmation or thank you pages.
To set up a piggyback pixel you will need to go through the following steps assuming you have already placed an action tracking code on an advertisers web site:
Once you have completed these steps you piggyback pixel(s) will automatically be tied to any action tracking codes for this advertiser or their campaigns/media.
You might wonder why this process is not tied into the code wizard? The reason is that you might not have the piggyback pixel up front or you might want to remove it later. By decoupling this process from the code wizard you can perform either of those tasks without the advertiser needing to update their action tracking code, which is often a painful process as advertisers are usually unwilling or slow to change coding.
How can you track actions if you are running a feed of ads from a third party ad network and have no way to provide your action tracking pixel to the advertisers? The answer is sadly that you cannot most of the time because not very many third party ad servers support third party action tracking. However, for the few that do support server-to-server (S2S) pixels, you are in luck because the ad server does support it!
This method allows the advertiser to record the unique click identifier (ClickID) for the visitor from the ad server by including it in the redirect for the creative landing page. To do this, simply place the %%CLICKID%% macro in the Redirect URL for the creative using their designated parameter name. In the example below we use click_id for the parameter name, but this will be different for every advertiser so make sure to check with them!
When the creative is clicked and redirected to the advertisers site the %%CLICKID%% macro will be replaced with the ClickID value, which will contain between 34 and 43 alphanumeric characters.
You also need to generate Action Code with the Code Wizard to give to the advertiser. In fact, you specifically want to generate an S2S action tracking code, which is commonly referred to as an S2S pixel. They will need to pass back the ClickID value they recorded with the click as shown in the example below.
This enables the ad server to determine precisely which click resulted in the action being performed. Typically the S2S pixel will be called with a server-side HTTP request by the advertiser. However, it is also fine for them to make a client-side request by placing the S2S pixel in an <IMG> tag since it will display a 1x1 pixel.
Some third-party agencies may not have the capability to record the ClickID. However, they might be able to accept your S2S pixel as a URL parameter added to their third-party tags. Here's a simple example of what such a code might look like with placeholders for the click and action tracking URLs shown highlighted.
What you need to do is replace CLICK_URL_HERE and ACTION_URL_HERE with the URLs that the ad server uses to track clicks and actions. This is actually very simple to do because the ad server has %%CLICKTAG%% and %%ACTIONTAG%% macros designed specifically for this purpose. So, go ahead and replace those placeholders with those macros and you will end up with the following:
The third-party ad server has the option of making a server-side HTTP request with the action tracking URL or they can choose to load it on the client-side with an <IMG> tag since it will display a 1x1 pixel.