Skip to content

Commit

Permalink
Merge pull request #32 from CrazyTapok-bit/develop
Browse files Browse the repository at this point in the history
Add Monetag zone
  • Loading branch information
CrazyTapok-bit authored May 5, 2024
2 parents 3077549 + 6ca8878 commit 4de146d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/.vuepress/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ const PRODUCTION = true ?? process.env.PRODUCTION
const GTAG = process.env.GTAG
const ADSENSE = process.env.ADSENSE
const MONETAG = "6f9bca78ef751283975bfdda408ebda7"
const MONETAG_ZONE = 63500

const IS_GTAG = PRODUCTION && GTAG
const IS_ADSENSE = false // PRODUCTION && ADSENSE
const IS_MONETAG = PRODUCTION && MONETAG
const IS_MONETAG_ZONE = PRODUCTION && MONETAG_ZONE

// Google tag (gtag.js)
if (IS_GTAG) head.push([
Expand Down Expand Up @@ -41,6 +43,15 @@ if (IS_MONETAG) head.push([
content: MONETAG
}
])

if (IS_MONETAG_ZONE) head.push([
"script", {
src: "https://alwingulla.com/88/tag.min.js",
"data-zone": MONETAG_ZONE,
"data-cfasync": false,
async: true
}
])
// End Monetag

export default head

0 comments on commit 4de146d

Please sign in to comment.