@segment/snippet
Advanced tools
Comparing version 4.13.1 to 4.13.2
@@ -7,3 +7,5 @@ module.exports=function(settings) { | ||
((__t = ( settings.ajsPath )) == null ? '' : __t) + | ||
'";\n\n // Insert our script next to the first script element.\n var first = document.getElementsByTagName(\'script\')[0];\n first.parentNode.insertBefore(script, first);\n analytics._loadOptions = options;\n };\n\n // Add a version to keep track of what\'s in the wild.\n analytics.SNIPPET_VERSION = \'4.13.1\';\n\n // Load Analytics.js with your key, which will automatically\n // load the tools you\'ve enabled for your account. Boosh!\n ' + | ||
'";\n\n // Insert our script next to the first script element.\n var first = document.getElementsByTagName(\'script\')[0];\n first.parentNode.insertBefore(script, first);\n analytics._loadOptions = options;\n };\n analytics._writeKey = \'' + | ||
((__t = ( settings.apiKey )) == null ? '' : __t) + | ||
'\'\n\n // Add a version to keep track of what\'s in the wild.\n analytics.SNIPPET_VERSION = \'4.13.2\';\n\n // Load Analytics.js with your key, which will automatically\n // load the tools you\'ve enabled for your account. Boosh!\n ' + | ||
((__t = ( settings.load )) == null ? '' : __t) + | ||
@@ -10,0 +12,0 @@ '\n\n // Make the first page call to load the integrations. If\n // you\'d like to manually name or tag the page, edit or\n // move this call however you\'d like.\n ' + |
@@ -7,3 +7,5 @@ module.exports=function(settings) { | ||
((__t = ( settings.ajsPath )) == null ? '' : __t) + | ||
'";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n);analytics._loadOptions=e};analytics.SNIPPET_VERSION="4.13.1";\n' + | ||
'";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n);analytics._loadOptions=e};analytics._writeKey="' + | ||
((__t = ( settings.apiKey )) == null ? '' : __t) + | ||
'";analytics.SNIPPET_VERSION="4.13.2";\n' + | ||
((__t = ( settings.load )) == null ? '' : __t) + | ||
@@ -10,0 +12,0 @@ '\n' + |
{ | ||
"name": "@segment/snippet", | ||
"author": "Segment.io <friends@segment.com>", | ||
"version": "4.13.1", | ||
"version": "4.13.2", | ||
"repository": "git://github.com/segmentio/snippet.git", | ||
@@ -6,0 +6,0 @@ "description": "Templating methods for rendering the analytics.js snippet.", |
@@ -78,2 +78,3 @@ (function(){ | ||
}; | ||
analytics._writeKey = '<%= settings.apiKey %>' | ||
@@ -80,0 +81,0 @@ // Add a version to keep track of what's in the wild. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23320
336