To verify your ad performance by measuring metrics such as impressions and clicks using a third-party tracker, or to run your campaigns across multiple platforms and track the effectiveness of your campaigns across traffic sources, follow the steps below to add third-party trackers to your ad.
If you are using an external media solution, you can insert third-party trackers into individual Adacado creative ad tags after downloading the ad tags from the “Display Ads – Tags” page. The first step in understanding how to integrate different types of trackers into your ad tags is to understand how Adacado ad tag parameters work.
p["thirdPartyImpressionTrackingUrl"] = "PLACEHOLDER_IMPRESSION_TRACKING_PIXEL";
p["prependUrl"] = "PLACEHOLDER _CLICK_TRACKING_URL";
NOTE: DSP’s click macro is automatically inserted into this parameter by default when downloading the Adacado creative ad tags, and if you need to add a third-party click tracking URL to this parameter, move the DSP’s click macro to the p["thirdPartyClickTrackingUrl"]
parameter.
p["thirdPartyClickTrackingUrl"] = "PLACEHOLDER _CLICK_TRACKING_URL";
Example:
Here is an example of a static click tracker from DoubleClick:
http://ad.doubleclick.net/ddm/clk/290979640;118194896;c?http://www.adacado.com?ac=72.5.5&cvosrc=display.1162017.%ecid!&cvo_pid=118194896&cvo_buyid=8435528&cvo_adid=290979640&cvo_cid=%ecid!
This click tracker can be broken down into 3 parts:
In order to rebuild this in the Adacado system, we do the following:
To check to see if this is working correctly, you can take the ad tag and insert it inside the ad tag viewer, what you will see is something like this:
[Click tracking URL]?[Final Destination URL from Adacado Ad]?[Append Parameters]
NOTE: Any third-party click tracking URLs should be static non-redirecting unless they are being used as the click-through URL.
Why is this bad?
You have just created two sessions, one of which will never be able to convert. This means that every time someone lands on the advertiser’s site from an Adacado ad, double the amount of sessions will happen and one may or may never convert. This will negatively impact the advertiser’s analytics because it will look as though more people are visiting the site but converting less.
p["appendParameters"] = "PLACEHOLDER_APPEND_PARAMETERS";
When you download Adacado creative ad tags from the “Display Ads – Tags” page to use an external media solution for your campaign, you will see ad tags for individual ad sizes on the right side of the page. Ad tags are generated for the ad sizes created in the campaign and the media id in the p["mediaDspId"]
and the DSP click macro in the p["prependUrl"]
parameter will change automatically when you select your DSP in the “Publisher” drop-down menu. If you don’t need to insert a third-party tracker, you can use this ad tag after choosing DSP.
Example:
To add the third-party impression tracker or click tracker along with your DSP’s click macro, you must manually add the corresponding Adacado ad tag parameters and insert the relevant third-party tracker for each parameter.
Follow the steps below to add the desired third-party trackers to the relevant parameters in your ad tag.
1. On the “Display Ads – Tags” page, select your DSP from the “Publisher” drop-down menu and click the blue button to download a zip file containing all the individual ad tag files in .txt format.
2. Open each ad tag file in a text editor and copy and paste the parameters for the desired trackers under the p["prependUrl"]
parameter.
Example:
3. Replace “PLACEHOLDER” in each parameter with a third-party tracker.
4. Save the ad tag file.
These steps will work for most third-party trackers. However, if you are using a DoubleClick tracker, follow the steps below.
1. Cut the DSP’s click macro in the p[“prependUrl”] (complete characters between the quotation marks) and insert a DoubleClick click tracking URL in the p[“prependUrl”].
NOTE:
2. Paste the DSP’s click macro into the “p[“thirdpartyClickTrackingUrl”] parameter.
3. Save the ad tag file.
1. Use the “Image Tag (image)” and cut complete characters within the quotation marks after “SRC=” and before “BORDER”.
Example:
<IMG SRC=”https://ad.doubleclick.net/ddm/trackimp/Nxxxx.site-keyname/Byyyyyyy.n;dc_trk_aid={ad_id};dc_trk_cid={creative_id};ord=[timestamp];dc_lat=N;dc_rdid=Czzzz;tag_for_child_directed_treatment=I?” BORDER=”0″ HEIGHT=”1″ WIDTH=”1″ ALT=”Advertisement”>
2. Replace [timestamp] with {{rnd}}, a dynamically generated random number, to ensure proper cache-busting.
3. Save the ad tag file.
If you are using Google Analytics, follow the steps below to add UTMs to your ad tag.
p["appendParameters"] = "PLACEHOLDER_APPEND_PARAMETERS";
and paste it in the ad tag above the line that says /* End Ad Parameters */..Example:
If your ads are dynamic ads using dynamic destination URLs in your data feed, you can add the third-party trackers to your ad by adding them directly to individual destination URLs in the feed. This can be used if the same trackers are applied across all ad sizes.
1. Make sure your click tracker is a static click tracker.
2. Add click tracker with a ? before individual destination URLs.
Example:
https://ad.doubleclick.net/ddm/trackclk/N1234.123Adacado/B1234.1234;dc_trk_aid=1234;dc_trk_cid=12345;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=I?https://MyAdvertiser.com/1
1. Add UTMs at the end of the destination URLs, beginning with a ? or &. ? is most common, but if that doesn’t work, try &.
Example:
https://MyAdvertiser.com/3?utm_source=Adacado&utm_medium=display&utm_campaign=AdacadoRT
Always test to make sure that impressions, clicks, and analytics data are flowing into your third-party reports. If your data isn’t showing up as expected, check below:
If the problem persists after checking all of the above, please contact your third-party tracking platform or DSP to ensure all settings are set up correctly.
If you’re still having trouble or have questions, feel free to reach out to us anytime at support@adacado.com