Implementing ViaAds Tracking
Unlock the potential of intelligent marketing with ViaAds Tracking! This tool is designed to profile your customers based on their behavior, allowing us to curate and forward relevant multi-channel marketing content tailored to each individual. This implementation not only enhances your marketing strategies but also provides insights that contribute to a deeper understanding of your webshop's dynamics.
Overview
Implementing ViaAds Tracking is a straightforward process:
- Embedding a JavaScript snippet into your webpage.
The Script
You will receive the following script, which should be inserted as the last element before the </body> closing tag.
<script>
(function() {
var o = document.createElement('script');
o.type = 'text/javascript';
o.async = true;
o.src = 'https://files.viaads.dk/plugins/min/{CMSSPECIFIC}.min.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(o, s);
})();
</script>
Note: {CMSSPECIFIC} is a placeholder for your unique CMS identifier provided by ViaAds. If you do not make use of a CMS, insert tracking instead.
If you're uncertain about this identifier, please log in to your ViaAds account or reach out to us for assistance.
Managing Cookie Policies
If your website does not allows users to browse without accepting your cookie policy first, or lets users customize which cookie types are accepted, you'll need to tell ViaAds when cookies become enabled to respect users' choices. Please refer to our Cookie Policy Management Guide for detailed instructions.
window.viaadsOptions.push({'tracking.cookiesEnabled': true});
DanDomain
Integrating ViaAds into your DanDomain CMS enhances your ability to respect user preferences while optimizing user engagement. The provided script allows for seamless automatic behavior tracking, enabling you to understand customer interactions and adjust your strategies accordingly.
<script>
(function() {
var o = document.createElement('script');
o.type = 'text/javascript';
o.async = true;
o.src = 'https://files.viaads.dk/plugins/min/danDomain.min.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(o, s);
})();
</script>
DanDomain Classic
Description Here
Automatic Customer Behavior Tracking
The following script allows for automatic behavior tracking of visiting customers.
<script>
(function() {
var o = document.createElement('script');
o.type = 'text/javascript';
o.async = true;
o.src = 'https://files.viaads.dk/plugins/min/danDomainClassic.min.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(o, s);
})();
</script>