Skip to content

Commit

Permalink
Forgot to update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Val Kolovos committed Oct 16, 2014
1 parent 827b641 commit 746f702
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ Capture Cross-Domain
If you're hosting your djanalytics instance in a different domain than the site you're capturing,
you will need to use a slightly different mechanism. Set up djanalytics on your server, and ensure
it's got a url for the djanalytics_js view (included in the urls.py file). Then put the following
javascript in your templates:
HTML in your templates:

<script>
<div id="dja_tag"></div>
<script defer="defer">
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://dja_server.example.com/djanalytics.js' +
Expand Down

0 comments on commit 746f702

Please sign in to comment.