How do I Install the Channel99 tag if I don't use GTM?
The following instructions are to be used if you do not have Google Tag Manager installed on your site. If you have Google Tag Manager, please follow these instructions instead.
Note: To install the C99 tag on your website, you will need to add the script to all your pages. You can do so by adding the script to a global javascript file, or to a global header that is used on all pages.
- Add the following <script> tag within the HTML <header> section of your site:
-
<script> var c99_elem = document.createElement("script");
c99_elem.name = 'tagserver_elem' c99_elem.id = 'tagserver' var tag =
'https://api.c99.ai/api/v1/fire/snippet?domain=YOUR_DOMAIN_HERE&token
=YOUR_TOKEN_HERE&referrer=' + encodeURIComponent(document.referrer);
c99_elem.src = tag; document.documentElement.appendChild(c99_elem);
</script>
-
- Replace the <token> with the token provided in your onboarding email (subject line: Install [You Company Name]’s Channel99 Tag!)
- Replace the <domain> with your domain (websitename.extension - without www or https://)
Comments
0 comments
Please sign in to leave a comment.