Skip to content

Commit be34904

Browse files
authored
Merge pull request #229 from virtual-labs/gtm-analytics
Analytics Code Snippet Added
2 parents 16fd95d + 8a91f19 commit be34904

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

src/makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build-js-dir=${build-dir}/js
1414
theme=blue-icon
1515

1616

17-
all: help-dir
17+
all: patch-analytics help-dir
1818

1919
help-dir:
2020

@@ -28,3 +28,12 @@ clean:
2828
(find ${build-dir} -mindepth 1 -maxdepth 1 ! -name js -print0 | xargs -0n1 rm -rf)
2929

3030

31+
patch-analytics:
32+
git clone https://github.com/virtual-labs/vlabs-analytics.git
33+
cp vlabs-analytics/gtm-patcher.py ../scripts/.
34+
cp vlabs-analytics/patch-analytics.sh ../scripts/.
35+
chmod +x ../scripts/patch-analytics.sh
36+
../scripts/patch-analytics.sh
37+
rm -rf vlabs-analytics
38+
rm -rf ../scripts/patch-analytics.sh
39+
rm -rf ../scripts/gtm-patcher.py

0 commit comments

Comments
 (0)