You're in the ORION demo environment. No campaign or settings changes will impact production.

Orion Logo
Louisiana Lottery
Agency Logo

Louisiana Lottery

Graham Group
Website Tags
DSP Settings
Pixel Fires
Website Tags
Choose the correct Javascript tag based upon the content management or e-commerce platform you are using.
Shopify
Click here for the Shopify tag setup guide.
window.orion = {account: 362, analytics, browser, init};
const script = document.createElement('script');
script.src = 'https://container.orionplatform.com/script/shopify.js?v=2&account=' + orion.account;
document.head.appendChild(script);

Click anywhere to copy to your clipboard.

Google Tag Manager
Click here for the GTM tag setup guide.
<script type="text/javascript">"use strict";(function(){var r="{";function a(t,e){var n=typeof window.orion_endpoint=="string"?window.orion_endpoint:'https://' + (t) + '.orionplatform.com';(n===""||n==="/")&&(n='' + (window.location.protocol) + '//' + (window.location.host) + '');var o=new URL('' + (n) + '' + (e) + '');return o.searchParams.set("timestamp",Date.now().toString()),o}function l(t){return'orion_script_' + (t) + ''}function s(t,e,n){var o=document.createElement("script");o.id=l(t),o.src=e,o.async=!n,d(o,n)}function d(t,e){var n=e?document.getElementById(l(e)):void 0;n||(n=document.getElementsByTagName("script")[0]),n.parentNode?n.parentNode.insertBefore(t,n):document.body.appendChild(t)}function c(t,e,n){Object.keys(e).forEach(function(o){var i=e[o];i===void 0||i==="undefined"||i===null||i===""||typeof i=="string"&&(i.includes(r+r)||i.startsWith(r))||t.searchParams.set('' + (n||"") + '' + (o) + '',i.toString())})}var u=4;window.orion||(window.orion=function(t,e){var n;if(window.orion_queue||(window.orion_queue=[]),window.orion_extension||(window.orion_extension={}),typeof t=="string"){var o=window.orion_extension[t];o?o.apply(o,e?[e]:[]):window.orion_queue.push([t,e]);return}if(typeof t=="object"){var i=a("container","/script/gtm.js");t.account&&!window.orion_account&&(window.orion_account=t.account),c(i,{account:(n=t.account)!=null?n:window.orion_account,version:u,event:t.event,revenue:t.revenue,transaction:t.transaction,referrer:t.referrer,url:typeof t.url=="string"&&t.url.length>0?t.url:window.location.href},"orion_"),delete t.account,delete t.event,delete t.revenue,delete t.transaction,delete t.referrer,delete t.url,c(i,t,"custom_"),s("container",i.toString())}});})();</script>

<script type="text/javascript">
  orion({
      "account": 362,
      "transaction": "{{Transaction}}",
      "revenue": "{{Revenue}}",
      "url": "{{Page URL}}",
      "referrer": "{{Referrer}}",
      "event": "{{Event}}"
  });
</script>

Click anywhere to copy to your clipboard.

Direct / Custom
Place one of these tags in the <head /> of the website.
Sitewide
<script type="text/javascript">"use strict";(()=>{var r="{";function a(n,e){let o=typeof window.orion_endpoint=="string"?window.orion_endpoint:`https://${n}.orionplatform.com`;(o===""||o==="/")&&(o=`${window.location.protocol}//${window.location.host}`);let t=new URL(`${o}${e}`);return t.searchParams.set("timestamp",Date.now().toString()),t}function d(n){return`orion_script_${n}`}function l(n,e,o){let t=document.createElement("script");t.id=d(n),t.src=e,t.async=!o,f(t,o)}function f(n,e){let o=e?document.getElementById(d(e)):void 0;o||(o=document.getElementsByTagName("script")[0]),o.parentNode?o.parentNode.insertBefore(n,o):document.body.appendChild(n)}function c(n,e,o){Object.keys(e).forEach(t=>{let i=e[t];i===void 0||i==="undefined"||i===null||i===""||typeof i=="string"&&(i.includes(r+r)||i.startsWith(r))||n.searchParams.set(`${o??""}${t}`,i.toString())})}var s=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,x=(n,e)=>{var o={};for(var t in n)_.call(n,t)&&e.indexOf(t)<0&&(o[t]=n[t]);if(n!=null&&s)for(var t of s(n))e.indexOf(t)<0&&m.call(n,t)&&(o[t]=n[t]);return o},O=2;window.orion||(window.orion=(...n)=>{if(window.orion_queue||(window.orion_queue=[]),window.orion_extension||(window.orion_extension={}),typeof n[0]=="string"){let e=window.orion_extension[n[0]];e?e.apply(e,n.slice(1)):window.orion_queue.push(n);return}if(typeof n[0]=="object"){let e=a("container","/script/direct.js");n[0].account&&!window.orion_account&&(window.orion_account=n[0].account);let o=n[0],{account:t,revenue:i,transaction:w,event:u}=o,p=x(o,["account","revenue","transaction","event"]);c(e,{account:t??window.orion_account,version:O,event:u,revenue:i,transaction:w,url:window.location.href,referrer:document.referrer},"orion_"),c(e,p,"custom_"),l("container",e.toString())}});})();</script>

<script type="text/javascript">
  orion({
      "account": 362
  });
</script>

Click anywhere to copy to your clipboard.

Purchase
Note: Make sure the client replaces {{Transaction}} and {{Revenue}} in the tag below.
<script type="text/javascript">"use strict";(()=>{var r="{";function a(n,e){let o=typeof window.orion_endpoint=="string"?window.orion_endpoint:`https://${n}.orionplatform.com`;(o===""||o==="/")&&(o=`${window.location.protocol}//${window.location.host}`);let t=new URL(`${o}${e}`);return t.searchParams.set("timestamp",Date.now().toString()),t}function d(n){return`orion_script_${n}`}function l(n,e,o){let t=document.createElement("script");t.id=d(n),t.src=e,t.async=!o,f(t,o)}function f(n,e){let o=e?document.getElementById(d(e)):void 0;o||(o=document.getElementsByTagName("script")[0]),o.parentNode?o.parentNode.insertBefore(n,o):document.body.appendChild(n)}function c(n,e,o){Object.keys(e).forEach(t=>{let i=e[t];i===void 0||i==="undefined"||i===null||i===""||typeof i=="string"&&(i.includes(r+r)||i.startsWith(r))||n.searchParams.set(`${o??""}${t}`,i.toString())})}var s=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,x=(n,e)=>{var o={};for(var t in n)_.call(n,t)&&e.indexOf(t)<0&&(o[t]=n[t]);if(n!=null&&s)for(var t of s(n))e.indexOf(t)<0&&m.call(n,t)&&(o[t]=n[t]);return o},O=2;window.orion||(window.orion=(...n)=>{if(window.orion_queue||(window.orion_queue=[]),window.orion_extension||(window.orion_extension={}),typeof n[0]=="string"){let e=window.orion_extension[n[0]];e?e.apply(e,n.slice(1)):window.orion_queue.push(n);return}if(typeof n[0]=="object"){let e=a("container","/script/direct.js");n[0].account&&!window.orion_account&&(window.orion_account=n[0].account);let o=n[0],{account:t,revenue:i,transaction:w,event:u}=o,p=x(o,["account","revenue","transaction","event"]);c(e,{account:t??window.orion_account,version:O,event:u,revenue:i,transaction:w,url:window.location.href,referrer:document.referrer},"orion_"),c(e,p,"custom_"),l("container",e.toString())}});})();</script>

<script type="text/javascript">
  orion({
      "account": 362,
      "transaction": "{{Transaction}}",
      "revenue": "{{Revenue}}"
  });
</script>

Click anywhere to copy to your clipboard.