Tealium iQ Tag Management (TiQ) is a paid tag management system. Instead of implementing the Mopinion Deployment Code (MDC) directly into your web pages' HTML code, you can install the tag manager script once and control the Mopinion script from within Tealium iQ.

Prerequisites:

  • Tealium iQ Tag Management account (https://my.tealiumiq.com/)
  • Tealium code snippet installed on your webpages 

Please refer to https://community.tealiumiq.com/t5/iQ-Tag-Management/Code-Center/ta-p/13631 for installing the TiQ code snippet. Once you have TiQ set up on your domain, you can implement the Mopinion Deployment Code.

Go to the Tags menu and click the '+ Add Tag' button.

A Tag Marketplace modal will appear. Type 'Mopinion' in the search bar. The Mopinion tag will show as a result. Hit the '+ Add' button. 

Now you can set the Tag Configuration. With Account ID you enter the var id that is unique to your Mopinion Deployment Code. 

The var id can be found as follows:

Open your Mopinion environment in another browser tab. Go to 'Data Collection' -> 'Feedback forms' -> 'Deployments'.

Click on the </> icon to retrieve the Mopinion Deployment Code.

A modal, which contains the Mopinion Deployment Code, will open. Select the value between "" after 'var id='.

The code below is an example. Your code will have a unique var id.

<!-- Mopinion Pastea.se start --><script type="text/javascript">(function(){var id="MDC_unique_key";var js=document.createElement("script");js.setAttribute("type","text/javascript");js.setAttribute("src","//deploy.mopinion.com/js/pastease.js");js.async=true;document.getElementsByTagName("head")[0].appendChild(js);var t=setInterval(function(){try{new Pastease.load(id);clearInterval(t)}catch(e){}},50)})();</script><!-- Mopinion Pastea.se end -->


Paste the unique var id value in the text field after Account ID and hit 'Next'.

Set a rule that determines when the Mopinion tag must be loaded. You can create your own rule or what we advise is to check the 'Load on All Pages' option. Then hit the 'Finish' button.

Your tag is now ready to be published. Hit 'Save/Publish' button.


Select the environments (Dev, QA and/or Prod) you want the Mopinion tag to be published. Finally click 'Publish'.