<script>

(function (config) {
  'use strict';

  if (!config.pixelId || !config.apiEndpoint || !config.cdn) {
    if (typeof console !== 'undefined') {
      console.error('[Keychain Pixel] Configuration incomplete');
    }
    return;
  }

  window.keychainPixel = window.keychainPixel || {};

  var pixel = window.keychainPixel;

  pixel.init = function () {
    if (document.getElementById('__keychain_pixel__')) return;

    var script = document.createElement('script');
    script.async = true;
    script.type = 'text/javascript';
    script.id = '__keychain_pixel__';

    script.dataset.pixelId = config.pixelId;
    script.dataset.apiEndpoint = config.apiEndpoint;
    script.dataset.cdn = config.cdn;
    script.src = config.cdn + '/keychain/pixel.js';

    document.head.appendChild(script);
  };

  pixel.init();
})({
  cdn: 'https://assets.keychain.com',
  apiEndpoint: 'https://pixel-edge.keychain.com',
  pixelId: 'MANUFACTURER_PVUHJZHZ60_9ZHTECT0',
});
</script>

Hello world!

·

·

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!


One response to “Hello world!”
  1. A WordPress Commenter Avatar

    Hi, this is a comment.
    To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
    Commenter avatars come from Gravatar.

Leave a Reply

Your email address will not be published. Required fields are marked *