Add files via upload
|
@ -0,0 +1 @@
|
|||
.full-screen-preview{height:100%;padding:0px;margin:0px;overflow:hidden}.full-screen-preview__frame{width:100%;background-color:white}.full-screen-preview__frame.-ios-fix{width:10px;min-width:100%;-webkit-overflow-scrolling:touch;height:100% !important}.preview__header{font-size:12px;height:54px;background-color:#262626;z-index:100;line-height:54px;margin-bottom:1px}.preview__envato-logo{float:left;padding:0 20px}.preview__envato-logo a{display:inline-block;position:absolute;top:18px;text-indent:-9999px;height:18px;width:152px;background:url(../fonts/envato_market-a5ace93f8482e885ae008eb481b9451d379599dfed24868e52b6b2d66f5cf633.svg);background-size:152px 18px}@media (max-width: 568px){.preview__envato-logo{padding:0 10px}.preview__envato-logo a{position:absolute;top:20px;left:15px;height:14px;width:118px;background-size:118px 14px}}.preview__actions{float:right}.preview__action--buy,.preview__action--close{display:inline-block;padding:0 20px}@media (max-width: 568px){.preview__action--buy{padding:0 10px}}.preview__action--purchase-form{display:inline-block}.preview__action--item-details{display:inline-block}.preview__action--close{border-left:1px solid #333333}.preview__action--close a{color:#999999;text-decoration:none}.preview__action--close a:hover{color:white}.preview__action--close a i{color:white;font-size:10px;margin-right:10px}@media (max-width: 568px){.preview__action--close a i{margin-right:0}}@media (max-width: 568px){.preview__action--close a span{display:none}}.screenshots{padding:80px 10px 25px}.screenshots__thumbnail{display:inline-block;margin:0 10px 20px 0;border:1px solid #333333;line-height:0}.screenshots__thumbnail:hover{border:1px solid #666666}.screenshots__fullsize{display:inline-block;margin:20px 0;border:1px solid #333333;line-height:0}.screenshots__fullsize>img{max-width:100%}.screenshots__description{max-width:1024px;margin-top:20px;color:white}body{background-color:black}
|
After Width: | Height: | Size: 8.0 KiB |
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="-223 25 512 512" enable-background="new -223 25 512 512"><style type="text/css">.st0{fill:#DF2C2C;}</style><path class="st0" d="M215.8 405.8c4.8 4.8 7.2 10.3 7.2 16.4 0 6.1-2.4 11.7-7.2 16.4l-24.9 25.4c-4.8 4.8-10.3 7.2-16.8 7.2s-12-2.4-16.5-7.2l-124.5-124.9-125.2 124.8c-4.8 4.8-10.3 7.2-16.4 7.2-6.2 0-11.7-2.4-16.4-7.2l-24.8-24.7c-4.8-4.8-7.2-10.3-7.2-16.8 0-6.3 2.3-12 7.2-16.7l125.7-126.1-125.6-123.6c-4.8-4.8-7.2-10.3-7.2-16.7s2.3-12 7.2-16.7l24.8-24.8c4.7-4.8 10.3-7.1 16.8-7.1s12 2.3 16.5 7.2l124.4 124.8 124.7-124.7c4.8-4.8 10.3-7.2 16.7-7.2s12 2.3 16.7 7.2l24.8 24.8c4.8 4.8 7.2 10.3 7.2 16.8s-2.4 12-7.2 16.5l-125.6 126.1 125.6 123.6z"/></svg>
|
After Width: | Height: | Size: 728 B |
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="-223 25 512 512" enable-background="new -223 25 512 512"><style type="text/css">.st0{fill:#82B541;}</style><path class="st0" d="M-16.2 458.8c-2 1.6-4.3 2.6-6.8 2.6-2.6 0-4.8-1.1-6.8-2.6l-161.6-161.4c-3.6-3.6-3.6-10 0-13.7l66.5-66.5c3.6-3.6 10-3.6 13.7 0l88.1 88.6 202-202.5c3.6-3.6 10-3.6 13.7 0l66.5 66.5c3.6 3.6 3.6 10 0 13.7.2 0-275.3 275.3-275.3 275.3z"/></svg>
|
After Width: | Height: | Size: 439 B |
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="-223 25 512 512" enable-background="new -223 25 512 512"><style type="text/css">.st0{fill:#EFA506;}</style><path class="st0" d="M-16.4 109.7c-1.6-16.3 7.4-28.7 22.6-28.7h55.2c15.2 0 24.2 12.4 22.6 28.8l-24.3 211.6c-1.7 15.2-11.8 24.7-25.9 24.7s-24.2-9.6-25.9-24.7l-24.3-211.7zm50.1 273.7c28.1 0 48.9 20.8 48.9 47.9v1.1c0 27-20.8 47.9-48.9 47.9s-48.9-20.8-48.9-47.9v-1.1c0-27.1 20.8-47.9 48.9-47.9z"/></svg>
|
After Width: | Height: | Size: 480 B |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 9.0 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 9.0 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 63 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 9.6 KiB |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 122 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
|
@ -0,0 +1,729 @@
|
|||
<!DOCTYPE html><html lang="en" class="no-js"><head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="dns-prefetch" href="//s3.envato.com">
|
||||
<link rel="preload" href="https://public-assets.envato-static.com/assets/generated_sprites/logos-6f8a015ab6d9602102f6c4dde38bf1a128f2647f20b76023c4793c2d3d86e57c.png" as="image">
|
||||
<link rel="preload" href="https://public-assets.envato-static.com/assets/generated_sprites/common-14f8bc60470b39265fe5c01e92035209bd04b91cd7da99d59ca3ccd9de5eac62.png" as="image">
|
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<title>Vice: Underground Music Elementor WordPress Theme Preview - ThemeForest</title>
|
||||
<meta name="description" content="<h2>VICE 2 IS OUT!</h2>
|
||||
<h4>The most stunning WordPress theme for underground ...">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
|
||||
<meta name="turbo-visit-control" content="reload">
|
||||
|
||||
<link rel="stylesheet" media="all" href="css/index-561c1c3498ed5705aa04b15c2dc5448a95841e761310eead440dd49670ab13e0.css">
|
||||
<link rel="stylesheet" media="all" href="css/index-701cd44de39ff0d37f7a6131f450d601714d003063f036644d3a46fcf0c98246.css">
|
||||
|
||||
<link rel="apple-touch-icon-precomposed" type="image/x-icon" href="images/apple-touch-icon-72x72-precomposed.png" sizes="72x72">
|
||||
<link rel="apple-touch-icon-precomposed" type="image/x-icon" href="images/apple-touch-icon-114x114-precomposed.png" sizes="114x114">
|
||||
<link rel="apple-touch-icon-precomposed" type="image/x-icon" href="images/apple-touch-icon-144x144-precomposed.png" sizes="144x144">
|
||||
<link rel="apple-touch-icon-precomposed" type="image/x-icon" href="images/apple-touch-icon-precomposed.png">
|
||||
|
||||
<script src="js/index-035ff784e41698221f4fc39bbe73ec33abbf89fcff76b6b77ca0e90e3f0a54e1.js" nonce="rV4Vwvyq8VkO+qDKDv4w0Q=="></script>
|
||||
|
||||
<script nonce="rV4Vwvyq8VkO+qDKDv4w0Q==">
|
||||
//<![CDATA[
|
||||
//function to fix height of iframe!
|
||||
var calcHeight = function() {
|
||||
var headerDimensions = $('.preview__header').height();
|
||||
$('.full-screen-preview__frame').height($(window).height() - headerDimensions);
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
calcHeight();
|
||||
});
|
||||
|
||||
$(window).resize(function() {
|
||||
calcHeight();
|
||||
}).load(function() {
|
||||
calcHeight();
|
||||
});
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body class="full-screen-preview">
|
||||
<div class="preview__header" data-view="ctaHeader" data-item-id="10067870">
|
||||
<div class="preview__envato-logo">
|
||||
<a class="header-envato_market" href="https://themeforest.net/item/vice-music-band-dj-and-radio-wordpress-theme/10067870">Envato Market</a>
|
||||
</div>
|
||||
|
||||
<div id="js-preview__actions" class="preview__actions">
|
||||
<div class="preview__action--buy">
|
||||
<a class="header-buy-now e-btn--3d -color-primary" href="https://themeforest.net/checkout/from_item/10067870?license=regular&support=bundle_6month">Buy now</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<iframe class="full-screen-preview__frame" src="https://vice.qantumthemes.xyz/dhrk/" name="preview-frame" frameborder="0" noresize="noresize" data-view="fullScreenPreview" allow="geolocation 'self'; autoplay 'self'">
|
||||
</iframe>
|
||||
|
||||
|
||||
<script nonce="rV4Vwvyq8VkO+qDKDv4w0Q==">
|
||||
//<![CDATA[
|
||||
$(function(){viewloader.execute(Views);});
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<div id="affiliate-tracker" class="is-hidden" data-view="affiliatesTracker" data-cookiebot-enabled="true"></div>
|
||||
|
||||
<script src="js/uc.js" data-cbid="4a6af4ea-f614-41d8-b0a9-8bb6d7fe4799" async="async" id="Cookiebot" nonce="rV4Vwvyq8VkO+qDKDv4w0Q=="></script>
|
||||
|
||||
|
||||
<script nonce="rV4Vwvyq8VkO+qDKDv4w0Q==">
|
||||
//<![CDATA[
|
||||
var ACCOUNTS = ["m"];
|
||||
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||
|
||||
var consentCookie = getCookie('CookieConsent');
|
||||
|
||||
if (consentCookie) {
|
||||
var hasConsent = Market.Helpers.CookieConsent.given('statistics');
|
||||
|
||||
if (hasConsent) {
|
||||
setupGoogleAnalytics();
|
||||
loadGoogleAnalytics();
|
||||
loadClickTracker();
|
||||
loadLinkingForAllAccounts();
|
||||
}
|
||||
} else {
|
||||
setupGoogleAnalytics();
|
||||
loadGoogleAnalytics();
|
||||
loadClickTracker();
|
||||
loadLinkingForAllAccounts();
|
||||
}
|
||||
|
||||
window.addEventListener('CookiebotOnAccept', handleCookiebotAcceptDeclineEvent, false);
|
||||
window.addEventListener('CookiebotOnDecline', handleCookiebotAcceptDeclineEvent, false);
|
||||
removeOldExperimentCookies();
|
||||
trimGacUaCookies();
|
||||
|
||||
function removeOldExperimentCookies() {
|
||||
let cookies = document.cookie.split('; ');
|
||||
for (let i in cookies) {
|
||||
let [cookieName, cookieVal] = cookies[i].split('=', 2);
|
||||
if (cookieName.startsWith('market_experiment_')) {
|
||||
$.removeCookie(cookieName, { path: '/', domain: '.' + window.location.host });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function trimGacUaCookies() {
|
||||
// Trim the list of gac cookies and only leave the most recent ones. This
|
||||
// prevents rejecting the request later on when the cookie size grows larger
|
||||
// than nginx buffers.
|
||||
let maxCookies = 15;
|
||||
var gacCookies = [];
|
||||
|
||||
let cookies = document.cookie.split('; ');
|
||||
for (let i in cookies) {
|
||||
let [cookieName, cookieVal] = cookies[i].split('=', 2);
|
||||
if (cookieName.startsWith('_gac_UA')) {
|
||||
gacCookies.push([cookieName, cookieVal]);
|
||||
}
|
||||
}
|
||||
|
||||
if (gacCookies.length <= maxCookies)
|
||||
return;
|
||||
|
||||
gacCookies.sort((a, b) => { return (a[1] > b[1] ? -1 : 1); });
|
||||
|
||||
for (let i in gacCookies) {
|
||||
if (i < maxCookies) continue;
|
||||
$.removeCookie(gacCookies[i][0], { path: '/', domain: '.' + window.location.host });
|
||||
}
|
||||
}
|
||||
|
||||
function handleCookiebotAcceptDeclineEvent() {
|
||||
if (Cookiebot.consent.statistics) {
|
||||
if (!(window.ga && ga.create)) {
|
||||
setupGoogleAnalytics();
|
||||
loadGoogleAnalytics();
|
||||
loadClickTracker();
|
||||
loadLinkingForAllAccounts();
|
||||
}
|
||||
} else {
|
||||
unloadGoogleAnalytics()
|
||||
}
|
||||
|
||||
if (!consentToExperimentsEnrollmentGiven()) {
|
||||
unenrollFromExperiments();
|
||||
}
|
||||
}
|
||||
|
||||
function getCookie(name) {
|
||||
var name = name + "=";
|
||||
var decodedCookie = decodeURIComponent(document.cookie);
|
||||
var cookieContent = decodedCookie.split(';');
|
||||
|
||||
for(var i = 0; i <cookieContent.length; i++) {
|
||||
var c = cookieContent[i];
|
||||
|
||||
while (c.charAt(0) == ' ') {
|
||||
c = c.substring(1);
|
||||
}
|
||||
|
||||
if (c.indexOf(name) == 0) {
|
||||
return c.substring(name.length, c.length);
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function delete_cookie_by_name(name) {
|
||||
document.cookie = name + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
|
||||
}
|
||||
|
||||
function unloadGoogleAnalytics() {
|
||||
var payload = {"name":"m","allowLinker":true};
|
||||
var accountId = "UA-11834194-7";
|
||||
|
||||
// Set the GA User Opt-out flag
|
||||
window['ga-disable-'+accountId] = true;
|
||||
|
||||
// Do not explicitly make any further calls to ga()
|
||||
ga(payload.name+".remove");
|
||||
|
||||
// Delete any existing GA cookies (_ga, _gat & _gaid) and GA Client ID from localStorage
|
||||
delete_cookie_by_name('_ga');
|
||||
delete_cookie_by_name('_gat');
|
||||
delete_cookie_by_name('_gid');
|
||||
|
||||
// Delete LocalStorage Entries
|
||||
if (Market.Helpers.GaLsUtils.localStorageAvailable()) {
|
||||
var clientId = Market.Helpers.GaLsUtils.getClientId();
|
||||
|
||||
if (!clientId) {
|
||||
return;
|
||||
}
|
||||
|
||||
Market.Helpers.GaLsUtils.removeClientId();
|
||||
}
|
||||
|
||||
// Do not transmit the Client ID to other sites upon navigation (i.e. autoLink)
|
||||
}
|
||||
|
||||
function domLoaded() {
|
||||
return new Promise(resolve => {
|
||||
if (
|
||||
document.readyState === 'interactive' ||
|
||||
document.readyState === 'complete'
|
||||
) {
|
||||
resolve()
|
||||
} else {
|
||||
document.addEventListener(
|
||||
'DOMContentLoaded',
|
||||
() => {
|
||||
resolve()
|
||||
},
|
||||
{
|
||||
capture: true,
|
||||
once: true,
|
||||
passive: true
|
||||
}
|
||||
)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
function consentToExperimentsEnrollmentGiven () {
|
||||
return Market.Helpers.CookieConsent.given('preferences') && Market.Helpers.CookieConsent.given('statistics');
|
||||
}
|
||||
|
||||
function unenrollFromExperiments() {
|
||||
var experimentCookieNames = [
|
||||
'market_experiments',
|
||||
'mk_ex',
|
||||
'meqc',
|
||||
'meqc2',
|
||||
'meqc3'
|
||||
]
|
||||
|
||||
var deletedCookies = [];
|
||||
|
||||
_.each(experimentCookieNames, function(cookieName) {
|
||||
if ($.cookie(cookieName)) {
|
||||
$.removeCookie(cookieName, { path: '/', domain: '.' + window.location.host });
|
||||
deletedCookies.push(cookieName);
|
||||
}
|
||||
});
|
||||
for (var i = 0; i < ACCOUNTS.length; i++) {
|
||||
var t = ACCOUNTS[i];
|
||||
if(deletedCookies.length > 0) {
|
||||
ga(t+'.set', "exp", null);
|
||||
ga(t+'.set', "dimension21", null);
|
||||
ga(t+'.set', "dimension22", null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function setExperimentEnrollments(experimentEnrolmentsDataString) {
|
||||
for (var i = 0; i < ACCOUNTS.length; i++) {
|
||||
var t = ACCOUNTS[i];
|
||||
var cookieValue = $.cookie('mk_ex');
|
||||
if (cookieValue && cookieValue.replace(/\*/g, '!') === experimentEnrolmentsDataString) {
|
||||
ga(t+'.set', "exp", experimentEnrolmentsDataString);
|
||||
ga(t+'.set', "dimension21", experimentEnrolmentsDataString);
|
||||
ga(t+'.set', "dimension22", experimentEnrolmentsDataString);
|
||||
} else {
|
||||
ga(t+'.set', "exp", null);
|
||||
ga(t+'.set', "dimension21", null);
|
||||
ga(t+'.set', "dimension22", null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function loadLinkingForAllAccounts() {
|
||||
domLoaded().then(() => {
|
||||
window._envGaTrackerNames = ACCOUNTS;
|
||||
|
||||
for (var i = 0; i < ACCOUNTS.length; i++) {
|
||||
var t = ACCOUNTS[i];
|
||||
|
||||
ga(t+'.require', 'linker');
|
||||
|
||||
ga(t+'.require', 'linkid', 'linkid.js');
|
||||
};
|
||||
|
||||
document.body.addEventListener('click', function(event) {
|
||||
decorateLink(event);
|
||||
});
|
||||
document.body.addEventListener('contextmenu', function(event) {
|
||||
// Aside from a normal click, we need to handle the variety of ways users
|
||||
// can open a link in a new tab
|
||||
// Right click to open context menu
|
||||
decorateLink(event);
|
||||
});
|
||||
document.body.addEventListener('mousedown', function(event) {
|
||||
// Aside from a normal click, we need to handle the variety of ways users
|
||||
// can open a link in a new tab
|
||||
// Middle mouse button click
|
||||
if (event.button === 1) {
|
||||
decorateLink(event);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function decorateLink(event) {
|
||||
|
||||
window._envGaTrackerNames = ACCOUNTS;
|
||||
|
||||
var currentTarget = jQuery(event.target);
|
||||
var link = currentTarget.closest('a')[0];
|
||||
var ourDomains = ["activeden.net","audiojungle.net","themeforest.net","videohive.net","graphicriver.net","3docean.net","codecanyon.net","photodune.net","market.styleguide.envato.com","elements.envato.com","build.envatohostedservices.com","author.envato.com","tutsplus.com","sites.envato.com","account.envato.com","forums.envato.com"];
|
||||
var filteredDomains = ourDomains.filter(function(domain) {
|
||||
return domain !== document.location.hostname;
|
||||
});
|
||||
|
||||
for (var i = 0; i < ACCOUNTS.length; i++) {
|
||||
var t = ACCOUNTS[i];
|
||||
|
||||
if (link && link.href) {
|
||||
if (filteredDomains.includes(link.hostname) || currentSiteLinkOpensInNewWindow(link)) {
|
||||
ga(t+'.linker:decorate', link)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function currentSiteLinkOpensInNewWindow(link) {
|
||||
return document.location.hostname === link.hostname && link.target === '_blank';
|
||||
}
|
||||
|
||||
function setupGoogleAnalytics() {
|
||||
(function () {
|
||||
var accountId = "UA-11834194-7";
|
||||
window['ga-disable-'+accountId] = false;
|
||||
|
||||
var options = {"name":"m","allowLinker":true};
|
||||
|
||||
if (Market.Helpers.GaLsUtils.localStorageAvailable()) {
|
||||
if (Market.Helpers.GaLsUtils.clientIdNotPresent()) {
|
||||
options.clientId = Market.Helpers.GaLsUtils.retrieveClientId();
|
||||
}
|
||||
|
||||
ga("create", accountId, options);
|
||||
ga(function() {
|
||||
var tracker = ga.getByName(options.name);
|
||||
Market.Helpers.GaLsUtils.storeClientId(tracker.get('clientId'));
|
||||
for (var i = 0; i < ACCOUNTS.length; i++) {
|
||||
var t = ACCOUNTS[i];
|
||||
ga(t+'.set', 'dimension18', Market.Helpers.GaLsUtils.retrieveClientId())
|
||||
}
|
||||
})
|
||||
} else {
|
||||
ga("create", accountId, options);
|
||||
}
|
||||
|
||||
window._envGaTrackerNames = ACCOUNTS;
|
||||
|
||||
for (var i = 0; i < ACCOUNTS.length; i++) {
|
||||
var t = ACCOUNTS[i];
|
||||
|
||||
ga(t+'.require', "GTM-5VPWWP");
|
||||
|
||||
ga(t+'.require', 'ec');
|
||||
|
||||
ga(t+'.require', 'displayfeatures');
|
||||
|
||||
ga(t+'.set', 'dimension20', 'other')
|
||||
|
||||
var itemPageIdMatch = window.location.pathname.match(/^\/item\/[a-z-]+\/(?:reviews\/)?(\d+)(?:\/comments|\/support)?$/);
|
||||
if (itemPageIdMatch) {
|
||||
// Fetch item ID from path
|
||||
var itemId = itemPageIdMatch[1];
|
||||
ga(t+'.set', 'dimension23', itemId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!getCookie('CookieConsent') || consentToExperimentsEnrollmentGiven()) {
|
||||
var experimentEnrolmentsDataString = ""
|
||||
setExperimentEnrollments(experimentEnrolmentsDataString);
|
||||
}
|
||||
|
||||
if ('') {
|
||||
ga(t+'.send', {
|
||||
hitType: 'pageview',
|
||||
page: ''
|
||||
});
|
||||
} else if ('') {
|
||||
// append the analytics_suffix to the page path so the flash alert/error type can be tracked
|
||||
var analyticsSuffix = $.trim('').replace(/([A-Z])/g, '$1').replace(/[-_\s]+/g, '-').toLowerCase();
|
||||
var uri = URI(window.location.pathname + window.location.search);
|
||||
uri.path(uri.path() + '/' + analyticsSuffix);
|
||||
var tracking_path = uri.path() + uri.search();
|
||||
ga(t+'.send', {
|
||||
hitType: 'pageview',
|
||||
page: tracking_path,
|
||||
});
|
||||
} else {
|
||||
ga(t+'.send', 'pageview');
|
||||
}
|
||||
}
|
||||
|
||||
loadLinkingForAllAccounts()
|
||||
}());
|
||||
}
|
||||
|
||||
function loadGoogleAnalytics() {
|
||||
(function () {
|
||||
|
||||
var s=document.createElement('script');
|
||||
s.type='text/javascript';
|
||||
s.async=true;
|
||||
s.src='https://www.google-analytics.com/analytics.js';
|
||||
var x=document.getElementsByTagName('script')[0];
|
||||
x.parentNode.insertBefore(s,x);
|
||||
}());
|
||||
}
|
||||
|
||||
function loadClickTracker() {
|
||||
$('body').click( function (e) {
|
||||
sendStandardEvent(e.target, { eventType: 'click' });
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
var accountId = "UA-38318996-2";
|
||||
|
||||
var options = {
|
||||
name: "author_analytics",
|
||||
allowLinker: true,
|
||||
alwaysSendReferrer: true,
|
||||
cookieDomain: "auto",
|
||||
};
|
||||
|
||||
if (Market.Helpers.GaLsUtils.localStorageAvailable()) {
|
||||
if (Market.Helpers.GaLsUtils.clientIdNotPresent()) {
|
||||
options.clientId = Market.Helpers.GaLsUtils.retrieveClientId();
|
||||
}
|
||||
|
||||
ga("create", accountId, options);
|
||||
} else {
|
||||
ga("create", accountId, options);
|
||||
}
|
||||
|
||||
|
||||
ga("author_analytics.send", "pageview");
|
||||
|
||||
|
||||
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
<script src="js/standardised_google_analytics_helpers-2b8a6fa27e72433b3f73ec0da6207cd6ba4198dcef039d50f0c7af222f3d8c30.js" nonce="rV4Vwvyq8VkO+qDKDv4w0Q=="></script>
|
||||
|
||||
|
||||
|
||||
<script nonce="rV4Vwvyq8VkO+qDKDv4w0Q==">
|
||||
//<![CDATA[
|
||||
|
||||
if (typeof Cookiebot !== 'undefined' && Cookiebot.consent && Cookiebot.consent.statistics ) {
|
||||
enableGoogleAnalyticsLinkWrapper();
|
||||
} else {
|
||||
window.addEventListener('CookiebotOnAccept', function (e) {
|
||||
if (Cookiebot.consent.statistics) {
|
||||
enableGoogleAnalyticsLinkWrapper();
|
||||
}
|
||||
}, false);
|
||||
}
|
||||
|
||||
function enableGoogleAnalyticsLinkWrapper() {
|
||||
// GA: universal analytics link wrapper
|
||||
(function(){
|
||||
window._envTrkrs = [["m", "UA-11834194-7"]];
|
||||
|
||||
var debug = false;
|
||||
var MAX_RETRIES = 10;
|
||||
|
||||
/*
|
||||
The script needs to wait until the Analytics script
|
||||
has been downloaded from Google before initializing
|
||||
*/
|
||||
var waitForAnalytics = function(){
|
||||
this.count = this.count || 0;
|
||||
|
||||
if (window.ga && ga.getByName) {
|
||||
e.init();
|
||||
} else {
|
||||
if (count < MAX_RETRIES) { setTimeout(waitForAnalytics, 250); }
|
||||
count++;
|
||||
}
|
||||
};
|
||||
|
||||
var e = {
|
||||
_envArray: [],
|
||||
_envTrkrs: (window._envTrkrsCust && window._envTrkrsCust.length) ? window._envTrkrs.concat(window._envTrkrsCust) : window._envTrkrs,
|
||||
init: function() {
|
||||
for (var i=0; i < _envTrkrs.length; i++) {
|
||||
var name = _envTrkrs[i][0];
|
||||
|
||||
if (!ga.getByName(name)) {
|
||||
var accountId = _envTrkrs[i][1];
|
||||
|
||||
var options = {
|
||||
name: name,
|
||||
allowLinker: true,
|
||||
cookieDomain: "auto",
|
||||
};
|
||||
|
||||
if (Market.Helpers.GaLsUtils.localStorageAvailable()) {
|
||||
if (Market.Helpers.GaLsUtils.clientIdNotPresent()) {
|
||||
options.clientId = Market.Helpers.GaLsUtils.retrieveClientId();
|
||||
}
|
||||
|
||||
ga("create", accountId, options);
|
||||
} else {
|
||||
ga("create", accountId, options);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function(){
|
||||
e.wrapperInit();
|
||||
});
|
||||
|
||||
if (debug) {console.log('Initiated');}
|
||||
},
|
||||
wrapperInit: function() {
|
||||
if (typeof window._envIsRunning != 'undefined' || window._envIsRunning == true) {
|
||||
return
|
||||
}
|
||||
window._envIsRunning = true;
|
||||
|
||||
if (document.addEventListener) {
|
||||
document.addEventListener('click', function(event){
|
||||
var target = event.target;
|
||||
if (target && target.tagName === 'A') {
|
||||
e._envLinksTracker(event);
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
isInArray: function(e, t) {
|
||||
for (var n = 0; n < t.length; n++) {
|
||||
var r = new RegExp(t[n], 'i');
|
||||
if (r.test(e)) {
|
||||
return n
|
||||
}
|
||||
}
|
||||
return -1
|
||||
},
|
||||
_envTrackevent: function(e, t, n, r) {
|
||||
for (var i = 0; i < this._envTrkrs.length; i++) {
|
||||
var s = this._envTrkrs[i][0].length == 0 ? '' : this._envTrkrs[i][0] + '.';
|
||||
r.length == 0 ? ga(s + 'send', 'event', e, t, n) : ga(s + 'send', 'event', e, t, n, r)
|
||||
}
|
||||
},
|
||||
_envTrackpageview: function(e, t) {
|
||||
t = t.charAt(0) == '/' ? t : '/' + t;
|
||||
for (var n = 0; n < this._envTrkrs.length; n++) {
|
||||
var r = this._envTrkrs[n][0].length == 0 ? '' : this._envTrkrs[n][0] + '.';
|
||||
ga(r + 'send', 'pageview', e + t);
|
||||
}
|
||||
},
|
||||
_envLinksTracker: function(t) {
|
||||
var r = false;
|
||||
var i = {
|
||||
outbound: {
|
||||
run: true,
|
||||
useEvent: true
|
||||
},
|
||||
download: {
|
||||
run: true,
|
||||
useEvent: true,
|
||||
reg: ''
|
||||
},
|
||||
self: {
|
||||
run: false,
|
||||
useEvent: true
|
||||
},
|
||||
mail: {
|
||||
run: true,
|
||||
useEvent: true
|
||||
},
|
||||
ext: /\.(doc.?|xls.?|ppt.?|exe|zip|rar|gz|tar|tgz|dmg|csv|pdf|xpi|txt|mp3)$/i
|
||||
};
|
||||
var s = t.srcElement ? t.srcElement : this;
|
||||
if (t.srcElement) {
|
||||
r = true
|
||||
}
|
||||
while (s.tagName != 'A') {
|
||||
s = s.parentNode
|
||||
}
|
||||
if (s.href == undefined || s.href == null) {
|
||||
return true
|
||||
}
|
||||
var o = s.href;
|
||||
if (o.length == 0) return;
|
||||
var u = s.hostname.toLowerCase();
|
||||
var a = s.pathname;
|
||||
if (a.length == 0) {
|
||||
a = '/'
|
||||
} else if (a.substr(0, 1) != '/') {
|
||||
a = '/' + a
|
||||
}
|
||||
var f = s.protocol;
|
||||
var l = s.search;
|
||||
var c = location.hostname;
|
||||
c = c.replace(/^www\./i, '').toLowerCase();
|
||||
u = u.replace(/^www\./i, '').toLowerCase();
|
||||
if (o.match(/^#/)) {
|
||||
if (i.self.run) {
|
||||
i.self.useEvent ? e._envTrackevent('self', 'click - ' + c, o, '') : e._envTrackpageview('/virtual/self', '/' + o);
|
||||
return true
|
||||
}
|
||||
} else if (f.match(/^mailto:/i)) {
|
||||
if (i.mail.run) {
|
||||
o = o.replace(/^mailto:/i, '');
|
||||
i.mail.useEvent ? e._envTrackevent('mailto', 'click - ' + c, o, '') : e._envTrackpageview('/virtual/mailto', o);
|
||||
return true
|
||||
}
|
||||
} else if ((new RegExp(i.ext)).test(a)) {
|
||||
if (i.download.run) {
|
||||
o = o.replace(/^https?:\/\//i, '');
|
||||
i.download.useEvent ? e._envTrackevent('download', 'click - ' + c, o, '') : e._envTrackpageview('/virtual/download', o);
|
||||
return true
|
||||
}
|
||||
} else if (u == undefined || u.length == 0 || f.match(/^javascript:/i)) {
|
||||
return
|
||||
} else if ((new RegExp(c + '$', 'i')).test(u) || (new RegExp(u + '$', 'i')).test(c)) {
|
||||
if (i.download.run && i.download.reg.length != 0) {
|
||||
if ((new RegExp(i.download.reg, 'i')).test(a + l)) {
|
||||
o = o.replace(/^https?:\/\//i, '');
|
||||
i.download.useEvent ? e._envTrackevent('download', 'click - ' + c, o, '') : e._envTrackpageview('/virtual/download', o);
|
||||
return true
|
||||
}
|
||||
}
|
||||
} else if (u != c) {
|
||||
if (e.isInArray(u, e._envArray) == -1) {
|
||||
if (i.outbound.run) {
|
||||
i.outbound.useEvent ? e._envTrackevent('outbound', 'click - ' + c, u + a + l, '') : e._envTrackpageview('/virtual/outbound', u + a);
|
||||
return true
|
||||
}
|
||||
} else if (e.isInArray(u, e._envArray) != -1) {
|
||||
var h = s.target;
|
||||
if (h != null && h == '_blank') {
|
||||
if ((new RegExp(/_utma=/)).test(l)) {
|
||||
return true
|
||||
}
|
||||
var p = e._envTrkrs[0][0].length == 0 ? '' : _envTrkrs[0][0] + '.';
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
waitForAnalytics();
|
||||
})()
|
||||
}
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<script nonce="rV4Vwvyq8VkO+qDKDv4w0Q==">
|
||||
//<![CDATA[
|
||||
// Set Datadog custom attributes
|
||||
(function () {
|
||||
if (typeof window.datadog_attributes != 'object')
|
||||
window.datadog_attributes = {}
|
||||
window.datadog_attributes['pageType'] = 'other'
|
||||
|
||||
// Log experiment enrolment
|
||||
var experiment_data_string = "" + "!"
|
||||
window.datadog_attributes['experiments'] = experiment_data_string
|
||||
})()
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<script nonce="rV4Vwvyq8VkO+qDKDv4w0Q==">
|
||||
//<![CDATA[
|
||||
if (typeof Cookiebot !== 'undefined' && Cookiebot.consent && Cookiebot.consent.marketing) {
|
||||
enableGoogleTagManager();
|
||||
} else {
|
||||
window.addEventListener('CookiebotOnAccept', function (e) {
|
||||
if (Cookiebot.consent.marketing) {
|
||||
enableGoogleTagManager();
|
||||
}
|
||||
}, false);
|
||||
}
|
||||
|
||||
function enableGoogleTagManager() {
|
||||
var gtmId = 'GTM-585RXMV';
|
||||
// Google Tag Manager Tracking Code
|
||||
(function(w,d,s,l,i) {
|
||||
w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||
new Date().getTime(),event:'gtm.js'});
|
||||
var f=d.getElementsByTagName(s)[0],
|
||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';
|
||||
j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;
|
||||
f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer',gtmId);
|
||||
|
||||
|
||||
window.addEventListener('load', function() {
|
||||
window.dataLayer.push({
|
||||
event: 'pinterestReady'
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1 @@
|
|||
!function(){const e=$("*[data-analytics-page-id]").data("analyticsPageId"),a=(a,n)=>{const t=$(a).closest("[data-analytics-element-id]"),o=t.data("analyticsElementId"),i=t.data("analyticsElementLabel"),d=$(t.parents("[data-analytics-section-id]")).data("analyticsSectionId"),s=t.prop("nodeName")&&t.prop("nodeName").toLowerCase();return Object.assign({sectionId:d,elementId:o,elementLabel:i,tagName:s,pageId:e},n)};window.sendStandardEvent=(e,n)=>{const{elementId:t,elementLabel:o,elementPosition:i,eventType:d,pageId:s,sectionId:l,sectionLabel:c,sectionPosition:m,tagName:r}=a(e,n);if(s&&l&&t&&d&&window.ga&&window._envGaTrackerNames)for(const e of window._envGaTrackerNames)ga(`${e}.send`,{hitType:"event",eventCategory:[l,c].filter(Boolean).join(";"),eventAction:[d,r].filter(Boolean).join(";"),eventLabel:[t,o].filter(Boolean).join(";"),eventValue:i,dimension15:m,dimension20:s})}}();
|