Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
foresight
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
libraries
foresight
Commits
19d055a1
Commit
19d055a1
authored
Jun 14, 2025
by
Chris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: update build files
parent
8a90679d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
foresight.js
dist/foresight.js
+7
-1
foresight.min.js
dist/foresight.min.js
+0
-0
No files found.
dist/foresight.js
View file @
19d055a1
...
@@ -239,7 +239,13 @@ var Foresight = /** @class */ (function () {
...
@@ -239,7 +239,13 @@ var Foresight = /** @class */ (function () {
return
window
[
'gtm'
](
__assign
(
__assign
({
'event'
:
data
.
action
,
'event_label'
:
data
.
label
,
'event_category'
:
data
.
category
,
'non_interaction'
:
!
data
.
interaction
},
data
.
metrics
),
data
.
dimensions
));
return
window
[
'gtm'
](
__assign
(
__assign
({
'event'
:
data
.
action
,
'event_label'
:
data
.
label
,
'event_category'
:
data
.
category
,
'non_interaction'
:
!
data
.
interaction
},
data
.
metrics
),
data
.
dimensions
));
}
}
if
(
typeof
window
[
'gtag'
]
===
'function'
)
{
if
(
typeof
window
[
'gtag'
]
===
'function'
)
{
return
window
[
'gtag'
](
'event'
,
data
.
action
,
__assign
(
__assign
(
__assign
(
__assign
(
__assign
({},
data
.
metrics
),
data
.
dimensions
),
(
data
.
label
?
{
label
:
data
.
label
}
:
{})),
(
data
.
category
?
{
category
:
data
.
category
}
:
{})),
{
'non_interaction'
:
!
data
.
interaction
}));
return
window
[
'gtag'
](
'event'
,
data
.
action
,
__assign
(
__assign
(
__assign
(
__assign
(
__assign
({},
data
.
metrics
),
data
.
dimensions
),
(
data
.
label
?
{
label
:
data
.
label
,
event_label
:
data
.
label
,
}
:
{})),
(
data
.
category
?
{
category
:
data
.
category
,
event_category
:
data
.
category
,
}
:
{})),
{
'non_interaction'
:
!
data
.
interaction
}));
}
}
if
(
typeof
window
[
'ga'
]
===
'function'
)
{
if
(
typeof
window
[
'ga'
]
===
'function'
)
{
return
window
[
'ga'
](
'send'
,
{
return
window
[
'ga'
](
'send'
,
{
...
...
dist/foresight.min.js
View file @
19d055a1
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment