Introduction
Dynamic Tracking Code is a piece of JavaScript snippet that helps in better tracking leads. This piece of code has to be implemented immediately after the opening of the <body> tag.
There are two types of Dynamic Tracking Code.
Single Entity Tracking Code: If any partner has only one entity configured on Meritto, then a Single Entity Tracking Code having a single CID(college ID) & Single URL has to be implemented across all websites and web pages of the partner.
Multiple Entity Tracking Code: If any partner has more than one entity configured on Meritto, then Multiple Entity Tracking Code having multiple CIDs & multiple URLs have to be implemented across all websites and webpages of the partner.
Where to find Dynamic Tracking Code?
Dynamic Tracking Code can be accessed by following the path Settings > Campaign Tracking > Dynamic Tracking Code
It is easier to place Single Entity Tracking codes, as we just have to copy and paste the Dynamic Tracking Code by following the above steps whereas we have to create exclusive Dynamic Tracking Code for Institutes which have multiple entities on Meritto.
How to create a Multiple Entity Tracking Code?
By following the above steps, copy and paste the Dynamic Tracking Code for all the institutes that are configured.
For Example
Dynamic Tracking Code for the first entity configured on Meritto :
<script type="text/javascript">
var npf_d='https://demotest1.nopaperforms.com';
var npf_c='221';
var npf_m='1';
var s=document.createElement("script");
s.type="text/javascript";
s.async=true;
s.src="https://track.nopaperforms.com/js/track.js";
document.body.appendChild(s);
</script>
Dynamic Tracking Code for second entity configured on Meritto :
<script type="text/javascript">
var npf_d='https://demotest2.nopaperforms.com';
var npf_c='222';
var npf_m='1';
var s=document.createElement("script");
s.type="text/javascript";
s.async=true;
s.src="https://track.nopaperforms.com/js/track.js";
document.body.appendChild(s);
</script>
Then the combined Multiple Entity Tracking Code can be created by merging (comma separated) the URL and institute ids. Please note, the order of the URLs and institute ids must be in the same order.
Multiple Entity Dynamic Tracking Code
<script type="text/javascript">
var npf_d='https://demotest1.nopaperforms.com,https://demotest2.nopaperforms.com';
var npf_c='221,222';
var npf_m='1';
var s=document.createElement("script");
s.type="text/javascript";
s.async=true;
s.src="https://track.nopaperforms.com/js/track.js";
document.body.appendChild(s);
</script>