Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Add GTM Script #667

Open
wants to merge 62 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
41403ad
add .dockerignore file
paddie Oct 23, 2019
8455a3f
add naive dockerfile
paddie Oct 23, 2019
b0054e4
remove unused integration
Oct 23, 2019
e041eb7
package.json for /lib
Oct 23, 2019
9d00886
install lib dependencies too
Oct 23, 2019
f2bc34d
install each and integration-segmentio in lib
Oct 23, 2019
0fa0759
install browserify and add npm build scripts
Oct 23, 2019
e76a6ae
updated dockerfile
Oct 23, 2019
e19b22d
add prettier configuration file
Oct 24, 2019
4d068dc
update old package-lock, install webpack & babel, add scripts & presets
Oct 24, 2019
df27bef
remove unused dist files
Oct 24, 2019
ebd5f17
webpack dev and prod config
Oct 24, 2019
e80e2bb
lib package.json with correct deps
Oct 24, 2019
3abce35
updated integration with correct require
Oct 24, 2019
c9ab6cb
updated lib/index with correct require
Oct 24, 2019
7cfcda7
updated dockerfile allows build
Oct 24, 2019
c7bd267
Remove unused files
Oct 24, 2019
c4e1834
clean up config.yml
Oct 24, 2019
9979447
upload to new cdn with new GCLOUD SERVICE KEY
Oct 24, 2019
02683f2
fix
Oct 24, 2019
4017998
change path and name to dreamdata.min.js
Oct 24, 2019
c4c4acb
build with api.dreamdata.cloud as host
Oct 24, 2019
f837866
remove non existing version causing it to fallback to segment repo
Oct 24, 2019
99f4bc0
the right way
Oct 25, 2019
53d113d
Use version of analytics + 0.1.0
Oct 27, 2019
0e86b2a
remove deprecated each library from dependencies
Oct 27, 2019
22ee3d3
use for..in instead of "each" deprecated library
Oct 27, 2019
9499bda
gcloud --quiet flag & gsutil add 5min cache on upload
Oct 27, 2019
7e8d584
update .gitignore & remove bower.json
Oct 28, 2019
2b1cc1f
gcloud project_id variable
Oct 28, 2019
0c6ff64
updated package-lock's
Oct 28, 2019
b9f2cd5
use @dreamdata/analytics.js-core
Oct 28, 2019
17a68a9
webpack gzip on gcloud with content-encoding headers
Oct 28, 2019
3d55127
init scripts
Oct 28, 2019
d784b4c
Merge pull request #1 from dreamdata-io/build-analytics.js-in-circleci
Oct 31, 2019
45a02ff
updated package.json
Oct 31, 2019
53984b4
gsutil_bucket_path env var for cirleci
Oct 31, 2019
5b09979
Merge pull request #2 from dreamdata-io/add_bucket_var_cirleci
Oct 31, 2019
31203b1
install string-replace-loader devDep
Oct 31, 2019
8ca1b9f
build dev pointing to local enviroment
Oct 31, 2019
0f99a68
catch env protocol more precicely
Oct 31, 2019
4cf88a8
Merge pull request #3 from dreamdata-io/build_dev_analytics
Oct 31, 2019
09d5c01
Use cdn.dreamdata.cloud/api endpoint
przywartya Sep 3, 2020
8964f10
Update project and bucket path
przywartya Sep 3, 2020
ae660d8
Merge pull request #4 from dreamdata-io/new-api-endpoint
przywartya Sep 3, 2020
165a30f
Update path to old one
przywartya Sep 3, 2020
1ecf5b9
Merge pull request #5 from dreamdata-io/new-api-endpoint
przywartya Sep 3, 2020
8e0ca8d
Bump script version
przywartya Sep 4, 2020
216df32
Merge pull request #6 from dreamdata-io/new-api-endpoint
przywartya Sep 4, 2020
6a6158a
Release new script version
przywartya Sep 4, 2020
b9d934e
Merge pull request #7 from dreamdata-io/new-api-endpoint
przywartya Sep 4, 2020
979d34a
Change bucket
przywartya Sep 7, 2020
07f7551
Merge pull request #8 from dreamdata-io/new-api-endpoint
przywartya Sep 7, 2020
9d81181
Increate cache max age
przywartya Sep 8, 2020
a344112
Merge pull request #9 from dreamdata-io/new-api-endpoint
przywartya Sep 8, 2020
d07a1a0
Use https only
przywartya Sep 24, 2020
9cff096
Merge pull request #10 from dreamdata-io/https-only
przywartya Sep 24, 2020
5f8bdfa
Deploy production
przywartya Oct 13, 2020
a2b4abd
Deploy new analytics package version
przywartya Oct 13, 2020
993b7f6
Update init scripts for dreamdata analytics
przywartya Mar 31, 2021
0a71f45
Merge pull request #12 from dreamdata-io/app-201-refactor-analytics-load
przywartya Mar 31, 2021
691a2ed
Add GTM Script
agjs Feb 23, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use https only
  • Loading branch information
przywartya committed Sep 24, 2020
commit d07a1a036b2da4ed12249b51c1ddc2dc9b0bcd7c
4 changes: 1 addition & 3 deletions lib/init-script/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@
script.async = true;
script.id = 'dreamdata-analytics';
script.type = 'text/javascript';
script.src =
('https:' === document.location.protocol ? 'https://' : 'http://') +
'cdn.dreamdata.cloud/scripts/analytics/v1/dreamdata.min.js';
script.src = 'https://cdn.dreamdata.cloud/scripts/analytics/v1/dreamdata.min.js';
if (script.addEventListener) {
script.addEventListener(
'load',
Expand Down
2 changes: 1 addition & 1 deletion lib/init-script/init.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.