Skip to content

Commit 2947377

Browse files
committed
Update MixPanel JS functionality
1 parent 46e58ea commit 2947377

File tree

4 files changed

+6205
-4
lines changed

4 files changed

+6205
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"devDependencies": {
44
"gulp": ">=3.8.8",
55
"laravel-elixir": "^4.0.0",
6-
"mixpanel-browser": "^2.9.14"
6+
"mixpanel-browser": "*"
77
}
88
}

public/genealabs-laravel-mixpanel/js/mixpanel.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<script>
22
{!! file_get_contents(public_path('genealabs-laravel-mixpanel/js/mixpanel.js')) !!}
3+
mixpanel.init("{{ config('services.mixpanel.token') }}", {api_host: "https://api.mixpanel.com"});
34
</script>

0 commit comments

Comments
 (0)