{"article":{"id":24293289815185,"url":"https://ds24.zendesk.com/api/v2/help_center/en-us/articles/24293289815185.json","html_url":"https://help.digistore24.com/hc/en-us/articles/24293289815185-Track-advertising-campaigns-with-tracking-and-campaign-key","author_id":21855521203985,"comments_disabled":false,"draft":false,"promoted":false,"position":3,"vote_sum":35,"vote_count":65,"upvote_count":50,"downvote_count":15,"section_id":24293136691985,"created_at":"2024-04-18T16:02:00Z","updated_at":"2026-10-27T11:28:36Z","name":"Track advertising campaigns with tracking and campaign key","title":"Track advertising campaigns with tracking and campaign key","source_locale":"de","locale":"en-us","outdated":false,"outdated_locales":[],"edited_at":"2026-01-15T16:04:15Z","user_segment_id":null,"permission_group_id":12152305040273,"content_tag_ids":[],"label_names":["tracking","affiliate","vendor","advertisement","tracking key","campaign key"],"body":"<p>If you want to track your advertising campaigns, you can add a tracking key (for vendors) or a campaign key (for affiliates) at the end of the links you use for the advertising campaign.</p>\n<h2 id=\"h_01J8J36YZY54ENH7HYG44SG5YJ\">Difference between tracking key and campaign key</h2>\n<table border=\"1\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th>\n<p> </p>\n</th>\n<th style=\"vertical-align: top;\"><strong>Tracking key</strong></th>\n<th style=\"vertical-align: top;\"><strong>Campaign key</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td style=\"width: 33.3333%; vertical-align: top;\"><strong>Who is it for? </strong></td>\n<td style=\"width: 33.3333%; vertical-align: top;\">For vendors</td>\n<td style=\"width: 33.3333%; vertical-align: top;\">For affiliates</td>\n</tr>\n<tr>\n<td style=\"width: 33.3333%; vertical-align: top;\"><strong>Looks like this and is attached to the end of the link:</strong></td>\n<td style=\"width: 33.3333%; vertical-align: top;\">/?ds24tr= <em> TRACKINGKEY </em>*</td>\n<td style=\"width: 33.3333%; vertical-align: top;\">/<em>CAMPAIGNKEY </em>*</td>\n</tr>\n<tr>\n<td style=\"width: 33.3333%; vertical-align: top;\"><strong>When a customer calls up the key, it is stored as a cookie:</strong></td>\n<td style=\"width: 33.3333%; vertical-align: top;\">Yes</td>\n<td style=\"width: 33.3333%; vertical-align: top;\">Yes</td>\n</tr>\n<tr>\n<td style=\"width: 33.3333%; vertical-align: top;\"><strong>Can be attached to the promolink </strong></td>\n<td style=\"width: 33.3333%; vertical-align: top;\">Yes</td>\n<td style=\"width: 33.3333%; vertical-align: top;\">Yes</td>\n</tr>\n<tr>\n<td style=\"width: 33.3333%; vertical-align: top;\"><strong>Can be attached to the content link</strong></td>\n<td style=\"width: 33.3333%; vertical-align: top;\">Yes</td>\n<td style=\"width: 33.3333%; vertical-align: top;\">Yes</td>\n</tr>\n<tr>\n<td style=\"width: 33.3333%; vertical-align: top;\"><strong>Can be attached to the orderform link</strong></td>\n<td style=\"width: 33.3333%; vertical-align: top;\">Yes</td>\n<td style=\"width: 33.3333%; vertical-align: top;\">No</td>\n</tr>\n</tbody>\n</table>\n<p><em>* TRACKING KEY/CAMPAIGN KEY</em> will be displayed under <strong>Reports &gt; Transactions</strong> for a purchase made via the respective link. You can freely choose your tracking key/campaign key, but it must not be longer than 127 characters.</p>\n<h2 id=\"h_01HY3K49VV13VN7JSP99565ADZ\">What does a tracking key in a link look like?</h2>\n<p>The tracking key is attached to the end of the promo, content, or orderform link.</p>\n<table border=\"1\" style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 22.7143%;\"><strong>Promolink</strong></td>\n<td style=\"width: 77.2857%;\">https://www.checkout-ds24.com/redir/<em>PRODUKT-ID</em>/<em>AFFILIATE</em>/<strong>?ds24tr=<em>TRACKINGKEY</em></strong>\n</td>\n</tr>\n<tr>\n<td style=\"width: 22.7143%;\"><strong>Content link</strong></td>\n<td style=\"width: 77.2857%;\">https://www.checkout-ds24.com/content/<em>PRODUKT-ID</em>/<em>CONTENT-LINK-ID</em>/<em>AFFILIATE</em>/<strong>?ds24tr=<em>TRACKINGKEY</em></strong>\n</td>\n</tr>\n<tr>\n<td style=\"width: 22.7143%;\"><strong>Orderform link</strong></td>\n<td style=\"width: 77.2857%;\">https://www.checkout-ds24.com/product/<em>PRODUKT-ID</em>/<strong>?ds24tr=<em>TRACKINGKEY</em></strong>\n</td>\n</tr>\n</tbody>\n</table>\n<p>The blue highlighted text <strong><em>TRACKINGKEY</em></strong> can be replaced with any combination of letters and numbers, but do not replace the preceding <strong>?ds24tr=</strong>.</p>\n<p><strong>Please pay attention when selecting your tracking key!</strong></p>\n<p>Please ensure that your tracking key is not longer than 127 characters and consists only of the following characters:</p>\n<ul>\n<li>\n<p>Small and capital letters without umlauts</p>\n</li>\n<li>\n<p>Underscores</p>\n</li>\n<li>\n<p>Hyphens</p>\n</li>\n<li>\n<p>Numbers</p>\n</li>\n</ul>\n<h2 id=\"h_01HY3K49VV8E8B7HC06SQB2BQT\">What does a campaign key in a link look like?</h2>\n<p>The campaign key is attached to the end of the promo or content link.</p>\n<table border=\"1\" style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 22.7143%;\"><strong>Promolink</strong></td>\n<td style=\"width: 77.2857%;\">https://www.checkout-ds24.com/redir/<em>PRODUKT-ID</em>/<em>AFFILIATE</em>/<strong><em>CAMPAIGNKEY</em></strong>\n</td>\n</tr>\n<tr>\n<td style=\"width: 22.7143%;\"><strong>Content link</strong></td>\n<td style=\"width: 77.2857%;\">https://www.checkout-ds24.com/content/<em>PRODUKT-ID</em>/<em>CONTENTLINK-ID</em>/<em>AFFILIATE</em>/<strong><em>CAMPAIGNKEY</em></strong>\n</td>\n</tr>\n<tr>\n<td style=\"width: 22.7143%;\"><strong>Orderform link</strong></td>\n<td style=\"width: 77.2857%;\">https://www.checkout-ds24.com/product/<em>PRODUKT-ID</em>/<strong>?cam=<em>CAMPAIGNKEY</em></strong>\n</td>\n</tr>\n</tbody>\n</table>\n<p>The blue highlighted text <strong><em>CAMPAIGNKEY</em></strong> can be replaced with any combination of letters and numbers.</p>\n<p><strong>Please pay attention when selecting your campaign key!</strong></p>\n<p>Ensure your campaign key is not longer than 127 characters and consists only of the following characters:</p>\n<ul>\n<li>\n<p>Small and capital letters without umlauts</p>\n</li>\n<li>\n<p>Underscores</p>\n</li>\n<li>\n<p>Hyphens</p>\n</li>\n<li>\n<p>Numbers</p>\n</li>\n</ul>\n<h2 id=\"h_01J8J36YZYK3B1GKTCFWEYJEDX\">Examples/Use Cases</h2>\n<h3 id=\"h_01HY3K49VVZXC1W56K7N1Z8ZSV\">Tracking key example (vendor)</h3>\n<p>The vendor Max Mustermann sells the product \"Yoga for Beginners\" with the ID \"12345\". He places ads for this product on <strong>Facebook</strong> and <strong>Google</strong> using the promolink for his product. To find out which campaign works better, he added a tracking key at the end of both promolinks. For <strong>Facebook</strong>, he replaced the tracking key placeholder with <strong>Campaign1Facebook</strong>. For <strong>Google</strong>, he replaced the tracking key placeholder with <strong>Campaign2Google</strong>. His links now look like this:</p>\n<p><strong>Facebook ad promolink:</strong> <strong>?ds24tr=Campaign1Facebook</strong></p>\n<p><strong>Google ad promolink:</strong> <strong>?ds24tr=Campaign2Google</strong></p>\n<p>If a customer purchases his product via the <strong>Facebook promolink</strong>, he will now see the placeholder \"Campaign1Facebook\" in the column \"Tracking key\" under <strong>Reports &gt; Transactions</strong></p>\n<p><img alt=\"Screenshot-2019-02-15-at-13.20.26-8Wk.png\" src=\"https://help.digistore24.com/hc/article_attachments/28634241527697\"></p>\n<p>If a customer purchases his product via the <strong>Google promolink</strong>, he will now see the placeholder \"Campaign2Google\" in the column \"Tracking key\" under <strong>Reports &gt; Transactions</strong></p>\n<p><img alt=\"Screenshot-2019-02-15-at-13.23.35-SV8.png\" src=\"https://help.digistore24.com/hc/article_attachments/28634241530001\"></p>\n<h3 id=\"h_01HY3K49VV87PV0MJ2Q19Q3JR1\">Campaign key example (affiliate)</h3>\n<p>The vendor Max Mustermann sells the product \"Yoga for Beginners\" with the ID \"12345\". The affiliate with the Digistore24 ID <strong>KlausMeier</strong> advertises this product via his email newsletter and his blog. To find out which campaign works better, he added a campaign key at the end of both promolinks. For the <strong>email newsletter</strong>, he replaced the campaign key placeholder with <strong>Campaign1Email</strong>. For the <strong>blog</strong>, he replaced the campaign key placeholder with <strong>Campaign2Blog</strong>. His links now look like this:</p>\n<p><strong>Email newsletter promolink:</strong> <strong>Campaign1Email</strong></p>\n<p><strong>Blog promolink:</strong> <strong>Campaign2Blog</strong></p>\n<p>If a customer purchases his product via the <strong>email newsletter promolink</strong>, he will now see the placeholder \"Campaign1Email\" in the column \"Campaign key\" under <strong>Reports &gt; Transactions</strong></p>\n<p><img alt=\"Screenshot-2019-02-15-at-13.37.22-nKw.png\" src=\"https://help.digistore24.com/hc/article_attachments/28634241533585\"></p>\n<p>If a customer purchases his product via the <strong>blog promolink</strong>, he will now see the placeholder \"Campaign2Blog\" in the column \"Campaign key\" under <strong>Reports &gt; Transactions</strong></p>\n<p><img alt=\"Screenshot-2019-02-15-at-13.39.46-v7o.png\" src=\"https://help.digistore24.com/hc/article_attachments/28634241538833\"></p>","user_segment_ids":[]}}