Skip to content

Commit

Permalink
fix title on page view
Browse files Browse the repository at this point in the history
  • Loading branch information
un33k committed Jul 5, 2018
1 parent bcfc7fa commit 8b3f0e3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.0.1

BugFix:

- Route title

## 1.0.0

BugFix:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nwx/gtag",
"version": "1.0.0",
"version": "1.0.1",
"repository": {
"type": "git",
"url": "git+https://github.com/neekware/nwx-gtag.git"
Expand Down
2 changes: 1 addition & 1 deletion pkgs/gtag/src/gtag.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class GtagService {
switchMap(route => route.data),
map(data => get(data, 'title', this.options.appName)),
tap(title => {
this.trackPageView({ title });
this.trackPageView({ page_title: title });
})
)
.subscribe();
Expand Down

0 comments on commit 8b3f0e3

Please sign in to comment.