Skip to content

Commit 3afd22e

Browse files
author
Ed Costello
committed
DOCS375 modify url in google analytics tracking to match URL of error pages
1 parent 972d940 commit 3afd22e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/mongodb/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ <h3>{{ _('Navigation') }}</h3>
228228
_gaq.push(['_setAccount', 'UA-7301842-8']);
229229
_gaq.push(['_setDomainName', 'mongodb.org']);
230230
{%- if (pagename == "meta/401") or (pagename == "meta/403") or (pagename == "meta/404") or (pagename == "meta/410") %}
231-
_gaq.push(['_trackPageview', '/manual/{{pagename}}.html?page=' + document.location.pathname + document.location.search + '&from=' + document.referrer]);
231+
_gaq.push(['_trackPageview', '/manual/{{pagename}}/?page=' + document.location.pathname + document.location.search + '&from=' + document.referrer]);
232232
{%- else %}
233233
_gaq.push(['_trackPageview']);
234234
{%- endif %}

0 commit comments

Comments
 (0)