Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[878] ga_adapter #241

Merged
merged 4 commits into from
Jul 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
lib/countly.min.js
lib/countly.pack.js
plugin/boomerang/boomerang.min.js
plugin/ga_adapter
examples/react
examples/symbolication
node_modules
Expand Down
10 changes: 8 additions & 2 deletions plugin/ga_adapter/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ Countly.q.push(['track_pageview']);
</script>
```

### 2. Change your Google Analytics integration code like below
### 2. Declare your plugin's script after integrating Countly

```js
<script src="../plugin/ga_adapter/ga_adapter.js"></script>
```

### 3. Change your Google Analytics integration code like below

```js
<script>
Expand All @@ -69,4 +75,4 @@ ga('send','pageview','page.html');
</script>
```

That's all. Now you can track your app from your Countly instance too.
That's all. Now you can track your app from your Countly instance too. You can check examples folder for an implementation example.
Loading