This repository has been archived by the owner on Oct 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only create a tracker and fire a page view is config was passed
- Loading branch information
1 parent
accd796
commit f404556
Showing
2 changed files
with
16 additions
and
23 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f404556
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@metalshark I found this to be useful on a new site that I'm working on where I need many trackers.
I create a new file called foo.js and pass in all my tracker IDs to that. Then from within foo.js load in google and create a new tracker for each.
f404556
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thomaswelton nice one two fronts. 1) loading of the initial tracker is optional. 2) you are getting benefits from it on projects